Template:Month: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
m (Protected "Template:Month": Changing this template will break others ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
(+dadate)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#switch:{{#sub:{{PAGENAME}}|-5|}}
<includeonly>{{#switch:{{#sub:{{dadate|{{PAGENAME}}}}|-5|}}
|nuary=[[January]]
|nuary=January
|ruary=[[February]]
|ruary=February
|March=[[March]]
|March=March
|April=[[April]]
|April=April
| June=[[June]]
| June=June
| July=[[July]]
| July=July
|ugust=[[August]]
|ugust=August
|ember={{switch:{{#sub:{{PAGENAME}}|-6|}}
|ember={{#switch:{{#sub:{{dadate|{{PAGENAME}}}}|-6|}}
   |tember=[[September]]
   |tember=September
   |vember=[[November]]
   |vember=November
   |cember=[[December]] }}
   |cember=December }}
|tober=[[October]]
|tober=October
|#default=[[May]]
|#default=May
}}<noinclude>[[Category:Timeline templates:PAGENAME]]{{documentation}}</noinclude>
}}</includeonly><noinclude>[[Category:Timeline templates|PAGENAME]]{{documentation}}</noinclude>

Latest revision as of 12:46, 12 June 2013

Instructions for {{Month}}
{{Month}} is a constituent part of {{DayNav}}. It tells {{DayNav}} what the month is, based upon the page name of the page on which it's placed. If it's on 3 January, for instance, it will inform {{DayNav}} that the month is January.