模板:History

出自Terraria Wiki
跳至導覽 跳至搜尋
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:History/l10n for the localization of this template.
Template-info.svg 文檔 以下文檔來自Template:History/doc。(編輯 | 歷史

This template is used to list the history related to the entity described on a page. Due to its standardized format and supplemental functionalities, it is meant to be used for all historical events in the History sections of all pages.

It automatically categorizes the page in the respective Entities introduced/patched in <patch> category. See Category:History.

Usage

{{ history | <patch name> | <change notes> | introduced = 1 (optional) | nocat = 1 (optional) }}

參數描述類型狀態
Patch name1
Name of the patch in which the change happened (Important: Always use the full name that includes the platform, e.g. "Desktop 1.2" instead of "1.2"!)
示例:
Desktop 1.3.0.1 / Console-Release / Mobile 1.2.11964 Easter Update
單行文本
必填
Notes2
List of changes that were made
字符串
必填
Suppress categorizationnocat
Prevents the page from being categorized in the respective history category of this patch
自動值:
True (1/y/yes)
布爾值
可選
Force "introduced" categoryintroduced
Adds the page to the "Entities introduced in X" category, regardless of whether that corresponds to the patch notes or not
自動值:
True (1/y/yes)
布爾值
可選
Force "Patched" categorypatched
Adds the page to the "Entities patched in X" category, only valid when "introduced" parameter is set (i.e. require |introduced=y|patched=y ).
自動值:
True (1/y/yes)
布爾值
可選
Patch name displayt
Custom vanity text for the patch name
單行文本
可選
Version headerversion
Prints a header above the patch notes for the entered version
示例:
desktop / mobile
單行文本
棄用
Remove this parameter where it is used. Version header handling is fully automated (if there are any issues, please report them on Template talk:History).

Example

Note that all {{history}} calls regarding the same platform should generally be grouped together. The following is only an illustrative example of the functionality, not of how it is meant to be used.

{{history|Desktop 1.4.0.1|t=Journey's End|Changed damage from 20 to 24.}}
{{history|Console 1.17|
** Updated mechanics.
** Sprite updated.}}
{{history|Console-Release|Introduced.}}
{{history|Desktop 1.2|Introduced.}}
{{history|Mobile 1.3.0.7|Removed.}}
{{history|Mobile 1.2.11964 Easter Update|Introduced.}}

returns: