跳转到内容

模板:MONTHNUMBER:修订间差异

来自代码酷
*>Lanwi1
移除{{pp-template}}
 
Admin留言 | 贡献
导入1个版本
 
(未显示2个用户的2个中间版本)
第1行: 第1行:
{{#if:{{{1|}}}|{{#switch:{{lc:{{{1}}}}}|january|一月|jan=1|february|二月|feb=2|march|三月|mar=3|apr|四月|april=4|五月|may=5|june|六月|jun=6|july|七月|jul=7|august|八月|aug=8|september|九月|sep=9|october|十月|oct=10|november|十一月|nov=11|december|十二月|dec=12|{{#ifexpr:{{{1}}}<0|{{#ifexpr:(({{{1}}})round 0)!=({{{1}}})|{{#expr:12-(((0.5-({{{1}}}))round 0)mod 12)}}|{{#expr:12-(((11.5-({{{1}}}))round 0)mod 12)}}}}|{{#expr:(((10.5+{{{1}}})round 0)mod 12)+1}}}}}}|Missing required parameter 1=''month''!}}<noinclude>{{doc}}</noinclude>
<includeonly>{{safesubst:<noinclude/>#if:{{{1|}}}
|{{safesubst:<noinclude/>#switch:{{safesubst:<noinclude/>lc:{{{1}}}}}
  |january|jan=1
  |february|feb=2
  |march|mar=3
  |apr|april=4
  |may=5
  |june|jun=6
  |july|jul=7
  |august|aug=8
  |september|sep|sept=9
  |october|oct=10
  |november|nov=11
  |december|dec=12
  |{{safesubst:<noinclude/>#ifexpr:{{{1}}}<0
  |{{safesubst:<noinclude/>#ifexpr:(({{{1}}})round 0)!=({{{1}}})
    |{{safesubst:<noinclude/>#expr:12-(((0.5-({{{1}}}))round 0)mod 12)}}
    |{{safesubst:<noinclude/>#expr:12-(((11.5-({{{1}}}))round 0)mod 12)}}
  }}
  |{{safesubst:<noinclude/>#expr:(((10.5+{{{1}}})round 0)mod 12)+1}}
  }}
}}
|Missing required parameter 1=''month''!
}}</includeonly><noinclude>
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>

2025年5月1日 (四) 02:59的最新版本