首页
历史
最近更改
特殊页面
社群首页
设置
关于Vocawiki
免责声明
Vocawiki
搜索
用户菜单
创建账号
登录
查看“︁Template:显示现在时间”︁的源代码
←
Template:显示现在时间
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
<includeonly>{{ #time: {{#if: {{{y|}}} | Y}}{{{yc|}}}{{#if: {{{m|}}} | {{ #switch: {{{m}}}| m0 = m| #default = n}} }}{{{mc|}}}{{#if: {{{d|}}} | {{ #switch: {{{d}}}| d0 = d| #default = j}} }}{{{dc|}}}{{{wc|}}}{{#if: {{{w|}}} | {{ #switch: {{{w}}}| wn = N| #default = D}} }}{{#if: {{{h|}}} | H}}{{{hc|}}}{{#if: {{{i|}}} | i}}{{{ic|}}} | +{{#ifeq: {{#expr: {{str len| {{str_replace|str= {{{tz|8}}} |ptn= - |replace=}} }} > 2 }} | 1 | {{str crop| {{{tz|8}}} |2}} | {{{tz|8}}} }}hours +{{str_test|str= {{{tz}}} |ptn= - |then= - }}{{#ifeq: {{#expr: {{str len| {{str_replace|str= {{{tz|}}} |ptn= - |replace=}} }} > 2 }} | 1 | {{str rightc| {{{tz}}} |2}} | 0 }}minutes +{{#if: {{{yp|}}} | {{{yp}}}| 0}}year +{{#if: {{{mp|}}} | {{{mp}}}| 0}}month +{{#if: {{{dp|}}} | {{{dp}}}| 0}}day +{{#if: {{{hp|}}} | {{{hp}}}| 0}}hours +{{#if: {{{ip|}}} | {{{ip}}}| 0}}minutes }}</includeonly><noinclude>{{doc}}</noinclude>
该页面使用的模板:
Template:Doc
(
查看源代码
)
Template:Documentation
(
查看源代码
)
Template:Documentation/docname
(
查看源代码
)
返回
Template:显示现在时间
。