Difference between revisions of "Template:Is italic taxon"
Jump to navigation
Jump to search
imported>Peter coxhead (correction for viruses (serotype)) |
imported>JJMC89 (handled by {{documentation}}; moved to /doc) |
||
Line 1: | Line 1: | ||
− | + | {{#ifeq:{{{virus|no}}}|yes|<!-- | |
virus -->{{#switch:{{lc:{{{1}}} }} | virus -->{{#switch:{{lc:{{{1}}} }} | ||
|unranked_domain|unranked domain|unranked|virus group|virus_group|virus|strain|serotype=no | |unranked_domain|unranked domain|unranked|virus group|virus_group|virus|strain|serotype=no | ||
Line 8: | Line 8: | ||
|subspecies|ichnosubspecies|oosubspecies=yes | |subspecies|ichnosubspecies|oosubspecies=yes | ||
|#default=no}} }}<noinclude> | |#default=no}} }}<noinclude> | ||
− | {{documentation}} | + | {{documentation}}</noinclude> |
− |
Revision as of 07:02, 22 March 2019
no
![]() | This template is used on approximately 327,000 pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. Transclusion count updated automatically (see documentation). |
Purpose
The template is one of a number of configuration templates used by the automated taxobox system (see the detailed map of modules and templates).
It determines whether a taxon name should be italicized or not, given its rank and whether or not it is a virus. It is one of the templates that may need be updated if a new rank is added to the system.
Usage
{{Is italic taxon|taxon-rank|virus=yes or no}}
– default is |virus=no
{{Is italic taxon|species}}
→ yes{{Is italic taxon|genus}}
→ yes{{Is italic taxon|familia}}
→ no{{Is italic taxon|familia|virus=yes}}
→ yes{{Is italic taxon|strain|virus=yes}}
→ no
See also
Other configuration templates include:
- {{Anglicise rank}} – converts the Latin form that is used in taxonomy templates to the English equivalent
- {{Principal rank}} – defines the Linnaean principal ranks that are shown by default
- {{Taxobox colour}} – defines which taxa set the taxobox colour and what those colours are
The above documentation is transcluded from Template:Is italic taxon/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |