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)))
No edit summary
Line 1: Line 1:
{{#switch:{{#sub:{{PAGENAME}}|-5|}}
<includeonly>{{#switch:{{#sub:{{PAGENAME}}|-5|}}
|nuary=[[January]]
|nuary=[[January]]
|ruary=[[February]]
|ruary=[[February]]
Line 13: Line 13:
|tober=[[October]]
|tober=[[October]]
|#default=[[May]]
|#default=[[May]]
}}<noinclude>[[Category:Timeline templates:PAGENAME]]{{documentation}}</noinclude>
}}</includeonly><noinclude>[[Category:Timeline templates|PAGENAME]]{{documentation}}</noinclude>

Revision as of 13:02, 1 April 2011

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.