Template:Taxonav2/doc

From Wikispecies
Jump to navigation Jump to search

Purpose[edit]

This template can be used on taxon pages above the Familia level to collapse parts of the "Taxonavigation" section, for better legibility and, where detailed on the "Taxonavigation template", to display a limited selection from the full list of taxon ranks. The template adds an "Expand/Collapse" link in order to show or hide the full list of taxon ranks. (See also: {{Taxonav}}.)

Usage[edit]

  • Only use this on taxon pages above the Familia level (use {{Taxonav}} on Familia "Taxonavigation templates")
  • Change the template used from {{name}} to {{Taxonav2|name|name|summary}}
  • To display a name different from that of the taxon page, use as {{Taxonav2|page name|display name|summary}}
  • For the limited selection from the full list of taxon ranks, see below

Example[edit]

Taxon page[edit]

The following shows the code used on the Anseriformes taxon page:

{{Taxonav2|Anseriformes|Anseriformes|summary}}

Template page[edit]

The following shows the full code used on the {{Anseriformes}} template:

{{Galloanseres}}
Ordo: {{obr|Anseriformes}}
<!-- for {{Taxonav2}} -->{{#ifeq:{{{1}}}|summary|<section begin=summarytaxa/>‎{{TaxonavNeognathae}}
Cladus: {{cbr|Galloanseres}}
Ordo: {{obr|Anseriformes}}<section end=summarytaxa/>}}
<noinclude>[[Category:Taxonavigation templates]]</noinclude>
<includeonly>[[Category:Pages with taxonavigation templates]]</includeonly>

N.B. Only a very limited number of templates in the format {{Template:TaxonavAves}} / {{Template:TaxonavNeognathae}} should be created.