Template:PAGETITLE: Difference between revisions

From Halopedia, the Halo wiki

m (Protected "Template:PAGETITLE" ([Edit=Allow only Halopedia staff] (indefinite) [Move=Allow only Halopedia staff] (indefinite)))
mNo edit summary
 
(2 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>{{#if:{{#pos:{{ROOTPAGENAME}}|<nowiki/> (}}|{{#sub:{{ROOTPAGENAME}}|0|{{#rpos:{{ROOTPAGENAME}}|<nowiki/> (}}}}|{{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 parenthesis, if present.


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

Latest revision as of 10:30, December 27, 2023

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