Difference between revisions of "Template:Don't edit this line/doc/variant"

From blackwiki
Jump to navigation Jump to search
(→‎Usage: Haha)
imported>Peter coxhead
(generic message)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Documentation subpage|the family of templates "Don't edit this line XXX"}}
 
{{Documentation subpage|the family of templates "Don't edit this line XXX"}}
 +
<strong>The "Don't edit this line XXX" templates are a core part of the [[WP:Automated taxobox system|automated taxobox system]], and so high use, but {{as of|lc=true|2019|January}}, the [https://tools.wmflabs.org/templatecount/index.php tool] did not count their transclusions, as they are only used from Lua.</strong>
 
== Usage ==
 
== Usage ==
 
Templates in the "Don't edit this line XXX" family are used to extract information from a taxonomy template (i.e. a template whose name is of the form "Template:Taxonomy/''taxon''"). They are invoked by calling a taxonomy template with {{para|machine code|XXX}}, since the first line of every taxonomy template begins
 
Templates in the "Don't edit this line XXX" family are used to extract information from a taxonomy template (i.e. a template whose name is of the form "Template:Taxonomy/''taxon''"). They are invoked by calling a taxonomy template with {{para|machine code|XXX}}, since the first line of every taxonomy template begins
 
<pre>{{Don't edit this line {{{machine code|}}}|...</pre>
 
<pre>{{Don't edit this line {{{machine code|}}}|...</pre>
<strong>They are intended only for use by the automated taxobox system.</strong> They are mostly used from within [[Module:Autotaxobox]] They Dont Fuck
+
<strong>They are intended only for use by the automated taxobox system.</strong> They are mostly used from within [[Module:Autotaxobox]].
 +
 
 +
*[[Template:Don't edit this line parent]]
 +
*[[Template:Don't edit this line rank]]
 +
*[[Template:Don't edit this line link target]] – value of {{para|link}}
 +
*[[Template:Don't edit this line link text]] – value of unnamed parameter or, if absent, {{para|link}}
 +
*[[Template:Don't edit this line extinct]]
 +
*[[Template:Don't edit this line dagger]] – returns † if extinct, null string otherwise
 +
*[[Template:Don't edit this line always display]]
 +
*[[Template:Don't edit this line refs]]
 +
*[[Template:Don't edit this line same as]]
 +
*[[Template:Don't edit this line all]] – returns "parent$rank$link_target$unnamed parameter$always_display$extinct$same_as$refs"
 +
 
 +
== See also ==
 +
* [[Template:Don't edit this line]]
 +
 
 +
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 +
<!-- CATEGORIES HERE, THANKS -->
 +
[[Category:Taxobox templates]]}}
 +
</includeonly>

Latest revision as of 11:52, 7 January 2019

The "Don't edit this line XXX" templates are a core part of the automated taxobox system, and so high use, but as of January 2019, the tool did not count their transclusions, as they are only used from Lua.

Usage

Templates in the "Don't edit this line XXX" family are used to extract information from a taxonomy template (i.e. a template whose name is of the form "Template:Taxonomy/taxon"). They are invoked by calling a taxonomy template with |machine code=XXX, since the first line of every taxonomy template begins

{{Don't edit this line {{{machine code|}}}|...

They are intended only for use by the automated taxobox system. They are mostly used from within Module:Autotaxobox.

See also