Difference between revisions of "Template:Achievement"
(more colours) |
|||
Line 1: | Line 1: | ||
{| cellpadding="0" style="width: {{{width|50%}}}; text-align: left; {{#if:{{{obtain-text|}}}{{{obtain-level|}}} | border-left: 6px solid #{{#switch:{{ucfirst:{{{obtain-level|}}}}} | {| cellpadding="0" style="width: {{{width|50%}}}; text-align: left; {{#if:{{{obtain-text|}}}{{{obtain-level|}}} | border-left: 6px solid #{{#switch:{{ucfirst:{{{obtain-level|}}}}} | ||
| Very Easy | | Very Easy | ||
+ | | Easy = B5F36D; background: #F0F8E7; | ||
| Easy/Medium | | Easy/Medium | ||
− | | Easy-Medium | + | | Easy-Medium = D1D746; background: #F6F7DA; |
− | + | | Medium = FFC345; background: #FFF3DA; | |
− | | Medium | ||
| Medium/Hard | | Medium/Hard | ||
− | | Medium-Hard = | + | | Medium-Hard = FA8944; background: #FEE5DA; |
− | | Hard | + | | Hard = FA8944; background: #FEE5DA; |
− | | Very Hard | + | | Very Hard = a42e2c; background: #EDD5D5; |
| Hard/Very Hard | | Hard/Very Hard | ||
− | | Hard-Very Hard = | + | | Hard-Very Hard = CF3C38; background: #F6D8D7; |
| #default = lightgray; background: #EEE; | | #default = lightgray; background: #EEE; | ||
}};| }}"<!-- END STYLE --> | }};| }}"<!-- END STYLE --> |
Revision as of 10:39, 17 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, a link to 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% .
|
Obtaining | ||
obtain-level
|
easy
|
The level of difficulty. Accepts "easy", "medium" and "hard". This also gives the box a coloured background and border on the left. Not defining a level of difficulty gives the box a grey background. |
obtain-text
|
Simply build a Sentry Gun and keep it alive to get 10 kills to earn this achievement.
|
The description text. |
See also
{{Show achievement}}
– the template to use to display achievements.{{Achievement table}}
– display achievements within a table.- Category:Achievement insertion templates/core – holds the templates that store text & titles of achievements in multiple languages.