Template:MONTHNUMBER: Difference between revisions
Jump to navigation
Jump to search
BalkanMapper (talk | contribs) m (1 revision imported) |
BalkanMapper (talk | contribs) m (1 revision imported) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{1|}}} | <includeonly>{{safesubst:<noinclude/>#if:{{{1|}}} | ||
|{{#switch:{{lc:{{{1}}}}} | |{{safesubst:<noinclude/>#switch:{{safesubst:<noinclude/>lc:{{{1}}}}} | ||
|january|jan=1 | |january|jan=1 | ||
|february|feb=2 | |february|feb=2 | ||
Line 13: | Line 13: | ||
|november|nov=11 | |november|nov=11 | ||
|december|dec=12 | |december|dec=12 | ||
|{{#ifexpr:{{{1}}}<0 | |{{safesubst:<noinclude/>#ifexpr:{{{1}}}<0 | ||
|{{#ifexpr:(({{{1}}})round 0)!=({{{1}}}) | |{{safesubst:<noinclude/>#ifexpr:(({{{1}}})round 0)!=({{{1}}}) | ||
|{{#expr:12-(((0.5-({{{1}}}))round 0)mod 12)}} | |{{safesubst:<noinclude/>#expr:12-(((0.5-({{{1}}}))round 0)mod 12)}} | ||
|{{#expr:12-(((11.5-({{{1}}}))round 0)mod 12)}} | |{{safesubst:<noinclude/>#expr:12-(((11.5-({{{1}}}))round 0)mod 12)}} | ||
}} | }} | ||
|{{#expr:(((10.5+{{{1}}})round 0)mod 12)+1}} | |{{safesubst:<noinclude/>#expr:(((10.5+{{{1}}})round 0)mod 12)+1}} | ||
}} | }} | ||
}} | }} |
Latest revision as of 17:08, 7 May 2024
File:Test Template Info-Icon - Version (2).svg Template documentation[create] [purge]