Difference between revisions of "Help:Variables"
(add a variable) |
m (link) |
||
Line 1: | Line 1: | ||
− | A '''variable''' is called in the form of a [[Help: | + | A '''variable''' is called in the form of a [[Help:Template|template]] (one without parameters). Variables often refer to specific aspects of the respective page or the wiki, or to time and date variables. |
{| class= "wikitable" style="border:1px black solid" | {| class= "wikitable" style="border:1px black solid" |
Revision as of 21:59, 23 November 2007
A variable is called in the form of a template (one without parameters). Variables often refer to specific aspects of the respective page or the wiki, or to time and date variables.
Date | |||||
{{CURRENTDAY}} | 23 | Displays day | |||
{{CURRENTYEAR}} | 2024 | Displays year | |||
{{CURRENTMONTHNAME}} | November | Displays month | |||
{{CURRENTTIME}} | 05:19 | Displays time | |||
{{CURRENTHOUR}} | 05 | Displays hour | |||
More | |||||
{{PAGENAME}} | Variables | Displays name of page (without namespace) | {{PAGENAMEE}} | Variables | Same as PAGENAME, but formatted for an URL. |