Toggle menu
14
236
69
27.5K
Kenshi Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:BASEPAGENAME/doc: Difference between revisions

Template page
Redirected page to Template:BASEPAGENAME/doc
Tag: New redirect
 
Removed redirect to Template:BASEPAGENAME/doc
Tag: Removed redirect
 
Line 1: Line 1:
#REDIRECT [[Template:BASEPAGENAME/doc]]
{{Documentation subpage|[[Template:BASEPAGENAME]] ''and other similar templates''.}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
{{nutshell|Never write {{!xt|&#123;&#123;{{BASEPAGENAME}}'''&#124;'''''argument''&#125;&#125;}}. Write {{xt|&#123;&#123;{{BASEPAGENAME}}''':'''''argument''&#125;&#125;}} instead.}}
{{transclusionless}}
== Usage ==
The magic word {{BASEPAGENAME}} is described at [[Wikipedia:Magic words#Parser functions]]. An example of its output is <code>&#123;&#123;{{BASEPAGENAME}}:{{{example|Template:Example/with/subpages}}}&#125;&#125;</code> → "{{ {{BASEPAGENAME}}:{{{example|Template:Example/with/subpages}}} }}".
 
This ''template'' should never be used, but when someone uses the [[Wikipedia:Magic_words#Variables|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 {{clc|Pages which use a template in place of a magic word}}.
 
== Tracking category ==
* {{clc|Pages which use a template in place of a magic word}}
 
<includeonly>{{sandbox other||
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Wikipedia magic word templates]]
[[Category:Templates that add a tracking category]]
}}</includeonly>

Latest revision as of 00:38, 21 February 2025

Usage

The magic word BASEPAGENAME is described at Wikipedia:Magic words. An example of its output is {{BASEPAGENAME:Template:Example/with/subpages}} → "Example/with".

This template should never be used, but when someone uses 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 (0).

Tracking category