Fandom

Scratchpad

Foo/Bar

< Foo

215,915pages on
this wiki
Add New Page
Discuss this page0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Testing sub-pages

See also

Page names and related info

Word Example Explanation
{{PAGENAME}} Foo/Bar Returns the name of the current page, including all levels (Title/Subtitle).
{{PAGENAMEE}} Foo/Bar More URL-friendly percent encoded special characters (To use an articlename in an external link).
{{SUBPAGENAME}}
{{SUBPAGENAMEE}}
Bar
Bar
[MW1.6+] Name of the current page, excluding parent pages ("Subtitle" on "Title/Subtitle") in namespaces supporting subpages, see Help:Link.
{{BASEPAGENAME}}
{{BASEPAGENAMEE}}
Foo
Foo
[MW1.7+] The basename of a subpage ("Title" on "Title/Subtitle"), see Help:Link.
{{NAMESPACE}}
{{NAMESPACEE}}

Returns the name of the namespace the current page resides in.
{{FULLPAGENAME}}
{{FULLPAGENAMEE}}
Foo/Bar
Foo/Bar
[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 next even namespace (e.g. 5 => 4)
{{ARTICLESPACE}}
{{ARTICLESPACEE}}

[MW1.7+] An alias for SUBJECTSPACE(E)
{{TALKPAGENAME}}
{{TALKPAGENAMEE}}
Talk:Foo/Bar
Talk:Foo/Bar
[MW1.7+] FULLPAGENAME in its TALKSPACE
{{SUBJECTPAGENAME}}
{{SUBJECTPAGENAMEE}}
Foo/Bar
Foo/Bar
[MW1.7+] FULLPAGENAME in its SUBJECTSPACE
{{ARTICLEPAGENAME}}
{{ARTICLEPAGENAMEE}}
Foo/Bar
Foo/Bar
[MW1.7+] An alias for SUBJECTPAGENAME(E)
{{REVISIONID}} 281857 [MW1.5+] The unique identifying number of a page, see Help:Diff.
{{SITENAME}} Scratchpad Value of $wgSitename.
{{SERVER}} http://scratchpad.wikia.com Value of $wgServer
{{SCRIPTPATH}} [MW1.5+] $wgScriptPath
{{SERVERNAME}} scratchpad.wikia.com [MW1.5+] $wgServerName

Also on Fandom

Random wikia