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}} 11
{{CURRENTMONTHNAME}} November {{CURRENTMONTHABBREV}} Nov
{{CURRENTMONTHNAMEGEN}} November {{CURRENTWEEK}} 47
{{CURRENTDAY}} 21 {{CURRENTDAY2}} 21
{{CURRENTDAYNAME}} Thursday {{CURRENTDOW}} 4
{{CURRENTTIME}} 09:02 {{CURRENTHOUR}} 09
{{CURRENTTIMESTAMP}} 20241121090232
{{LOCALYEAR}} 2024 {{LOCALMONTH}} 11
{{LOCALMONTHNAME}} November {{LOCALMONTHABBREV}} Nov
{{LOCALMONTHNAMEGEN}} November {{LOCALWEEK}} 47
{{LOCALDAY}} 21 {{LOCALDAY2}} 21
{{LOCALDAYNAME}} Thursday {{LOCALDOW}} 4
{{LOCALTIME}} 09:02 {{LOCALHOUR}} 09
{{LOCALTIMESTAMP}} 20241121090232
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-11-21T09:02Z.
CURRENTMONTHNAMEGEN
is always the same as CURRENTMONTHNAME.

Statistical information

{{NUMBEROFADMINS}} 4 {{NUMBEROFADMINS:R}} 4
{{NUMBEROFARTICLES}} 2,841 {{NUMBEROFARTICLES:R}} 2841
{{NUMBEROFFILES}} 4,128 {{NUMBEROFFILES:R}} 4128
{{NUMBEROFPAGES}} 13,763 {{NUMBEROFPAGES:R}} 13763
{{NUMBEROFEDITS}} 100,573 {{NUMBEROFEDITS:R}} 100573
{{NUMBEROFUSERS}} 26,057 {{NUMBEROFUSERS:R}} 26057
{{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