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}} 04
{{CURRENTMONTHNAME}} April {{CURRENTMONTHABBREV}} Apr
{{CURRENTMONTHNAMEGEN}} April {{CURRENTWEEK}} 16
{{CURRENTDAY}} 18 {{CURRENTDAY2}} 18
{{CURRENTDAYNAME}} Thursday {{CURRENTDOW}} 4
{{CURRENTTIME}} 13:50 {{CURRENTHOUR}} 13
{{CURRENTTIMESTAMP}} 20240418135056
{{LOCALYEAR}} 2024 {{LOCALMONTH}} 04
{{LOCALMONTHNAME}} April {{LOCALMONTHABBREV}} Apr
{{LOCALMONTHNAMEGEN}} April {{LOCALWEEK}} 16
{{LOCALDAY}} 18 {{LOCALDAY2}} 18
{{LOCALDAYNAME}} Thursday {{LOCALDOW}} 4
{{LOCALTIME}} 13:50 {{LOCALHOUR}} 13
{{LOCALTIMESTAMP}} 20240418135056
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-04-18T13:50Z.
CURRENTMONTHNAMEGEN
is always the same as CURRENTMONTHNAME.

Statistical information

{{NUMBEROFADMINS}} 4 {{NUMBEROFADMINS:R}} 4
{{NUMBEROFARTICLES}} 2,813 {{NUMBEROFARTICLES:R}} 2813
{{NUMBEROFFILES}} 4,077 {{NUMBEROFFILES:R}} 4077
{{NUMBEROFPAGES}} 13,586 {{NUMBEROFPAGES:R}} 13586
{{NUMBEROFEDITS}} 99,454 {{NUMBEROFEDITS:R}} 99454
{{NUMBEROFUSERS}} 26,037 {{NUMBEROFUSERS:R}} 26037
{{CURRENTVERSION}} 1.41.1

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