Difference between revisions of "Template:BASEPAGENAME"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Created page with "{{#ifexpr:{{#rpos:{{PAGENAME}}|/}}<0|{{PAGENAME}}|{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|/}}-1}}}}")
 
m (Import from Wikipedia (CC BY-SA license). (Replaces complex wiki code with simple use of parser function))
 
Line 1: Line 1:
{{#ifexpr:{{#rpos:{{PAGENAME}}|/}}<0|{{PAGENAME}}|{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|/}}-1}}}}
+
{{BASEPAGENAME:{{{1|}}}}}<includeonly>[[Category:Pages which use a template in place of a magic word|B00{{PAGENAME}}]]</includeonly><noinclude>
 +
 
 +
{{Documentation}}
 +
 
 +
</noinclude>

Latest revision as of 05:44, 31 May 2015


Documentation icon Template documentation[view] [edit] [history] [purge]Pages that link to Template:BASEPAGENAME

Usage

This should never be used, but when someone provides the magic word "BASEPAGENAME" with a piped parameter, it will prevent breakage. Parameter 1 will be used as the : parameter, other parameters will be discarded.

The page will be added to the hidden category Category:Pages which use a template in place of a magic word.

See also