「テンプレート:MONTHNUMBER」の版間の差分

提供:KAZE.WIKI
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><!--
|{{#switch:{{lc:{{{1}}}}}
-->{{#if:{{#ifexpr:{{{1}}} }}
  |january|jan=1
    |{{#switch:{{padleft:|3|{{lc:{{{1|}}} }} }}
  |february|feb=2
      |= Missing required parameter 1=''month''!
  |march|mar=3
      |jan=1
  |apr|april=4
      |feb | fév=2
  |may=5
      |mar=3
  |june|jun=6
      |apr | avr=4
  |july|jul=7
      |may | mai=5
  |august|aug=8
      |jun=6
  |september|sep|sept=9
      |jul=7
  |october|oct=10
      |aug| aoû=8
  |november|nov=11
      |sep=9
  |december|dec=12
      |oct=10
  |{{#ifexpr:{{{1}}}<0
      |nov=11
  |{{#ifexpr:(({{{1}}})round 0)!=({{{1}}})
      |dec | déc=12
    |{{#expr:12-(((0.5-({{{1}}}))round 0)mod 12)}}
      |jui={{#ifeq:{{lc:{{{1}}} }}|juin|6|7}}
     |{{#expr:12-(((11.5-({{{1}}}))round 0)mod 12)}}
      |{{error|エラー}}
  }}
      }}
  |{{#expr:(((10.5+{{{1}}})round 0)mod 12)+1}}
     |{{#expr:(((floor{{{1}}} mod 12)-12) mod 12)+12}}
  }}
    }}</includeonly><noinclude>
}}
|Missing required parameter 1=''month''!
}}</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>

2021年11月13日 (土) 03:53時点における版

テンプレートの解説[作成]