Template:REVISIONMONTHNAME/doc: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Daniel Mietchen
(link to MW help)
imported>Daniel Mietchen
(documentation)
Line 6: Line 6:
{{REVISIONMONTHNAME}}
{{REVISIONMONTHNAME}}
</pre>
</pre>
on it. For the current page (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}}.

Revision as of 17:05, 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.