Difference between revisions of "Template:Hat description winner"
m (French language added.) |
Moussekateer (talk | contribs) m (Just trying something) |
||
Line 3: | Line 3: | ||
| fr = Toutes les classes | | fr = Toutes les classes | ||
| ru = Все классы | | ru = Все классы | ||
− | }} | #default = [[{{{class}}}{{if lang}}|{{class name|{{{class}}}}}]] }} {{!!}} style="text-align: center;" {{!}} {{#if: {{{hat|}}} | [[Image:Backpack_{{{hat}}}.png|80px|frameless|link={{{hat}}}{{if lang}}]]<br>[[{{{hat}}}]] }} {{!!}} style="text-align: center;" {{!}} {{#if: {{{description|}}} | {{{description}}} }} {{!!}} style="text-align: center;" {{!}} {{#if: {{{link|}}} | [http://forums.steampowered.com/forums/showpost.php?p={{{link}}} {{lang | + | }} | #default = [[{{{class}}}{{if lang}}|{{class name|{{{class}}}}}]] }} {{!!}} style="text-align: center;" {{!}} {{#if: {{{hat|}}} | [[Image:Backpack_{{{hat}}}.png|80px|frameless|link={{{hat}}}{{if lang}}]]<br>[[{{#if:{{{hat-local|}}} |
+ | | {{#switch:{{lc:{{{hat-local|}}}}} | ||
+ | | no | 0 | false | none | hide | negative = {{ns:0}} | ||
+ | | #default = {{{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 | ||
| fr = Lien | | fr = Lien | ||
Line 21: | Line 26: | ||
| 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 19:50, 5 December 2010
This template uses translation switching. The correct language will be displayed automatically. Localized versions of this template (e.g. Template:Hat description winner/ru) are not necessary. Add your translations directly to this template by editing it. Supported languages for this template: en, fr, ru (add) |
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. |hat-local = Non-English hat name. | description = Winning description. | link = SPUF post id (the part after 'p='). }}