Difference between revisions of "Template:Don't edit this line/sandbox"
imported>Peter coxhead (sync with live) |
imported>Peter coxhead (deal with missing "|{{{1}}}") |
||
| Line 1: | Line 1: | ||
<noinclude><!-- | <noinclude><!-- | ||
This template should only be called by Taxonomy template pages, where {{{machine code}}} is unspecified. It is (now) an error if parameter 1 is given a value. | This template should only be called by Taxonomy template pages, where {{{machine code}}} is unspecified. It is (now) an error if parameter 1 is given a value. | ||
| − | --></noinclude><includeonly>{{#invoke:Autotaxobox|callTaxonomyKey|parent={{{parent|}}}|rank={{{rank|}}}|extinct={{{extinct|}}}|always_display={{{always_display|{{{always display|}}}}}}|link_target={{{link|}}}|link_text={{{2|}}}|refs={{{refs|}}}|same_as={{{same_as|{{{same as|}}}}}}}}<!-- | + | --></noinclude><includeonly>{{#invoke:Autotaxobox|callTaxonomyKey|parent={{{parent|}}}|rank={{{rank|}}}|extinct={{{extinct|}}}|always_display={{{always_display|{{{always display|}}}}}}|link_target={{{link|}}}|link_text={{#ifeq:{{padleft:|1|{{{1|}}}}}|{|{{{2|}}}|{{{1|}}}}}|refs={{{refs|}}}|same_as={{{same_as|{{{same as|}}}}}}}}<!-- |
-->{{#ifeq:{{NAMESPACE}}|Template|{{#if:{{Str endswith|{{PAGENAME}}|/?}}|[[Category:Taxonomy templates with query|{{#titleparts:{{PAGENAME}}||2}}]]|[[Category:Taxonomy templates|{{#titleparts:{{PAGENAME}}||2}}]]}}}}</includeonly><noinclude>{{documentation}}</noinclude> | -->{{#ifeq:{{NAMESPACE}}|Template|{{#if:{{Str endswith|{{PAGENAME}}|/?}}|[[Category:Taxonomy templates with query|{{#titleparts:{{PAGENAME}}||2}}]]|[[Category:Taxonomy templates|{{#titleparts:{{PAGENAME}}||2}}]]}}}}</includeonly><noinclude>{{documentation}}</noinclude> | ||
Revision as of 12:41, 16 January 2017
| This is the template sandbox page for Template:Don't edit this line (diff). |
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.
| This template is used on approximately NAN pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Transclusion count updated automatically (see documentation). |
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:
- Category:Taxonomy templates – all 'normal' taxonomy templates
- Category:Taxonomy templates for species – subcategory
- Category:Taxonomy templates with qualified names – subcategory
- Category:Taxonomy templates with query – subcategory
See also
For templates that are transcluded when |machine code= is given a value, see Template:Don't edit this line/doc/variant.
}}
| The above documentation is transcluded from Template:Don't edit this line/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |