Template:PAGETITLE: Difference between revisions

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


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