Difference between revisions of "Template:Hat description winner"

From Team Fortress Wiki
Jump to: navigation, search
(Optimisation)
Line 1: Line 1:
<includeonly>{{!}} style="text-align: center;" {{!}} {{#if: {{{forumname|}}} | {{{forumname}}} }} {{!!}} style="text-align: center;" {{!}} {{#switch: {{{class|}}} | All class = {{lang
+
<includeonly>{{!}} style="text-align: center;" {{!}} {{#if: {{{forumname|}}} | {{{forumname}}} }} {{!!}} style="text-align: center;" {{!}} {{#if: {{{class|}}} | [[{{{class}}}{{if lang}}|{{class name|{{{class}}}}}]] }} {{!!}} style="text-align: center;" {{!}} {{#if: {{{hat|}}} | {{item icon|item={{{hat}}}|size=80px}}<br />[[{{{hat}}}{{if lang}}|{{hat name|{{{hat}}}}}]]}} {{!!}} style="text-align: center;" {{!}} {{#if: {{{description|}}} | {{{description}}} }} {{!!}} style="text-align: center;" {{!}} {{#if: {{{link|}}} | [http://forums.steampowered.com/forums/showpost.php?p={{{link}}} {{lang
  | en = All class
 
  | fr = Toutes les classes
 
  | it = Tutte le classi
 
  | ru = Все классы
 
  | sv = Alla Klasser
 
  }} | #default = [[{{{class}}}{{if lang}}|{{class name|{{{class}}}}}]] }} {{!!}} style="text-align: center;" {{!}} {{#if: {{{hat|}}} | {{item icon|item={{{hat}}}|size=80px}}<br />[[{{{hat}}}{{if lang}}|{{{hat-local|{{{hat}}}}}}]]}} {{!!}} style="text-align: center;" {{!}} {{#if: {{{description|}}} | {{{description}}} }} {{!!}} style="text-align: center;" {{!}} {{#if: {{{link|}}} | [http://forums.steampowered.com/forums/showpost.php?p={{{link}}} {{lang
 
 
   | en = Link
 
   | en = Link
 
   | it = Collegamento
 
   | it = Collegamento
Line 25: Line 19:
 
  | class      = Class the hat belongs to.
 
  | class      = Class the hat belongs to.
 
  | hat        = Hat name.
 
  | hat        = Hat name.
  |hat-local  = Non-English hat name.
 
 
  | description = Winning description.
 
  | description = Winning description.
 
  | link        = SPUF post id (the part after 'p=').
 
  | link        = SPUF post id (the part after 'p=').
 
}}
 
}}
 
</pre>
 
</pre>

Revision as of 18:41, 11 December 2010

Documentation for Hat description winner


This template is for use with the Hat Describing Contest page.

Syntax

{{hat description winner
 | forumname   = Name on Steam forum.
 | class       = Class the hat belongs to.
 | hat         = Hat name.
 | description = Winning description.
 | link        = SPUF post id (the part after 'p=').
}}