模板:Achievement

出自Terraria Wiki
跳到: 導覽搜尋
Template-info.svg 文檔 以下文檔內容來自模板: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
哦!亮閃閃! • "用鎬開採第一塊礦石。"
開採第一塊礦石電腦版、主機版、和移動版

Manual mode[編輯原始碼]

{{ achievement | achievement name | t = alternate name | achievement description | achievement title text }}

  • Unnamed parameter 1 : Enter the achievement name. This must match the name as it appears in the achievement's image file name
  • Unnamed parameter 2 : The requirement(s) for earning the achievement.
  • Unnamed parameter 3 : The in-game achievement description (optional).
  • t=: Optional. Changes the displayed title on the achievement template, but not the image used.
  • 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|Ooo! Shiny!|t=Ooo, Shiny!|Mine your first ore.|Mine your first nugget of ore with a pickaxe.}}

Produces: