Template:YEAR:修订间差异
外观
删除的内容 添加的内容
zhwiki>Xiplus-abot 小 已更改“Template:YEAR”的保护等级:高風險模板:5075引用<!-- 機器人3 -->([编辑=仅允许模板编辑员和管理员](无限期)[移动=仅允许模板编辑员和管理员](无限期)) |
enwiki>MusikBot II 小 Changed protection settings for "Template:YEAR": High-risk template or module 62847 transclusions (more info) ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)) 标签:已被回退 |
||
| 第1行: | 第1行: | ||
<includeonly>{{#if: {{{1|}}} |
|||
<!--本模板之構造與其他語言版本不同,修改時請留意。--><includeonly>{{{{{|safesubst:}}}#iferror:{{#expr:{{{1|{{CURRENTYEAR}}}}} > 0}} |
|||
|{{#iferror:{{#time:Y|1 January {{{1|}}} }} |
|||
|<strong class="error">模板錯誤:參數項只能填寫數字。</strong> |
|||
|{{{{ |
|{{#iferror:{{#time:Y|{{{1|}}} }} |
||
|{{#ifeq:{{{2|}}}|{{{2}}}|error|{{error|Error}}}} |
|||
|{{#time:Y|{{{1|}}} }} }} |
|||
| {{{{{|safesubst:}}}#ifexpr:{{{1|{{CURRENTYEAR}}}}} < 0|前}}{{#expr:floor(abs({{{1|{{CURRENTYEAR}}}}}))}}年 |
|||
|{{#time:Y|1 January {{{1|}}} }} }} |
|||
}} |
|||
}}</includeonly>< |
|{{CURRENTYEAR}}}}</includeonly><noinclude> |
||
{{Documentation}} |
|||
</noinclude> |
|||