模板:History
跳至導覽
跳至搜尋
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 name | 1 | 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"!)
| 單行文本 | 必填 |
Notes | 2 | List of changes that were made | 字符串 | 必填 |
Suppress categorization | nocat | Prevents the page from being categorized in the respective history category of this patch
| 布爾值 | 可選 |
Force "introduced" category | introduced | Adds the page to the "Entities introduced in X" category, regardless of whether that corresponds to the patch notes or not
| 布爾值 | 可選 |
Force "Patched" category | patched | Adds the page to the "Entities patched in X" category, only valid when "introduced" parameter is set (i.e. require |introduced=y|patched=y ).
| 布爾值 | 可選 |
Patch name display | t | Custom vanity text for the patch name | 單行文本 | 可選 |
Version header | version | Prints a header above the patch notes for the entered version
| 單行文本 | 棄用 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:
- Journey's End:Changed damage from 20 to 24.
- 主機版 1.17:
- Updated mechanics.
- Sprite updated.
- 主機正式版:Introduced.
- 電腦版 1.2:Introduced.
- 移動版 1.3.0.7:Removed.
- 移動版 1.2.11964 復活節更新:Introduced.