Mall:MONTHNUMBER: Skillnad mellan sidversioner
Från Järnvägsdata
jarnvagsdata>Amorymeltzer m (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))) |
(Skapade sidan med '<includeonly>{{#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=...') |
||
| Rad 1: | Rad 1: | ||
<includeonly>{{#if:{{{1|}}} | <includeonly>{{#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}}})round 0)mod 12)+1}}}}}}|Saknar nödvändig parameter 1=''månad''!}}</includeonly> | ||
<noinclude> | |||
[[Kategori:Programteknikmallar|{{PAGENAME}}]] | |||
}}</includeonly><noinclude> | |||
{{ | |||
</noinclude> | </noinclude> | ||
Versionen från 27 februari 2020 kl. 19.25
