Template:PAGETITLE: Difference between revisions

mNo edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if:{{#pos:{{ROOTPAGENAME}}|(}}|{{#sub:{{ROOTPAGENAME}}|0|{{#rpos:{{ROOTPAGENAME}}|(}}}}|{{ROOTPAGENAME}}}}</includeonly><noinclude>
<includeonly>{{#switch:{{SUBPAGENAME}}
|Walkthrough={{#if:{{#pos:{{ROOTPAGENAME}}|<nowiki/> (}}|{{#sub:{{ROOTPAGENAME}}|0|{{#rpos:{{ROOTPAGENAME}}|<nowiki/> (}}}}|{{ROOTPAGENAME}}}}
|#default={{#if:{{#pos:{{PAGENAME}}|<nowiki/> (}}|{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|<nowiki/> (}}}}|{{PAGENAME}}}}
}}</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 15:55, November 9, 2024

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