1,071
edits
Changes
m
Final fix with status display on template page only
<noinclude>Subpage functionality is {{Underconstruction}}</noinclude>#ifeq: {{#ifBASEPAGENAME: {{#titleparts: {1|{{PAGENAMEFULLPAGENAME}} |-/1 1/2 2}}}}}| {{#titlepartsPAGENAME: {{PAGENAME{1|{{FULLPAGENAME}} |-/1 1/2 2}}} }}| {{ROOTPAGENAME}}<b>DISABLED</b>:<br/>| <b>ENABLED</b>:<br/>}}</noinclude>{{#ifexpr: <!-- Check if subpage part is present -->1 and {{documentation|content=#if: {{#titleparts:{{PAGENAME:{{{SPW 1|is not on |name={{PAGENAMEFULLPAGENAME}}}}} }} |-1}}{{Ambox |border=red 1|type= Dropin !0}} |info= This <noinclude>Subpage part <b><i>is a dropin functionality for wikis that don't have [[mw:Special:MyLanguage</Help:Subpages|Subpages]] enabled ! }};UsageUse i><code/b>present.<nowikibr/>{{"</nowikinoinclude >{{#titleparts:{{PAGENAME:{{{1|{{FULLPAGENAME}}}}} }}|-1}}| <nowikinoinclude>Subpage part is <b><i>not</i>}}</nowikib>present.<br /code> inplace of Returning <code><nowiki>{{</nowiki>{{PAGENAME}}ROOTPAGENAME:<var>Pagename</var><nowiki>}}</nowiki></code> to make use of the same functionality as the [[mweven for MediaWiki versions <1.22<br/>"</noinclude >{{#titleparts:Special{{PAGENAME:MyLanguage/Help:Magic words#Page_names{{{1|{{FULLPAGENAME}}}}} }}|magic-word]].1}}}}<noinclude>"See also*[[Template:BASEPAGENAMEE]]{{documentation}}[[Category:General wiki templates]]
</noinclude>