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;" {{!}} {{#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
+
<includeonly>{{!}} style="text-align: center;" {{!}} {{#if: {{{forumname|}}} | {{{forumname}}} }} {{!!}} style="text-align: center;" {{!}} {{#switch: | All class = {{{class|{{class name|All classes}} | #default [[{{{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 = Link
 
   | en = Link
 
   | it = Collegamento
 
   | it = Collegamento

Revision as of 18:46, 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=').
}}