Template:PAGETITLE: Difference between revisions

mNo edit summary
mNo edit summary
 
Line 1: Line 1:
<includeonly>{{#switch:{{SUBPAGENAME}}
<includeonly>{{#switch:{{SUBPAGENAME}}
|Walkthrough={{#if:{{#pos:{{ROOTPAGENAME}}|<nowiki/> (}}|{{#sub:{{ROOTPAGENAME}}|0|{{#rpos:{{ROOTPAGENAME}}|<nowiki/> (}}}}|{{ROOTPAGENAME}}}}
|Walkthrough={{#if:{{#pos:{{ROOTPAGENAME}}|<nowiki/> (}}|{{#sub:{{ROOTPAGENAME}}|0|{{#rpos:{{ROOTPAGENAME}}|<nowiki/> (}}}}|{{ROOTPAGENAME}}}}
|#default={{#if:{{#pos:{{PAGENAME}}|<nowiki/> (}}|{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|<nowiki/> (}}}}|{{PAGENAME}}}}
|#default={{#if:{{#pos:{{{1|{{PAGENAME}}}}}|<nowiki/> (}}|{{#sub:{{{1|{{PAGENAME}}}}}|0|{{#rpos:{{{1|{{PAGENAME}}}}}|<nowiki/> (}}}}|{{{1|{{PAGENAME}}}}}}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
This template outputs the current page name minus the article identifier or suffix, if present.
This template outputs the current page name minus the article identifier or suffix, if present.


[[Category:Formatting templates]]</noinclude>
[[Category:Formatting templates]]</noinclude>

Latest revision as of 12:33, April 15, 2025

This template outputs the current page name minus the article identifier or suffix, if present.