Help:Variables
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}}
|
10 |
{{CURRENTMONTHNAME}}
|
October | {{CURRENTMONTHABBREV}}
|
Oct |
{{CURRENTMONTHNAMEGEN}}
|
October | {{CURRENTWEEK}}
|
44 |
{{CURRENTDAY}}
|
30 | {{CURRENTDAY2}}
|
30 |
{{CURRENTDAYNAME}}
|
Wednesday | {{CURRENTDOW}}
|
3 |
{{CURRENTTIME}}
|
06:49 | {{CURRENTHOUR}}
|
06 |
{{CURRENTTIMESTAMP}}
|
20241030064932 | ||
{{LOCALYEAR}}
|
2024 | {{LOCALMONTH}}
|
10 |
{{LOCALMONTHNAME}}
|
October | {{LOCALMONTHABBREV}}
|
Oct |
{{LOCALMONTHNAMEGEN}}
|
October | {{LOCALWEEK}}
|
44 |
{{LOCALDAY}}
|
30 | {{LOCALDAY2}}
|
30 |
{{LOCALDAYNAME}}
|
Wednesday | {{LOCALDOW}}
|
3 |
{{LOCALTIME}}
|
06:49 | {{LOCALHOUR}}
|
06 |
{{LOCALTIMESTAMP}}
|
20241030064932 |
- 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-10-30T06:49Z.
- CURRENTMONTHNAMEGEN
- is always the same as CURRENTMONTHNAME.
Statistical information
{{NUMBEROFADMINS}}
|
4 | {{NUMBEROFADMINS:R}}
|
4 |
{{NUMBEROFARTICLES}}
|
2,817 | {{NUMBEROFARTICLES:R}}
|
2817 |
{{NUMBEROFFILES}}
|
4,128 | {{NUMBEROFFILES:R}}
|
4128 |
{{NUMBEROFPAGES}}
|
13,730 | {{NUMBEROFPAGES:R}}
|
13730 |
{{NUMBEROFEDITS}}
|
100,300 | {{NUMBEROFEDITS:R}}
|
100300 |
{{NUMBEROFUSERS}}
|
26,054 | {{NUMBEROFUSERS:R}}
|
26054 |
{{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 |