User:Flutter/Help:Magic word Variables

From Uncyclopedia, the content-free encyclopedia

Jump to: navigation, search
biscuit_brigade_skeith.gif biscuit_brigade_castle.gif

edit Time

The time in UTC. Note that if the page was displayed by the same user and has not changed (has not been edited) since the last time it was displayed, it is possible that the page may be cached (by the user's browser) and the displayed time or date may not change. Also, if a heavily used page, rather than freshly rendered by the software each time it is generated, is instead being retrieved from a caching system (such as the main page on Wikipedia) the date or time may not change from the last time the page was originally retrieved by the caching hardware or software.

Word Example Explanation
{{CURRENTDAY}} 24 Displays the current day in numeric form.
{{CURRENTDAY2}} 24 [MW1.6+] Same as {{CURRENTDAY}}, but with leading zero (01 .. 31).
{{CURRENTDAYNAME}} Thursday Name of the day in the language of the project or English.
{{CURRENTDOW}} 4 Same as {{CURRENTDAYNAME}}, but as a number (0=Sunday, 1=Monday...).
{{CURRENTMONTH}} 07 The number 01 .. 12 of the month.
{{CURRENTMONTHABBREV}} Jul [MW1.5+] Same as {{CURRENTMONTH}}, but in abbreviated form (Jan .. Dec).
{{CURRENTMONTHNAME}} July Same as {{CURRENTMONTH}}, but in named form (January .. December).
{{CURRENTTIME}} 03:11 The current time (00:00 .. 23:59).
{{CURRENTHOUR}} 03 The current hour (00 .. 23).
{{CURRENTWEEK}} 30 Number of the current week (1-53) according to ISO 8601 with no leading zero.
{{CURRENTYEAR}} 2014 Returns the current year.
{{CURRENTTIMESTAMP}} 20140724031103 [MW1.7+] ISO 8601 time stamp.

edit Local time

The time depending on the local timezone of the wiki (not depending on the timezone in the user's preference settings). (All words [MW1.8+] )

Word Example Explanation
{{LOCALDAY}} 24 Displays the local day of the month in numeric form.
{{LOCALDAY2}} 24 Same as {{LOCALDAY}}, but with a leading zero (01 .. 31).
{{LOCALDAYNAME}} Thursday Name of the day in the language of the project or English.
{{LOCALDOW}} 4 Same as {{LOCALDAYNAME}}, but as a number (0=Sunday, 1=Monday...).
{{LOCALMONTH}} 07 The number 01 .. 12 of the month.
{{LOCALMONTHABBREV}} Jul Same as {{LOCALMONTH}}, but in abbreviated form as Jan .. Dec.
{{LOCALMONTHNAME}} July Same as {{LOCALMONTH}}, but in named form as January .. December.
{{LOCALTIME}} 03:11 The local time (00:00 .. 23:59).
{{LOCALHOUR}} 03 The local hour (00 .. 23).
{{LOCALWEEK}} 30 Number of the local week (1-53) according to ISO 8601 with no leading zero.
{{LOCALYEAR}} 2014 Returns the local year.
{{LOCALTIMESTAMP}} 20140724031103 ISO 8601 time stamp.

edit Statistics

Statistics variables give thousands separators unless ":R" for "raw" is added (actually, these versions are parser functions).

Word Example Explanation
{{CURRENTVERSION}} 1.19.17 [MW1.7+] [1]
{{NUMBEROFEDITS}}
{{NUMBEROFEDITS:R}}
5,822,903
5822903
[MW1.10+ (r21319)] Returns the total number of page edits since MediaWiki, the software that runs this site, was installed.
{{NUMBEROFARTICLES}}
{{NUMBEROFARTICLES:R}}
30,616
30616
A variable which returns the total number of articles on the Wiki.
{{NUMBEROFPAGES}}
{{NUMBEROFPAGES:R}}
354,623
354623
[MW1.7+] Returns the total number of pages. [2]
{{NUMBEROFFILES}}
{{NUMBEROFFILES:R}}
98,994
98994
[MW1.5+] Returns the number of uploaded files (rows in the image table).
{{NUMBEROFUSERS}}
{{NUMBEROFUSERS:R}}
23,455,733
23455733
[MW1.7+] Returns the number of registered users (rows in the user table).
{{NUMBEROFADMINS}}
{{NUMBEROFADMINS:R}}
38
38
[MW1.7+] Returns the number of administrators (users in the sysop group).
{{PAGESINNAMESPACE}}  disabled here Longer alias of PAGESINNS
{{PAGESINNS:ns}}
{{PAGESINNS:ns:R}}
{{PAGESINNS:2}} 
{{PAGESINNS:2:R}} 
disabled here
[MW1.7+] Returns the number of pages in the given namespace. Disabled by default, enable with AllowSlowParserFunctions.

edit Page names and related info

Word Example Explanation
{{PAGENAME}} Flutter/Help:Magic word Variables Returns the name of the current page, including all levels (Title/Subtitle). This does not include the name of the namespace.
{{PAGENAMEE}} Flutter/Help:Magic_word_Variables More URL-friendly percent encoded special characters (To use an articlename in an external link).
{{SUBPAGENAME}}
{{SUBPAGENAMEE}}
Help:Magic word Variables
Help:Magic_word_Variables
[MW1.6+] Name of the current page, excluding parent pages ("Subtitle" on "Title/Other/Subtitle") in namespaces supporting subpages, see Help:Link.
{{BASEPAGENAME}}
{{BASEPAGENAMEE}}
Flutter
Flutter
[MW1.7+] The basename of a subpage ("Title/Other" on "Title/Other/Subtitle"), see Help:Link.
{{NAMESPACE}}
{{NAMESPACEE}}
User
User
Returns the name of the namespace the current page resides in.
{{FULLPAGENAME}}
{{FULLPAGENAMEE}}
User:Flutter/Help:Magic word Variables
User:Flutter/Help:Magic_word_Variables
[MW1.6+] Shorthands for NAMESPACE+PAGENAME
{{TALKSPACE}}
{{TALKSPACEE}}
User talk
User_talk
[MW1.7+] Name of next odd namespace (e.g. 4 => 5)
{{SUBJECTSPACE}}
{{SUBJECTSPACEE}}
User
User
[MW1.7+] Name of last even namespace (e.g. 5 => 4)
{{ARTICLESPACE}}
{{ARTICLESPACEE}}
User
User
[MW1.7+] An alias for SUBJECTSPACE(E)
{{TALKPAGENAME}}
{{TALKPAGENAMEE}}
User talk:Flutter/Help:Magic word Variables
User_talk:Flutter/Help:Magic_word_Variables
[MW1.7+] FULLPAGENAME in its TALKSPACE
{{SUBJECTPAGENAME}}
{{SUBJECTPAGENAMEE}}
User:Flutter/Help:Magic word Variables
User:Flutter/Help:Magic_word_Variables
[MW1.7+] FULLPAGENAME in its SUBJECTSPACE
{{ARTICLEPAGENAME}}
{{ARTICLEPAGENAMEE}}
User:Flutter/Help:Magic word Variables
User:Flutter/Help:Magic_word_Variables
[MW1.7+] An alias for SUBJECTPAGENAME(E)
{{REVISIONID}} 2748578 [MW1.5+] The unique identifying number of a page, see Help:Diff. Note that when editing a page, this value is null.
{{REVISIONDAY}} 22 [MW1.8+] The day on which the page was last modified.
{{REVISIONDAY2}} 22 [MW1.8+] The day on which the page was last modified, but with a leading zero (01 .. 31).
{{REVISIONMONTH}} 01 [MW1.8+] The month in which the page was last modified.
{{REVISIONYEAR}} 2008 [MW1.8+] The year in which the page was last modified.
{{REVISIONTIMESTAMP}} 20080122000842 [MW1.8+] ISO 8601 time stamp, indicating when the page was last modified.
{{SITENAME}} Uncyclopedia Value of Template:H:mwg.
{{SERVER}} http://uncyclopedia.wikia.com Value of Template:H:mwg
{{SCRIPTPATH}} [MW1.5+] Template:H:mwg
{{SERVERNAME}} uncyclopedia.wikia.com [MW1.5+] Template:H:mwg
Personal tools
projects