Template:Achievement
Use this to display an achievement. This template adds pages to Category:Achievement-related elements.
Usage
Auto mode
{{ achievement | name = achievement name }}
This requires this achievement name to exist in the achievement database.
Example:
{{achievement|name=Ooo! Shiny!}}
Produces:
Manual mode
{{ achievement | name = achievement name | t = alternate name | desc = achievement description | title = achievement title text }}
- name: required.
- t/desc/title: optional. Will override auto content.
- Other parameters:
- icons: optional. Will be displayed before name.
- nocat : An optional flag to disable categorizing the page in Category:Achievement-related elements. Add
|nocat=yes
only in documentation, discussion examples, etc. - nolink: optional. Remove links on the image and the achievement name.
Example:
{{achievement|name=Ooo! Shiny!|t=Shiny!|desc=First ore.|title=first nugget of ore.|icons={{icon|ios|google}}|nolink=y}}
Produces:
Category mode
{{ achievement | name = <achievement name> | onlycateindex = y/yes | onlycatename = y/yes }}
This requires this achievement name to exist in the achievement database.
Only one of these two parameters can be set at a time:
$onlycatename
: Displays the (localized) name of the in-game category that the achievement is in, e.g. "Explorer".$onlycateindex
: Displays the internal "index" of the in-game category that the achievement is in. This is to be used for the file name as shown below.
Examples: