Difference between revisions of "Template:Hat description winner"
Moussekateer (talk | contribs) m |
(Added translation switching) |
||
Line 1: | Line 1: | ||
− | <includeonly>{{!}} style="text-align: center;" {{!}} {{#if: {{{forumname|}}} | {{{forumname}}} }} {{!!}} style="text-align: center;" {{!}} {{#switch: {{{class|}}} | All class = All class | #default = [[{{{class}}}]] }} {{!!}} style="text-align: center;" {{!}} {{#if: {{{hat|}}} | [[Image:Backpack_{{{hat}}}.png|80px|frameless|link={{{hat}}}]]<br>[[{{{hat}}}]] }} {{!!}} style="text-align: center;" {{!}} {{#if: {{{description|}}} | {{{description}}} }} {{!!}} style="text-align: center;" {{!}} {{#if: {{{link|}}} | [http://forums.steampowered.com/forums/showpost.php?p={{{link}}} Link] }} | + | <includeonly>{{!}} style="text-align: center;" {{!}} {{#if: {{{forumname|}}} | {{{forumname}}} }} {{!!}} style="text-align: center;" {{!}} {{#switch: {{{class|}}} | All class = {{lang |
+ | | en = All class | ||
+ | | 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}}}{{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 | ||
+ | | ru = Ссылка | ||
+ | }}] }} | ||
{{!}}-</includeonly><noinclude> | {{!}}-</includeonly><noinclude> | ||
+ | {{translation switching|en, ru}} | ||
+ | |||
{{doc begin}} | {{doc begin}} | ||
Line 12: | Line 23: | ||
| 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 16:48, 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, 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='). }}