Template:Month: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(fixing switch syntax error)
(+dadate)
 
Line 1: Line 1:
<includeonly>{{#switch:{{#sub:{{PAGENAME}}|-5|}}
<includeonly>{{#switch:{{#sub:{{dadate|{{PAGENAME}}}}|-5|}}
|nuary=January
|nuary=January
|ruary=February
|ruary=February
Line 7: Line 7:
| 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

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.