|
|
(4 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| Testing varaibales
| |
|
| |
|
| {{NAMESPACE}}
| | Template: |
| {{FULLPAGENAME}} Help:Magic words Namespace and full page title (including all subpage levels). | | {{Plan/Page|page=Introduction|title=Introducing Plan}} |
| ≥ 1.6
| |
|
| |
|
| {{PAGENAME}} Magic words Full page title (including all subpage levels) without the namespace. | | {{Plan/Prevnext|indextext=Content|nextpage=Introduction}} |
| {{BASEPAGENAME}} Magic words Page title of the page in the immediately superior subpage level without the namespace ("Title/foo" on "Help:Title/foo/bar").
| |
| | |
| For more complex splitting, use {{#titleparts:}} from the ParserFunctions extension.
| |
|
| |
| ≥ 1.7
| |
| | |
| {{SUBPAGENAME}} Magic words The subpage title ("bar" on "Help:Title/foo/bar"). If no subpage exists the value of {{PAGENAME}} is returned.
| |
| ≥ 1.6
| |
| | |
| {{SUBJECTPAGENAME}}
| |
| | |
| {{ARTICLEPAGENAME}} Help:Magic words
| |
| Help:Magic words Full page name of the associated subject (e.g. article or file). Useful on talk pages.
| |
| ≥ 1.7
| |
| | |
| {{TALKPAGENAME}} Help talk:Magic words Full page name of the associated talk page.
| |
| ≥ 1.7
| |
| | |
| {{ROOTPAGENAME}} Magic words Name of the root of the current page. Would return Title on page Help:Title/Foo/Bar
| |
Latest revision as of 19:26, 2 December 2019