「テンプレート:MONTHNUMBER」の版間の差分
en>Amorymeltzer 細 (Changed protection level for "Template:MONTHNUMBER": Allow template editor access, see Template:MONTHNAME ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))) |
ja>えのきだたもつ 細 (「Template:MONTHNUMBER」の保護設定を変更しました: 影響が特に大きいテンプレート ([編集=拡張承認された利用者と管理者に許可] (無期限) [移動=拡張承認された利用者と管理者に許可] (無期限))) |
||
| 1行目: | 1行目: | ||
<includeonly>{{#if:{{{1 | <includeonly><!-- | ||
-->{{#if:{{#ifexpr:{{{1}}} }} | |||
|{{#switch:{{padleft:|3|{{lc:{{{1|}}} }} }} | |||
|= Missing required parameter 1=''month''! | |||
|jan=1 | |||
|feb | fév=2 | |||
|mar=3 | |||
|apr | avr=4 | |||
|may | mai=5 | |||
|jun=6 | |||
|jul=7 | |||
|aug| aoû=8 | |||
|sep=9 | |||
|oct=10 | |||
|nov=11 | |||
|dec | déc=12 | |||
|jui={{#ifeq:{{lc:{{{1}}} }}|juin|6|7}} | |||
|{{#expr: | |{{error|エラー}} | ||
}} | |||
|{{#expr:(((floor{{{1}}} mod 12)-12) mod 12)+12}} | |||
}}</includeonly><noinclude> | |||
}}</includeonly><noinclude> | |||
{{Documentation}} | {{Documentation}} | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> | ||