Template:Achievement

From Terraria Wiki
Jump to: navigation, search
This template is i18n-ready, which means it is easy to localize for different languages. Please see i18n & l10n for Templates to learn more.
See Template:Achievement/l10n for the localization of this template.
Template-info.svg Documentation The documentation below is transcluded from Template:Achievement/doc. (edit | history)

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:

Achievement Ooo! Shiny!.png
Ooo! Shiny! • Mine your first nugget of ore with a pickaxe.
Mine your first ore. Desktop, Console, and Mobile versions

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.
  • 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.

Example:
{{achievement|name=Ooo! Shiny!|t=Shiny!|desc=First ore.|title=first nugget of ore.|icons={{icon|ios|google}}}}

Produces:

Achievement Ooo! Shiny!.png
Apple iOSGoogle Play Shiny! • “first nugget of ore.”
First ore.