模板:Utils/MONTHNUMBER

来自TFLS Wiki
Holger Huo讨论 | 贡献2022年5月20日 (五) 22:22的版本 (创建页面,内容为“{{#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}}}…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

Missing required parameter 1=month!

模板文档  [查看] [编辑] [历史] [刷新]
{{Utils/MONTHNUMBER|january}}=>1
{{Utils/MONTHNUMBER|february}}=>2
{{Utils/MONTHNUMBER|march}}=>3
{{Utils/MONTHNUMBER|april}}=>4
{{Utils/MONTHNUMBER|may}}=>5
{{Utils/MONTHNUMBER|june}}=>6
{{Utils/MONTHNUMBER|july}}=>7
{{Utils/MONTHNUMBER|august}}=>8
{{Utils/MONTHNUMBER|september}}=>9
{{Utils/MONTHNUMBER|october}}=>10
{{Utils/MONTHNUMBER|november}}=>11
{{Utils/MONTHNUMBER|december}}=>12

{{Utils/MONTHNUMBER|jan}}=>1
{{Utils/MONTHNUMBER|feb}}=>2
{{Utils/MONTHNUMBER|mar}}=>3
{{Utils/MONTHNUMBER|apr}}=>4
{{Utils/MONTHNUMBER|may}}=>5
{{Utils/MONTHNUMBER|jun}}=>6
{{Utils/MONTHNUMBER|jul}}=>7
{{Utils/MONTHNUMBER|aug}}=>8
{{Utils/MONTHNUMBER|sep}}=>9
{{Utils/MONTHNUMBER|oct}}=>10
{{Utils/MONTHNUMBER|nov}}=>11
{{Utils/MONTHNUMBER|dec}}=>12

{{Utils/MONTHNUMBER|1}}=>1
{{Utils/MONTHNUMBER|2}}=>2
{{Utils/MONTHNUMBER|3}}=>3
{{Utils/MONTHNUMBER|4}}=>4
{{Utils/MONTHNUMBER|5}}=>5
{{Utils/MONTHNUMBER|6}}=>6
{{Utils/MONTHNUMBER|7}}=>7
{{Utils/MONTHNUMBER|8}}=>8
{{Utils/MONTHNUMBER|9}}=>9
{{Utils/MONTHNUMBER|10}}=>10
{{Utils/MONTHNUMBER|11}}=>11
{{Utils/MONTHNUMBER|12}}=>12

{{Utils/MONTHNUMBER|01}}=>1
{{Utils/MONTHNUMBER|02}}=>2
{{Utils/MONTHNUMBER|03}}=>3
{{Utils/MONTHNUMBER|04}}=>4
{{Utils/MONTHNUMBER|05}}=>5
{{Utils/MONTHNUMBER|06}}=>6
{{Utils/MONTHNUMBER|07}}=>7
{{Utils/MONTHNUMBER|08}}=>8
{{Utils/MONTHNUMBER|09}}=>9

{{Utils/MONTHNUMBER|-1200}}=>12
{{Utils/MONTHNUMBER|-1201}}=>11
{{Utils/MONTHNUMBER|-1212}}=>12
{{Utils/MONTHNUMBER|-12}}=>12
{{Utils/MONTHNUMBER|-11}}=>1
{{Utils/MONTHNUMBER|-10}}=>2
{{Utils/MONTHNUMBER|-9}}=>3
{{Utils/MONTHNUMBER|-8}}=>4
{{Utils/MONTHNUMBER|-7}}=>5
{{Utils/MONTHNUMBER|-6}}=>6
{{Utils/MONTHNUMBER|-5}}=>7
{{Utils/MONTHNUMBER|-4}}=>8
{{Utils/MONTHNUMBER|-3}}=>9
{{Utils/MONTHNUMBER|-2}}=>10
{{Utils/MONTHNUMBER|-1}}=>11
{{Utils/MONTHNUMBER|-0.9999}}=>11
{{Utils/MONTHNUMBER|-0.5}}=>11
{{Utils/MONTHNUMBER|-0.0001}}=>11
{{Utils/MONTHNUMBER|0}}=>12
{{Utils/MONTHNUMBER|0.0001}}=>12
{{Utils/MONTHNUMBER|0.5}}=>12
{{Utils/MONTHNUMBER|0.9999}}=>12
{{Utils/MONTHNUMBER|12.0001}}=>12
{{Utils/MONTHNUMBER|12.5}}=>12
{{Utils/MONTHNUMBER|12.9999}}=>12
{{Utils/MONTHNUMBER|13}}=>1
{{Utils/MONTHNUMBER|14}}=>2
{{Utils/MONTHNUMBER|24}}=>12
{{Utils/MONTHNUMBER|1200}}=>12
{{Utils/MONTHNUMBER|1201}}=>1
{{Utils/MONTHNUMBER|1212}}=>12

{{Utils/MONTHNUMBER|xx}}=>表达式错误:无法识别的词语“xx”。