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