Template:MONTHNUMBER: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{1|}}} | |||
|{{#switch:{{lc:{{{1}}}}} | |{{#switch:{{lc:{{{1}}}}} | ||
|january|jan=1 | |january|jan=1 | ||
Line 13: | Line 13: | ||
|november|nov=11 | |november|nov=11 | ||
|december|dec=12 | |december|dec=12 | ||
|{{#ifexpr:{{{1}}} | |{{#ifexpr:{{{1}}}<0 | ||
|{{#ifexpr:(({{{1}}})round 0)!=({{{1}}}) | |{{#ifexpr:(({{{1}}})round 0)!=({{{1}}}) | ||
|{{#expr:12-(((0.5-({{{1}}}))round 0)mod 12)}} | |{{#expr:12-(((0.5-({{{1}}}))round 0)mod 12)}} | ||
Line 22: | Line 22: | ||
}} | }} | ||
|Missing required parameter 1=''month''! | |Missing required parameter 1=''month''! | ||
}} | }}</includeonly><noinclude> | ||
{{pp-template|small=yes}} | {{pp-template|small=yes}} | ||
{{Documentation}} | {{Documentation}} | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | |||
</noinclude> |
Revision as of 16:06, 10 October 2010
[create] File:Template-info.svg Template documentation
Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |