H:Page name variables

From Zak

Word Example Explanation
{{PAGENAME}} H:Page name variables Returns the name of the current page, including all levels (Title/Subtitle).
{{PAGENAMEE}} H:Page_name_variables More URL-friendly percent encoded special characters (To use an articlename in an external link).
{{SUBPAGENAME}}
{{SUBPAGENAMEE}}
H:Page name variables
H:Page_name_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}}
H:Page name variables
H:Page_name_variables
[MW1.7+] The basename of a subpage ("Title/Other" on "Title/Other/Subtitle"), see Help:Link.
{{NAMESPACE}}
{{NAMESPACEE}}

Returns the name of the namespace the current page resides in.
{{FULLPAGENAME}}
{{FULLPAGENAMEE}}
H:Page name variables
H:Page_name_variables
[MW1.6+] Shorthands for NAMESPACE+PAGENAME
{{TALKSPACE}}
{{TALKSPACEE}}
Talk
Talk
[MW1.7+] Name of next odd namespace (e.g. 4 => 5)
{{SUBJECTSPACE}}
{{SUBJECTSPACEE}}

[MW1.7+] Name of last even namespace (e.g. 5 => 4)
{{ARTICLESPACE}}
{{ARTICLESPACEE}}

[MW1.7+] An alias for SUBJECTSPACE(E)
{{TALKPAGENAME}}
{{TALKPAGENAMEE}}
Talk:H:Page name variables
Talk:H:Page_name_variables
[MW1.7+] FULLPAGENAME in its TALKSPACE
{{SUBJECTPAGENAME}}
{{SUBJECTPAGENAMEE}}
H:Page name variables
H:Page_name_variables
[MW1.7+] FULLPAGENAME in its SUBJECTSPACE
{{ARTICLEPAGENAME}}
{{ARTICLEPAGENAMEE}}
H:Page name variables
H:Page_name_variables
[MW1.7+] An alias for SUBJECTPAGENAME(E)
{{REVISIONID}} 1358 [MW1.5+] The unique identifying number of a page, see Help:Diff. Note that when editing a page, this value is null.
{{REVISIONDAY}} 29 [MW1.8+] The day on which the page was last modified.
{{REVISIONDAY2}} 29 [MW1.8+] The day on which the page was last modified, but with a leading zero (01 .. 31).
{{REVISIONMONTH}} 8 [MW1.8+] The month in which the page was last modified.
{{REVISIONYEAR}} 2007 [MW1.8+] The year in which the page was last modified.
{{REVISIONTIMESTAMP}} 20070829185026 [MW1.8+] ISO 8601 time stamp, indicating when the page was last modified.
{{SITENAME}} Zak Value of Template:H:mwg.
{{SERVER}} http://editthis.info Value of Template:H:mwg
{{SCRIPTPATH}} /zak [MW1.5+] Template:H:mwg
{{SERVERNAME}} editthis.info [MW1.5+] Template:H:mwg
Template:-

Note to future editors: this page is referenced from help pages so that all references to this table can use the same information so that different help pages that reference this table don't have different information.

Personal tools