Difference between revisions of "Template:BASEPAGENAME/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(add link to tracking category)
imported>TheDragonFire
(Cleanup.)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
{{Deprecated template|BASEPAGENAME|PAGENAME}}
+
{{Historical template|BASEPAGENAME|PAGENAME}}
  
 
== Usage ==
 
== Usage ==
This ''should'' never be used, but when someone provides 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.
+
This ''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}}.
 
The page will be added to the hidden category {{clc|Pages which use a template in place of a magic word}}.
Line 11: Line 11:
 
* {{clc|Pages which use a template in place of a magic word}}
 
* {{clc|Pages which use a template in place of a magic word}}
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
+
<includeonly>{{sandbox other||
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:Magic word templates]]
 
[[Category:Magic word templates]]
 
[[Category:Templates that add a tracking category]]
 
[[Category:Templates that add a tracking category]]
 
}}</includeonly>
 
}}</includeonly>

Revision as of 14:41, 14 August 2017

Usage

This 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