قالب:Automatic taxobox/doc/convert

Converting from a Taxobox to an Automatic taxobox

Taxon is a species

Use {{Speciesbox}}; see its documentation.

Example

Consider the following initial manual taxobox:

{{taxobox
|image = Dichelostemma capitatum 2003-02-04.jpg
|regnum = [[Plantae]]
|unranked_divisio = [[Angiosperms]]
|unranked_classis = [[Monocots]]
|ordo = [[Asparagales]]
|familia = [[Themidaceae]]
|genus = [[Dichelostemma]]
|species = '''''D. capitatum'''''
|binomial = ''Dichelostemma capitatum''
|binomial_authority = ([[Benth.]]) [[Alph.Wood]]
|synonyms = ''[[Brodiaea]] lacuna-vernalis'' <br> ''Brodiaea pulchella'' <br> ''Dichelostemma pulchella/pulchellum <ref> [http://www.calflora.org/cgi-bin/species_query.cgi?where-calrecnum=2718 Dichelostemma capitatum] at Calflora</ref>
}}

After conversion (but no other possible improvements) it would look like this:

{{Speciesbox
|taxon = Dichelostemma capitatum <!-- this line is optional if the page title is "Dichelostemma capitatum" -->
|image = Dichelostemma capitatum 2003-02-04.jpg
|authority = ([[Benth.]]) [[Alph.Wood]]
|synonyms = ''[[Brodiaea]] lacuna-vernalis'' <br> ''Brodiaea pulchella'' <br> ''Dichelostemma pulchella/pulchellum <ref> [http://www.calflora.org/cgi-bin/species_query.cgi?where-calrecnum=2718 Dichelostemma capitatum] at Calflora</ref>
}}

Taxon is a genus or higher

  • Add "Automatic" before "taxobox", and make sure the T is lowercase.
  • Remove all the parameters which specify the taxonomic hierarchy. You only need a single parameter, taxon = (even this can be omitted if the title of the article is the same as the name of the taxon). The rest of the hierarchy will be displayed automatically based on the appropriate Template:Taxonomy/taxon pages. If the taxon is monotypic, you will need to set taxon equal to the species (preferred by most zoology editors) or else use the subdivision parameter (preferred by the plant editors and several paleozoology editors).
  • Update the taxon authority parameter. If you're editing a page about a genus, then you replace:
    • |genus_authority=|authority=
  • Other authorities can be shown using 'parent', 'grandparent', etc. If you're editing a page about a genus, then you can replace:
    • |familia_authority=|parent authority=
    • |ordo_authority=|grandparent authority=
Example

Consider the following manual taxobox:

{{taxobox
|image = Dichelostemma capitatum.jpg
|image_caption = ''[[Dichelostemma capitatum]]''
|regnum = [[Plantae]]
|unranked_divisio = [[Angiosperms]]
|unranked_classis = [[Monocots]]
|ordo = [[Asparagales]]
|familia = [[Themidaceae]]
|genus = '''''Dichelostemma'''''
|genus_authority = [[Carl Sigismund Kunth|Kunth]]
|subdivision_ranks = Species
|subdivision = See text.
}}

After conversion it would look like this:

{{Automatic taxobox
|taxon = Dichelostemma <!-- this line is optional if the page title is "Dichelostemma" -->
|image = Dichelostemma capitatum.jpg
|image_caption = ''[[Dichelostemma capitatum]]''
|authority = [[Carl Sigismund Kunth|Kunth]]
|subdivision_ranks = Species
|subdivision = See text.
}}