Template:PAGETITLE: Difference between revisions

(Created page with "<includeonly>{{#if:{{#pos:{{PAGENAME}}|(}}|{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|(}}}}|{{PAGENAME}}}}</includeonly><noinclude> == Usage == This template outputs the current <code><nowiki>{{PAGENAME}}</nowiki></code> minus the article identifier, if present. Category:Formatting templates</noinclude>")
 
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if:{{#pos:{{PAGENAME}}|(}}|{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|(}}}}|{{PAGENAME}}}}</includeonly><noinclude>
<includeonly>{{#switch:{{SUBPAGENAME}}
== Usage ==
|Walkthrough={{#if:{{#pos:{{ROOTPAGENAME}}|<nowiki/> (}}|{{#sub:{{ROOTPAGENAME}}|0|{{#rpos:{{ROOTPAGENAME}}|<nowiki/> (}}}}|{{ROOTPAGENAME}}}}
This template outputs the current <code><nowiki>{{PAGENAME}}</nowiki></code> minus the article identifier, if present.
|#default={{#if:{{#pos:{{{1|{{PAGENAME}}}}}|<nowiki/> (}}|{{#sub:{{{1|{{PAGENAME}}}}}|0|{{#rpos:{{{1|{{PAGENAME}}}}}|<nowiki/> (}}}}|{{{1|{{PAGENAME}}}}}}}
}}</includeonly><noinclude>
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.