Difference between revisions of "Template:Achievement"

From Team Fortress Wiki
Jump to: navigation, search
(simplify "rewards" link)
Line 10: Line 10:
 
  | ro = Recompensă
 
  | ro = Recompensă
 
  | ru = Награда
 
  | ru = Награда
}}''': [[{{{reward}}}{{if lang}}|{{{reward-display|{{{reward}}}}}}]]</small></td>|</td>}}</tr></table><noinclude>
+
}}''': {{{reward}}}</small></td>|</td>}}</tr></table><noinclude>
 
{{Translation switching|de, es, fr, pl, ro, ru}}
 
{{Translation switching|de, es, fr, pl, ro, ru}}
 
{{doc begin}}
 
{{doc begin}}
Line 37: Line 37:
 
|-
 
|-
 
| {{code|reward}}
 
| {{code|reward}}
| {{code|Ambassador}}
+
| {{code|[[Ambassador]]}}
| If the achievement is a Milestone, put the name of the weapon that is earned.
+
| If the achievement is a Milestone, a link to the weapon that is earned.
 
|-
 
|-
| {{code|reward-display}}
+
! style="text-align:left;" colspan="3" | ''Style''
| {{code|大使手槍}}
 
| The display name override for the Reward link.
 
|-
 
! style="text-align:left;" colspan="3" | Style
 
 
|-
 
|-
 
| {{code|width}}
 
| {{code|width}}

Revision as of 05:23, 16 September 2010

TF2 crosshair.png Achievement Name
Lorem ipsum dolor sit amet, lorem ipsum, dolor, sit amet.

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%.

See also