Difference between revisions of "Template:Achievement"
(de & es) |
|||
Line 11: | Line 11: | ||
| ru = Награда | | ru = Награда | ||
}}''': [[{{{reward|Weapons}}}|{{{reward|Weapon name}}}]]</small></td>|</td>}}</tr></table><noinclude> | }}''': [[{{{reward|Weapons}}}|{{{reward|Weapon name}}}]]</small></td>|</td>}}</tr></table><noinclude> | ||
+ | {{Translation switching|de, es, fr, pl, ro, ru}} | ||
+ | {{doc begin}} | ||
− | + | This template was created in order to standardise how achievements appear in article pages. | |
− | This template was created in order to standardise how achievements appear in article pages. | + | |
− | + | You should ''not'' use this template directly. To show a particular achievement on a page, use {{tl|Show achievement}} instead. This template holds only the code to display achievements in a table. It does ''not'' hold any translated text or titles. | |
− | + | ||
− | + | == Parameters == | |
− | + | {| class="wikitable grid" style="width:100%;" | |
− | + | ! Name | |
− | : | + | ! Example |
− | : | + | ! width="50%" | Description |
+ | |- | ||
+ | | {{code|1}} | ||
+ | | {{code|Quick Hook}} | ||
+ | | Name of the achievement. | ||
+ | |- | ||
+ | | {{code|2}} | ||
+ | | {{code|Kill a player in Well before the round starts.}} | ||
+ | | The description (should use exact wording from Steam). | ||
+ | |- | ||
+ | | {{code|3}} | ||
+ | | {{code|Tf quick hook.png}} | ||
+ | | The file name of the image (exclude {{code|File:}} or {{code|Image:}} prefix) | ||
+ | |- | ||
+ | | {{code|reward}} | ||
+ | | {{code|Ambassador}} | ||
+ | | If the achievement is a Milestone, put the name of the weapon that is earned. | ||
+ | |- | ||
+ | ! style="text-align:left;" colspan="3" | Style | ||
+ | |- | ||
+ | | {{code|width}} | ||
+ | | {{code|100%}} | ||
+ | | The width. Can be set to {{code|50%}} if not used in a table, otherwise it defaults to {{code|100%}}. | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | == See also == | ||
+ | * {{tl|Show achievement}} – the template to use to display achievements. | ||
+ | * [[:Category:Achievement insertion templates/core]] – holds the templates that store text & titles of achievements in multiple languages. | ||
− | |||
[[Category:Formatting templates|Achievement]] | [[Category:Formatting templates|Achievement]] | ||
</noinclude> | </noinclude> |
Revision as of 20:50, 15 September 2010
Achievement Name Lorem ipsum dolor sit amet, lorem ipsum, dolor, sit amet. |
This template uses translation switching. The correct language will be displayed automatically. Localized versions of this template (e.g. Template:Achievement/ru) are not necessary. Add your translations directly to this template by editing it. Supported languages for this template: de, es, fr, pl, ro, ru (add) |
Documentation for Achievement
This template was created in order to standardise how achievements appear in article pages.
You should not use this template directly. To show a particular achievement on a page, use {{Show achievement}}
instead. This template holds only the code to display achievements in a table. It does not hold any translated text or titles.
Parameters
Name | Example | Description |
---|---|---|
1
|
Quick Hook
|
Name of the achievement. |
2
|
Kill a player in Well before the round starts.
|
The description (should use exact wording from Steam). |
3
|
Tf quick hook.png
|
The file name of the image (exclude File: or Image: prefix)
|
reward
|
Ambassador
|
If the achievement is a Milestone, put the name of the weapon that is earned. |
Style | ||
width
|
100%
|
The width. Can be set to 50% if not used in a table, otherwise it defaults to 100% .
|
See also
{{Show achievement}}
– the template to use to display achievements.- Category:Achievement insertion templates/core – holds the templates that store text & titles of achievements in multiple languages.