Template: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: