|
|
Line 1: |
Line 1: |
| Testing varaibales | | Testing varaibales |
|
| |
|
| {{#titleparts: {{PAGENAME}} | 1 | 2 }}
| | Page: {{PAGENAME}} |
|
| |
|
| {{#ifexpr: {{#titleparts: {{PAGENAME}} | 1 | 2 }} | yes | no}}
| | Version: {{#titleparts: {{PAGENAME}} | 1 | 2 }} |
|
| |
|
| {{FULLPAGENAMEE}} Help:Magic words Namespace and full page title (including all subpage levels). | | {{#ifexpr: {{#titleparts: {{PAGENAME}} | 1 | 2 }} |
| ≥ 1.6
| | |:[[Special:myLanguage/{{#titleparts: {{PAGENAME}} | 3 | 1 }}/Introduction|Introducing Plan]] |
| | | |:[[Special:myLanguage/Plan/Manual/Introduction|Introducing Plan]] |
| {{PAGENAMEE}} Magic words Full page title (including all subpage levels) without the namespace. | | }} |
| {{BASEPAGENAMEE}} 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
| |
| | |
| {{SUBPAGENAMEE}} Magic words The subpage title ("bar" on "Help:Title/foo/bar"). If no subpage exists the value of {{PAGENAME}} is returned.
| |
| ≥ 1.6
| |
| | |
| {{SUBJECTPAGENAMEE}}
| |
| | |
| {{ARTICLEPAGENAMEE}} Help:Magic words
| |
| Help:Magic words Full page name of the associated subject (e.g. article or file). Useful on talk pages.
| |
| ≥ 1.7
| |
| | |
| {{TALKPAGENAMEE}} Help talk:Magic words Full page name of the associated talk page.
| |
| ≥ 1.7
| |
| | |
| {{ROOTPAGENAMEE}} Magic words Name of the root of the current page. Would return Title on page Help:Title/Foo/Bar
| |