Difference between revisions of "Template:Don't edit this line/doc/variant"
Jump to navigation
Jump to search
(→Usage: Haha) |
imported>C.Fred m (Reverted edits by 110.150.105.249 (talk) to last version by Peter coxhead) |
||
| Line 3: | Line 3: | ||
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]] | + | <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> | ||
| + | <!-- CATEGORIES HERE, THANKS --> | ||
| + | [[Category:Taxobox templates]] | ||
| + | </includeonly> | ||
Revision as of 04:36, 10 July 2018
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.
- Template:Don't edit this line parent
- Template:Don't edit this line rank
- Template:Don't edit this line link target – value of
|link= - Template:Don't edit this line link text – value of unnamed parameter or, if absent,
|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