Help:Variables

From Festipedia, hosted by the FR Heritage Group

This is a list of the variables that can be used with this wiki. Some depend on the page in which they are used, some depend on the time, some give statistical information about the wiki and there are a few miscellaneous variables. In the tables below, the left hand column contains the name of the variable in double braces as you would type it on the page, the right hand column shows the value of the variable for this page at this time.

Depending on page

{{PAGENAME}} Variables {{PAGENAMEE}} Variables
{{NAMESPACE}} Help {{NAMESPACEE}} Help
{{FULLPAGENAME}} Help:Variables {{FULLPAGENAMEE}} Help:Variables
{{REVISIONID}} 49551 {{REVISIONTIMESTAMP}} 20150618234824
{{REVISIONDAY}} 18 {{REVISIONDAY2}} 18
{{REVISIONMONTH}} 06 {{REVISIONYEAR}} 2015
{{TALKSPACE}} Help talk {{SUBJECTSPACE}} Help
{{TALKSPACEE}} Help_talk {{SUBJECTSPACEE}} Help
{{TALKPAGENAME}} Help talk:Variables {{SUBJECTPAGENAME}} Help:Variables
{{TALKPAGENAMEE}} Help_talk:Variables {{SUBJECTPAGENAMEE}} Help:Variables
{{ARTICLESPACE}} Help {{ARTICLEPAGENAME}} Help:Variables
{{ARTICLESPACEE}} Help {{ARTICLEPAGENAMEE}} Help:Variables
{{BASEPAGENAME}} Variables {{SUBPAGENAME}} Variables
{{BASEPAGENAMEE}} Variables {{SUBPAGENAMEE}} Variables

For pages in the main namespace, NAMESPACE, NAMESPACEE, ARTICLESPACE and ARTICLESPACEE return an empty string.

PAGENAMEE and NAMESPACEE give the page name and namespace in the form used in URLs, i.e. with spaces replaced by underscores and with special characters encoded appropriately.

Depending on time

{{CURRENTYEAR}} 2024 {{CURRENTMONTH}} 12
{{CURRENTMONTHNAME}} December {{CURRENTMONTHABBREV}} Dec
{{CURRENTMONTHNAMEGEN}} December {{CURRENTWEEK}} 51
{{CURRENTDAY}} 21 {{CURRENTDAY2}} 21
{{CURRENTDAYNAME}} Saturday {{CURRENTDOW}} 6
{{CURRENTTIME}} 14:28 {{CURRENTHOUR}} 14
{{CURRENTTIMESTAMP}} 20241221142817
{{LOCALYEAR}} 2024 {{LOCALMONTH}} 12
{{LOCALMONTHNAME}} December {{LOCALMONTHABBREV}} Dec
{{LOCALMONTHNAMEGEN}} December {{LOCALWEEK}} 51
{{LOCALDAY}} 21 {{LOCALDAY2}} 21
{{LOCALDAYNAME}} Saturday {{LOCALDOW}} 6
{{LOCALTIME}} 14:28 {{LOCALHOUR}} 14
{{LOCALTIMESTAMP}} 20241221142817
CURRENTDOW
0=Sunday, 1=Monday, .. 6=Saturday.
CURRENTWEEK
is the number of the current week (1-53) according to ISO 8601 with no leading zero.
CURRENTDAY2
adds a leading zero to days 1...9, this allows you to construct ISO date formats such as 2024-12-21T14:28Z.
CURRENTMONTHNAMEGEN
is always the same as CURRENTMONTHNAME.

Statistical information

{{NUMBEROFADMINS}} 4 {{NUMBEROFADMINS:R}} 4
{{NUMBEROFARTICLES}} 2,826 {{NUMBEROFARTICLES:R}} 2826
{{NUMBEROFFILES}} 4,139 {{NUMBEROFFILES:R}} 4139
{{NUMBEROFPAGES}} 13,762 {{NUMBEROFPAGES:R}} 13762
{{NUMBEROFEDITS}} 100,743 {{NUMBEROFEDITS:R}} 100743
{{NUMBEROFUSERS}} 26,060 {{NUMBEROFUSERS:R}} 26060
{{CURRENTVERSION}} 1.42.3

For the statistics, a page is counted as an article if it:

  • is in the main namespace
  • is not a redirect page
  • includes at least one double open square brackets

Miscellaneous

{{SITENAME}} Festipedia {{SERVER}} https://www.festipedia.org.uk
{{SERVERNAME}} www.festipedia.org.uk {{SCRIPTPATH}} /w
{{DIRMARK}} {{DIRECTIONMARK}}
{{CONTENTLANGUAGE}} en {{CONTENTLANG}} en