Template:PAGETITLE: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Protected "Template:PAGETITLE" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
mNo edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if:{{#pos:{{PAGENAME}}|(}}{{#pos:{{PAGENAME}}|)}}|{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|(}}}}|{{PAGENAME}}}}</includeonly><noinclude>
<includeonly>{{#if:{{#pos:{{{1|{{SUBPAGENAME}}}}}|<nowiki/> (}}|{{#sub:{{{1|{{SUBPAGENAME}}}}}|0|{{#rpos:{{{1|{{SUBPAGENAME}}}}}|<nowiki/> (}}}}|{{{1|{{SUBPAGENAME}}}}}}}</includeonly><noinclude>
== Usage ==
This template outputs the current page name minus the article identifier, if present.
This template outputs the current <code><nowiki>{{PAGENAME}}</nowiki></code> minus the article identifier, if present.


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

Latest revision as of 07:02, April 17, 2025

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