Difference between revisions of "Template:Achievement name"

From Team Fortress Wiki
Jump to: navigation, search
m (Simplify)
m
Line 3: Line 3:
 
<code><nowiki>{{Achievement name|pack|achievement}}</nowiki></code>
 
<code><nowiki>{{Achievement name|pack|achievement}}</nowiki></code>
  
;pack: The '''English''' name of the pack (see [[Template:Dictionary]]). A <code>pack</code> is anything that comes after <code>achievements/</code> in the dictionary page (e.g. <code>Template:Dictionary/achievements/halloween</code>). Colons in achievement names '''must''' be replaced with a hyphen.
+
;pack: The '''English''' name of the pack. A <code>pack</code> is anything that comes after <code>achievements/</code> in the [[Template:Dictionary|dictionary]] (e.g. <code>Template:Dictionary/achievements/halloween</code>). Colons in achievement names '''must''' be replaced with a hyphen.
 
;achievement: The '''English''' name of the achievement.
 
;achievement: The '''English''' name of the achievement.
  
=== Example ===
+
=== Examples ===
<code><nowiki>{{Achievement name|General|With Friends Like These...}}</nowiki></code> generates {{Achievement name|General|With Friends Like These...}}
+
* <code><nowiki>{{Achievement name|Halloween|Carnival of Carnage- Step Right Up}}</nowiki></code> generates {{Achievement name|Halloween|Carnival of Carnage- Step Right Up}}
 +
* <code><nowiki>{{Achievement name|Scout|Artful Dodger}}</nowiki></code> generates {{Achievement name|Scout|Artful Dodger}}
  
 
[[Category:Template dictionary|Achievement]]</noinclude>
 
[[Category:Template dictionary|Achievement]]</noinclude>

Revision as of 15:59, 5 February 2023

Documentation for Achievement name

Syntax

{{Achievement name|pack|achievement}}

pack
The English name of the pack. A pack is anything that comes after achievements/ in the dictionary (e.g. Template:Dictionary/achievements/halloween). Colons in achievement names must be replaced with a hyphen.
achievement
The English name of the achievement.

Examples

  • {{Achievement name|Halloween|Carnival of Carnage- Step Right Up}} generates Carnival of Carnage: Step Right Up
  • {{Achievement name|Scout|Artful Dodger}} generates Artful Dodger