Difference between revisions of "Template:Don't edit this line all"
Jump to navigation
Jump to search
imported>Peter coxhead (whoops, corrected my error – always_display not always_displayed) |
imported>Peter coxhead (ensure the first letter of the rank value is lower case) |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | <includeonly>{{{parent|}}}${{{rank|}}}${{{link|}}}${{trim|{{{ | + | <includeonly>{{{parent|}}}${{lcfirst:{{{rank|}}}}}${{{link|}}}${{trim|{{{1|}}}}}${{{always_display|{{{always display|}}}}}}${{{extinct|}}}${{{same_as|{{{same as|}}}}}}${{{refs|}}}</includeonly><noinclude>{{documentation|Template:Don't edit this line/doc/variant}} |
[[Category:Taxobox templates]]</noinclude> | [[Category:Taxobox templates]]</noinclude> | ||
Latest revision as of 09:39, 6 January 2019
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
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[update], 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.
- 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
| The above documentation is transcluded from Template:Don't edit this line/doc/variant. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |