Template:REVISIONMONTHNAME: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Daniel Mietchen
(line break)
imported>Daniel Mietchen
(formatting)
 
Line 1: Line 1:
<includeonly>
<includeonly>{{#switch:{{REVISIONMONTH}}
{{#switch:{{REVISIONMONTH}}
|01 = January  
|01 = January  
|02 = February
|02 = February
Line 13: Line 12:
|11 = November
|11 = November
|12 = December
|12 = December
}}
}}</includeonly><noinclude>{{TlDoc}}</noinclude>
</includeonly><noinclude>{{TlDoc}}</noinclude>

Latest revision as of 15:38, 30 November 2009

This documentation is transcluded from Template:REVISIONMONTHNAME/doc (edit | history)

This template displays the month of the latest revision of a given page as a word. It does so by converting the number delivered by the magic word {{REVISIONMONTH}} into the name of the corresponding month.

Usage

The month of the last revision of a page can be displayed by placing

{{REVISIONMONTHNAME}}

on it. For Template:REVISIONMONTHNAME/doc (which was last edited on November 30, 2009), this gives November.