Template:REVISIONMONTHNAME/doc: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Daniel Mietchen
(formatting)
imported>Daniel Mietchen
(Undo self; was correct before)
 
Line 6: Line 6:
{{REVISIONMONTHNAME}}
{{REVISIONMONTHNAME}}
</pre>
</pre>
on it. For {{REVISIONMONTHNAME/doc}} (which was last edited on {{REVISIONMONTHNAME}} {{REVISIONDAY2}}, {{REVISIONYEAR}}), this gives
on it. For [[Template:REVISIONMONTHNAME/doc]] (which was last edited on {{REVISIONMONTHNAME}} {{REVISIONDAY2}}, {{REVISIONYEAR}}), this gives
{{REVISIONMONTHNAME}}.
{{REVISIONMONTHNAME}}.

Latest revision as of 16:06, 30 November 2009

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.