Jump to content

User:DePiep/sub1

From Wikipedia, the free encyclopedia

sub1

sub2

Variables

[edit]

mw:Help:Magic words#Variables

Page name variable Output Description
{{FULLPAGENAME}} User:DePiep/sub1 Canonical page name. Title line. Title unless letter-case is altered with {{DISPLAYTITLE}}.
{{PAGENAME}} DePiep/sub1 Title line excluding namespace.
{{BASEPAGENAME}} DePiep Title of parent page, excluding namespace.
{{ROOTPAGENAME}} DePiep Title of topmost parent (before all subpages), excluding namespace.
{{SUBPAGENAME}} sub1 On a subpage, rightmost portion of current title; higher subpagenames show as backlinks.
{{ARTICLEPAGENAME}} User:DePiep/sub1 Title of the subject page associated with the current page. These are useful on talk pages (but see note about Category talk pages).
{{SUBJECTPAGENAME}} User:DePiep/sub1
{{TALKPAGENAME}} User talk:DePiep/sub1 Title of the talk page associated with the current page. Useful on subject pages.
{{NAMESPACENUMBER}} 2 Number of the current page's namespace.
{{NAMESPACE}} User Namespace of the title.
{{ARTICLESPACE}} User On a talk page, the namespace part of the title of the associated subject page.
{{SUBJECTSPACE}} User
{{TALKSPACE}} User talk Namespace of the talk page associated with the current page.
{{FULLPAGENAMEE}},
{{PAGENAMEE}},
 (etc.)
User:DePiep/sub1,
DePiep/sub1,
(etc.)
Adding an E to the end of the above variables, renders the above encoded for use in MediaWiki URLs (i.e. with underscores replacing spaces).
{{SHORTDESC}} Only works on the English Wikipedia, where it displays a short description below the article title on mobile platforms. See Wikipedia:Short description.

Note: The magic words above can also take a parameter, in order to parse values on a page other than the current page. A colon (:) is used to pass the parameter, rather than a pipe (|) that is used in templates, like {{MAGICWORD:value}}. For example, {{TALKPAGENAME:Wikipedia:MOS}} returns Wikipedia talk:MOS on any page.

Note: In the "Category" and "Category talk" namespaces, to wikilink (some) page name variables may require prefixing a colon to avoid unwanted categorization.