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 22: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}} | 16 | Displays day | |||
{{CURRENTYEAR}} | 2024 | Displays year | |||
{{CURRENTMONTHNAME}} | August | Displays month | |||
{{CURRENTTIME}} | 20:35 | Displays time | |||
{{CURRENTHOUR}} | 20 | Displays hour | |||
More | |||||
{{PAGENAME}} | Variables | Displays name of page (without namespace) | {{PAGENAMEE}} | Variables | Same as PAGENAME, but formatted for an URL. |