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

From blackwiki
Jump to navigation Jump to search
imported>Peter coxhead
(sync'ed with live)
imported>Peter coxhead
(use sandbox version of Module:Autotaxobox)
 
Line 3: Line 3:
 
Note that "link=A|B" in the taxonomy template is decomposed into "link_target=A" and "link_text=B", as B will
 
Note that "link=A|B" in the taxonomy template is decomposed into "link_target=A" and "link_text=B", as B will
 
be the only unnamed parameter.
 
be the only unnamed parameter.
--></noinclude><includeonly>{{#invoke:Autotaxobox|callTaxonomyKey|taxon={{#titleparts:{{PAGENAME}}||2}}|parent={{{parent|}}}|rank={{{rank|}}}|extinct={{{extinct|}}}|always_display={{{always_display|{{{always display|}}}}}}|link_target={{{link|}}}|link_text={{{1|}}}|refs={{{refs|}}}|same_as={{{same_as|{{{same as|}}}}}}}}<!--
+
--></noinclude><includeonly>{{#invoke:Autotaxobox/sandbox|callTaxonomyKey|taxon={{#titleparts:{{PAGENAME}}||2}}|parent={{{parent|}}}|rank={{{rank|}}}|extinct={{{extinct|}}}|always_display={{{always_display|{{{always display|}}}}}}|link_target={{{link|}}}|link_text={{{1|}}}|refs={{{refs|}}}|same_as={{{same_as|{{{same as|}}}}}}}}<!--
 
-->{{#ifeq:{{NAMESPACE}}|Template
 
-->{{#ifeq:{{NAMESPACE}}|Template
 
|{{#ifeq:{{lcfirst:{{{rank|}}}}}|species
 
|{{#ifeq:{{lcfirst:{{{rank|}}}}}|species

Latest revision as of 17:48, 11 February 2019

Template documentation[view] [edit] [history] [purge]

For templates with names of the form "Don't edit this line xxx" or "Get xxx", see Template:Don't edit this line/doc/variant.

Usage

This template is transcluded from every taxonomy template page (i.e. every page whose name is of the form "Template:Taxonomy/taxon") when |machine code= is not specified. This should only happen when viewing a taxonomy template page. It uses function callTaxonomyKey in Module:Autotaxobox to prepare for and then use {{Taxonomy key}} to display the taxonomy template page in a more readable form.

As an example, see Template:Taxonomy/Felis – the display is created by {{Don't edit this line |rank=genus |link=Felis |parent=Felinae}} given that |machine code= is not given a value.

The template places a taxonomy template in one of the following tracking categories:

See also

For templates that are transcluded when |machine code= is given a value, see Template:Don't edit this line/doc/variant.

}}