Difference between revisions of "Template:Achievement name"
m (Improvements) |
GrampaSwood (talk | contribs) m (Replaced with more standard text, replaced invalid template generation with link that looks identical instead to prevent it from being on a bunch of lists) |
||
Line 1: | Line 1: | ||
<includeonly>{{Dictionary/achievements/{{lc:{{{1|}}}}}/{{lc:{{{2|}}}}}-title}}</includeonly><noinclude>{{doc begin}} | <includeonly>{{Dictionary/achievements/{{lc:{{{1|}}}}}/{{lc:{{{2|}}}}}-title}}</includeonly><noinclude>{{doc begin}} | ||
− | === | + | === Example === |
<code><nowiki>{{Achievement name|General|With Friends Like These...}}</nowiki></code> generates {{Achievement name|General|With Friends Like These...}} | <code><nowiki>{{Achievement name|General|With Friends Like These...}}</nowiki></code> generates {{Achievement name|General|With Friends Like These...}} | ||
<br><br> | <br><br> | ||
Achivements that contain a colon '''must''' be replaced with a hyphen: | Achivements that contain a colon '''must''' be replaced with a hyphen: | ||
<br> | <br> | ||
− | * | + | * '''Correct:''' <code><nowiki>{{Achievement name|Halloween|Carnival of Carnage: Step Right Up}}</nowiki></code> generates [[Template:Dictionary/achievements/halloween/carnival of carnage: step right up-title]] |
− | * | + | * '''Incorrect:''' <code><nowiki>{{Achievement name|Halloween|Carnival of Carnage- Step Right Up}}</nowiki></code> generates {{Achievement name|Halloween|Carnival of Carnage- Step Right Up}} |
=== Syntax === | === Syntax === |
Revision as of 15:53, 5 February 2023
Documentation for Achievement name
Example
{{Achievement name|General|With Friends Like These...}}
generates With Friends Like These...
Achivements that contain a colon must be replaced with a hyphen:
- Correct:
{{Achievement name|Halloween|Carnival of Carnage: Step Right Up}}
generates Template:Dictionary/achievements/halloween/carnival of carnage: step right up-title - Incorrect:
{{Achievement name|Halloween|Carnival of Carnage- Step Right Up}}
generates Carnival of Carnage: Step Right Up
Syntax
{{Achievement name|pack|achievement}}
- pack
- The English name of the pack (see Template:Dictionary). A
pack
is anything that comes afterachievements/
in the dictionary page (e.g.Template:Dictionary/achievements/halloween
). - achievement
- The English name of the achievement.