Mal:MONTHNAME: Forskjell mellom sideversjoner

Fra wikisida.no
Hopp til navigering Hopp til søk
m robot Fjerner: es:Plantilla:MONTHNAME (strong connection between (2) no:Mal:MONTHNAME and es:Plantilla:Nombre mes)
Ingen redigeringsforklaring
Linje 1: Linje 1:
{{{{{subst|}}}#if:{{{1|}}}|{{{{{subst|}}}#switch:{{{{{subst|}}}#if:{{{1}}}|{{{{{subst|}}}#switch:{{{{{subst|}}}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|{{{{{subst|}}}#ifexpr:{{{1}}}<0|{{{{{subst|}}}#ifexpr:(({{{1}}})round 0)!=({{{1}}})|{{{{{subst|}}}#expr:12-(((0.5-({{{1}}}))round 0)mod 12)}}|{{{{{subst|}}}#expr:12-(((11.5-({{{1}}}))round 0)mod 12)}}}}|{{{{{subst|}}}#expr:(((10.5+{{{1}}})round 0)mod 12)+1}}}}}}|Missing required parameter 1=''month''!}}|1=januar|2=februar|3=mars|4=april|5=mai|6=juni|7=juli|8=august|9=september|10=oktober|11=november|12=desember|Incorrect required parameter 1=''måned''!}}|Missing required parameter 1=''måned''!}}<noinclude>
[http://www.world-art.ru/animation/manga.php?id=1110 Read first chapter online]{{{{{subst|}}}#if:{{{1|}}}|{{{{{subst|}}}#switch:{{{{{subst|}}}#if:{{{1}}}|{{{{{subst|}}}#switch:{{{{{subst|}}}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|{{{{{subst|}}}#ifexpr:{{{1}}}<0|{{{{{subst|}}}#ifexpr:(({{{1}}})round 0)!=({{{1}}})|{{{{{subst|}}}#expr:12-(((0.5-({{{1}}}))round 0)mod 12)}}|{{{{{subst|}}}#expr:12-(((11.5-({{{1}}}))round 0)mod 12)}}}}|{{{{{subst|}}}#expr:(((10.5+{{{1}}})round 0)mod 12)+1}}}}}}|Missing required parameter 1=''month''!}}|1=januar|2=februar|3=mars|4=april|5=mai|6=juni|7=juli|8=august|9=september|10=oktober|11=november|12=desember|Incorrect required parameter 1=''måned''!}}|Missing required parameter 1=''måned''!}}<noinclude>


== Documentation ==
== Documentation ==

Sideversjonen fra 8. mar. 2015 kl. 14:58

Read first chapter onlineMissing required parameter 1=måned!

Documentation

This template returns the name of the month whose number is in parameter. Alternatively, the English month name or abbreviation (with any letter case) can be given.

Syntax:
{{MONTHNAME|month}}
  • The month value is interpreted modulo 12 (extra leading zeroes and decimals are ignored).
Examples for all standard English month names:
{{MONTHNAME|JANUARY}} returns Read first chapter onlinejanuar
{{MONTHNAME|FEBRUARY}} returns Read first chapter onlinefebruar
{{MONTHNAME|MARCH}} returns Read first chapter onlinemars
{{MONTHNAME|APRIL}} returns Read first chapter onlineapril
{{MONTHNAME|MAY}} returns Read first chapter onlinemai
{{MONTHNAME|JUNE}} returns Read first chapter onlinejuni
{{MONTHNAME|JULY}} returns Read first chapter onlinejuli
{{MONTHNAME|AUGUST}} returns Read first chapter onlineaugust
{{MONTHNAME|SEPTEMBER}} returns Read first chapter onlineseptember
{{MONTHNAME|OCTOBER}} returns Read first chapter onlineoktober
{{MONTHNAME|NOVEMBER}} returns Read first chapter onlinenovember
{{MONTHNAME|DECEMBER}} returns Read first chapter onlinedesember
Examples for all abbreviated English month names:
{{MONTHNAME|jan}} returns Read first chapter onlinejanuar
{{MONTHNAME|feb}} returns Read first chapter onlinefebruar
{{MONTHNAME|mar}} returns Read first chapter onlinemars
{{MONTHNAME|apr}} returns Read first chapter onlineapril
{{MONTHNAME|may}} returns Read first chapter onlinemai
{{MONTHNAME|jun}} returns Read first chapter onlinejuni
{{MONTHNAME|jul}} returns Read first chapter onlinejuli
{{MONTHNAME|aug}} returns Read first chapter onlineaugust
{{MONTHNAME|sep}} returns Read first chapter onlineseptember
{{MONTHNAME|oct}} returns Read first chapter onlineoktober
{{MONTHNAME|nov}} returns Read first chapter onlinenovember
{{MONTHNAME|dec}} returns Read first chapter onlinedesember
Examples for all standard month numbers:
{{MONTHNAME|1}} returns Read first chapter onlinejanuar
{{MONTHNAME|2}} returns Read first chapter onlinefebruar
{{MONTHNAME|3}} returns Read first chapter onlinemars
{{MONTHNAME|4}} returns Read first chapter onlineapril
{{MONTHNAME|5}} returns Read first chapter onlinemai
{{MONTHNAME|6}} returns Read first chapter onlinejuni
{{MONTHNAME|7}} returns Read first chapter onlinejuli
{{MONTHNAME|8}} returns Read first chapter onlineaugust
{{MONTHNAME|9}} returns Read first chapter onlineseptember
{{MONTHNAME|10}} returns Read first chapter onlineoktober
{{MONTHNAME|11}} returns Read first chapter onlinenovember
{{MONTHNAME|12}} returns Read first chapter onlinedesember
Examples for month numbers with extra leading zero:
{{MONTHNAME|01}} returns Read first chapter onlinejanuar
{{MONTHNAME|02}} returns Read first chapter onlinefebruar
{{MONTHNAME|03}} returns Read first chapter onlinemars
{{MONTHNAME|04}} returns Read first chapter onlineapril
{{MONTHNAME|05}} returns Read first chapter onlinemai
{{MONTHNAME|06}} returns Read first chapter onlinejuni
{{MONTHNAME|07}} returns Read first chapter onlinejuli
{{MONTHNAME|08}} returns Read first chapter onlineaugust
{{MONTHNAME|09}} returns Read first chapter onlineseptember
Examples for month number cyclic underflows and overflows, from computed values:
{{MONTHNAME|-12}} returns Read first chapter onlinedesember
{{MONTHNAME|-11}} returns Read first chapter onlinejanuar
{{MONTHNAME|-10}} returns Read first chapter onlinefebruar
{{MONTHNAME|-9}} returns Read first chapter onlinemars
{{MONTHNAME|-3}} returns Read first chapter onlineoktober
{{MONTHNAME|-2}} returns Read first chapter onlineoktober
{{MONTHNAME|-1}} returns Read first chapter onlinenovember
{{MONTHNAME|0}} returns Read first chapter onlinedesember
{{MONTHNAME|13}} returns Read first chapter onlinejanuar
{{MONTHNAME|14}} returns Read first chapter onlinefebruar
{{MONTHNAME|15}} returns Read first chapter onlinemars
{{MONTHNAME|16}} returns Read first chapter onlineapril
{{MONTHNAME|23}} returns Read first chapter onlinenovember
{{MONTHNAME|24}} returns Read first chapter onlinedesember
{{MONTHNAME|25}} returns Read first chapter onlinejanuar
{{MONTHNAME|1200}} returns Read first chapter onlinedesember
{{MONTHNAME|1201}} returns Read first chapter onlinejanuar
{{MONTHNAME|1212}} returns Read first chapter onlinedesember

{{subst:monthname|6|subst=subst:}} gives the wikitext June.

Se også