Difference between revisions of "Template:Is italic taxon/doc"
Jump to navigation
Jump to search
imported>Peter coxhead (usage) |
imported>Peter coxhead (details) |
||
| Line 2: | Line 2: | ||
{{high use|217185}} | {{high use|217185}} | ||
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | ||
| + | == Purpose == | ||
| + | The template is used from within the [[Wikipedia:Automated taxobox system|automated taxobox system]] (see the [[Wikipedia:Automated_taxobox_system/map#Detailed_map|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 must be updated if a new rank is added to the system. | ||
| + | |||
== Usage == | == Usage == | ||
| + | <code><nowiki>{{Is italic taxon|</nowiki>''taxon-rank''|virus=''yes'' or ''no''}}</code> – default is {{para|virus|no}} | ||
| + | * <code><nowiki>{{Is italic taxon|species}}</nowiki></code> → {{Is italic taxon|species}} | ||
| + | * <code><nowiki>{{Is italic taxon|genus}}</nowiki></code> → {{Is italic taxon|genus}} | ||
| + | * <code><nowiki>{{Is italic taxon|familia}}</nowiki></code> → {{Is italic taxon|familia}} | ||
| + | * <code><nowiki>{{Is italic taxon|familia|virus=yes}}</nowiki></code> → {{Is italic taxon|familia|virus=yes}} | ||
| + | * <code><nowiki>{{Is italic taxon|strain|virus=yes}}</nowiki></code> → {{Is italic taxon|strain|virus=yes}} | ||
<includeonly>{{sandbox other|| | <includeonly>{{sandbox other|| | ||
<!-- Categories below this line, please; interwikis at Wikidata --> | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
| − | + | [[Category:Taxobox templates]] | |
}}</includeonly> | }}</includeonly> | ||
Revision as of 23:23, 13 December 2018
| This is a documentation subpage for Template:Is italic taxon. It contains usage information, categories and other content that is not part of the original template page. |
| 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 used from within 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 must 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