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:Templates|template]] (one without parameters). Variables often refer to specific aspects of the respective page or the wiki, or to time and date variables.  
+
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}} 17 Displays day
{{CURRENTYEAR}} 2024 Displays year
{{CURRENTMONTHNAME}} May Displays month
{{CURRENTTIME}} 03:10 Displays time
{{CURRENTHOUR}} 03 Displays hour
More
{{PAGENAME}} Variables Displays name of page (without namespace) {{PAGENAMEE}} Variables Same as PAGENAME, but formatted for an URL.

See also

Template:Incomplete