模板:Tick

出自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:Tick/l10n for the localization of this template.
Template-info.svg 文檔 以下文檔來自Template:Tick/doc。(編輯 | 歷史

This template is to be used whenever the term "tick" is mentioned in an article. It prints an explanation of the term (see the wording below) wrapped in a <ref> tag.

Usage

{{tick | noref / short | noref / short }}

First unnamed parameter (optional)

Set to noref to suppress the <ref> tag. Set to short to print a very abbreviated explanation.

Second unnamed parameter (optional)

See above. Both parameters can be interchanged.

Notes

  • If there is at least one call of {{tick}} without noref on the page, a new section "References" or "Footnotes" with {{reflist}} needs to be added.

Examples

Code Result
{{tick|noref}} 嘀嗒是可由軟件計數的時間單位。泰拉瑞亞的大多數更新邏輯都會每嘀嗒發生一次。一個嘀嗒的長度為 1/60 秒,因此一秒鐘內有 60 嘀嗒,一分鐘內有 3600 嘀嗒。
{{tick|noref|short}} 1 嘀嗒 = 1/60 秒
{{tick|short|noref}} 1 嘀嗒 = 1/60 秒
The thing happens every 8400 ticks.{{tick}} The thing happens every 8400 ticks.[1]
The other thing happens every 450 ticks.{{tick|short}} The thing happens every 450 ticks.[2]
The third thing also happens every 450 ticks.{{tick}} The third thing also happens every 450 ticks.[1]

Footnotes

  1. 1.0 1.1 嘀嗒是可由軟件計數的時間單位。泰拉瑞亞的大多數更新邏輯都會每嘀嗒發生一次。一個嘀嗒的長度為 1/60 秒,因此一秒鐘內有 60 嘀嗒,一分鐘內有 3600 嘀嗒。
  2. 1 嘀嗒 = 1/60 秒