模板:UTC time:修订间差异
来自RIA | Wiki
更多操作
新模板, 预计替换{{Template:时区}} 标签:mobile edit mobile web edit advanced mobile edit |
更新图像 |
||
| 第1行: | 第1行: | ||
{{Hatnote | {{Hatnote | ||
| 1 = <span style="margin-right: 0.5em;">[[File: | | 1 = <span style="margin-right: 0.5em;">[[File:OOjs_UI_icon_clock-progressive.svg|20px|alt=提示:|link=]]</span> 除特别注明外, 此{{{sect|条目}}}或章节的时间均以{{{timezone_name|{{{tzn|{{{1|协调世界时}}}}}}}}} (UTC{{{offset|{{{2|}}}}}}) 为准。 | ||
}}<!-- | }}<!-- | ||
--><noinclude> | --><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
2022年7月18日 (一) 22:59的最新版本
本模板用于标记条目时间的默认时区。
使用
{{UTC_time
| sect = <!-- 条目 -->
| timezone_name = <!-- 中国标准时间 -->
| offset = <!-- +08:00 -->
}}
参数
- sect
- 替换默认的 "条目" 的文本 。
- timezone_name, tzn, 1
- 时区名称
- offset, 2
- 时区相对于UTC的偏移值。
示例
{{UTC_time}}
{{UTC_time
| timezone_name = 中国标准时间
| offset = +08:00
}}
{{UTC_time
| timezone_name = 北美东部时间
| offset = -04:00
}}
模板数据
本模板用于标记文章所用的默认时区
| 参数 | 描述 | 类型 | 状态 | |
|---|---|---|---|---|
| sect | sect | 替换默认的 '条目' 的文本 | 字符串 | 可选 |
| 时区名称 | timezone_name tzn 1 | 无描述 | 字符串 | 可选 |
| 时区偏移值 | offset 2 | 时区相对于UTC的偏移值, 不带 'UTC'
| 数字 | 可选 |