Difference between revisions of "Template:Achievement name"
m (Simplify) |
BrazilianNut (talk | contribs) 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 | + | ;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. | ||
− | === | + | === Examples === |
− | <code><nowiki>{{Achievement name| | + | * <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 afterachievements/
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