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

From blackwiki
Jump to navigation Jump to search
imported>Peter coxhead
m (Reverted edits by 2601:3C7:8201:2579:DD8F:93C2:A264:D866 (talk) to last version by Peter coxhead)
imported>Peter coxhead
(generic message)
 
(5 intermediate revisions by 3 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
Line 19: Line 20:
 
* [[Template:Don't edit this line]]
 
* [[Template:Don't edit this line]]
  
<includeonly>
+
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
<!-- CATEGORIES HERE, THANKS -->
 
<!-- CATEGORIES HERE, THANKS -->
[[Category:Taxobox templates]]
+
[[Category:Taxobox templates]]}}
 
</includeonly>
 
</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