Difference between revisions of "Template:Achievement/doc"

From Team Fortress Wiki
Jump to: navigation, search
m
m
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Translation switching|ar, cs, da, de, es, fi, fr, hu, it, ja, ko, no, pl, pt, pt-br, ro, ru, sv, tr, zh-hans, zh-hant}}
 
 
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.  
  
Line 36: Line 35:
 
| {{code|obtain-level}}
 
| {{code|obtain-level}}
 
| {{code|easy}}
 
| {{code|easy}}
| The level of difficulty. Accepts "very easy", "easy", "medium","hard", and "very 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.
+
| The level of difficulty. Accepts "very easy", "easy", "medium", "hard", "very hard" and "unachievable". 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.
 
|-
 
|-
 
| {{code|obtain-text}}
 
| {{code|obtain-text}}

Latest revision as of 23:01, 7 August 2024

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 "very easy", "easy", "medium", "hard", "very hard" and "unachievable". 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