Template:REVISIONMONTHNAME/doc: Difference between revisions
Jump to navigation
Jump to search
imported>Daniel Mietchen (documentation) |
imported>Daniel Mietchen (Undo self; was correct before) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
This [[CZ:Templates|template]] displays the month of the latest revision of a given page as a word. It does so by converting the number delivered by <code><nowiki>{{REVISIONMONTH}}</nowiki></code> into the name of the corresponding month. | This [[CZ:Templates|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 [http://www.mediawiki.org/wiki/Help:Magic_words magic word] <code><nowiki>{{REVISIONMONTH}}</nowiki></code> into the name of the corresponding month. | ||
=== Usage === | === Usage === | ||
Line 6: | Line 6: | ||
{{REVISIONMONTHNAME}} | {{REVISIONMONTHNAME}} | ||
</pre> | </pre> | ||
on it. For | 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.