Level_list_entry.mw 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <includeonly>|-
  2. | [[Template:#if: {{{Screenshot|]]}
  3. | [[Image:[[Template:{Screenshot]]}|100px|Screenshot of level [[Template:{Name]]}]]
  4. | [[Template:#ifexist: Image:{{{Name]]}.png
  5. | [[Image:[[Template:{Name]]}.png|100px|Screenshot of level [[Template:{Name]]}]]
  6. | ''Not available''<br /><small>[[Media:[[Template:{Name]]}.png|(Add&nbsp;…)]]</small>
  7. }}
  8. }}
  9. | '''[[Template:{Name]]}'''<br /><!--
  10. -->[[Template:#if: {{{Description|]]}
  11. | [[Template:{Description]]}
  12. | ''No description available.''
  13. }}
  14. | [[Template:#if: {{{Difficulty|]]}
  15. | [[Template:Difficulty | {{{Difficulty]]} }}
  16. | ''unknown''
  17. }}
  18. | [[Template:#if: {{{Length|]]}
  19. | [[Template:Level length | 1={{{Length]]} }} <!-- hack: only strings to named arguments are trimmed (leading and trailing whitespace is removed. -->
  20. | ''unknown''
  21. }}
  22. | [[Template:#if: {{{Contributor|]]} | [[Template:{Contributor]]} | [[Team|''SuperTux'' team]] }}</includeonly><noinclude>The '''Level list entry''' template inserts information about a level into a level listing.
  23. == Usage ==
  24. <nowiki>{{</nowiki>Level list entry
  25. | Name=''name_of_level''
  26. | Description=''description''
  27. | Contributor=''name_of_contributor'' &lt;!-- (optional; default: ''SuperTux'' team) --&gt;
  28. | Screenshot=''screenshot.png'' &lt;!-- (optional; default: ''Name''.png) --&gt;
  29. | Difficulty=easy|medium|hard &lt;!-- (optional) --&gt;
  30. | Length=''n tiles'' &lt;!-- (optional) --&gt;
  31. <nowiki>}}</nowiki>
  32. == See also ==
  33. * [[Template:Level list begin]]
  34. * [[Template:Level list end]]
  35. [[Category:Templates]]
  36. </noinclude>