Template:Animal genera table/doc

From Wikipedia, the free encyclopedia

Usage[edit]

Creates the top part of a wikitable for use in animal genera lists. Closed with {{Animal genera table/end}} (redirect for {{End}}). Interior rows can be either wikitable rows or preferably generated by {{Animal genera table/row}}.

Fields:

  • Required
    • authority-name
    • authority-year
    • genera-count
  • Optional
    • group-name (gives the name for this grouping, e.g. Felinae; if not present, changes text to "Not part of a named <group-type>)
    • group-type (gives the type of the grouping, e.g. Subfamily; if not present, defaults to "clade"
    • authority-not-original (adds parenthesis around the author citation; see Author citation (zoology))
    • narrow-percent (number; changes width of table from 100% to specified percent)
    • no-ecology (removes the "Size and ecology" column)

Examples[edit]

Default[edit]

{{Animal genera table |group-name=[[Felinae]] |group-type=Subfamily |authority-name=[[Fischer von Waldheim|Waldheim]] |authority-year=1817 |genera-count=eleven}}

{{Animal genera table/end}}


Gives:

Subfamily FelinaeWaldheim, 1817 – eleven genera
Name Authority and species Range Size and ecology

Unnamed group and type[edit]

{{Animal genera table |group-name= |group-type= |authority-name= |authority-year= |genera-count=eleven}}

{{Animal genera table/end}}


Gives:

Not assigned to a named clade – eleven genera
Name Authority and species Range Size and ecology

Unnamed group, named group type[edit]

{{Animal genera table |group-name= |group-type=subfamily |authority-name= |authority-year= |genera-count=eleven}}

{{Animal genera table/end}}


Gives:

Not assigned to a named subfamily – eleven genera
Name Authority and species Range Size and ecology

no-ecology[edit]

Note that no-ecology=yes needs to be set on the component Animal genera table/row lines as well

{{Animal genera table |group-name=Felinae |group-type=Subfamily |authority-name=[[Fischer von Waldheim|Waldheim]] |authority-year=1817 |genera-count=one |no-ecology=yes}}

{{Animal genera table/row |no-ecology=yes
|name=[[Catopuma]] |common-name=fake name
|image=File:Asian Golden cat.jpg |image-size=180px |image-alt=Tawny cat facing the viewer
|authority-name=[[Nikolai Severtzov|Severtzov]] |authority-year=1858
|species={{Collapsible list |expand=yes |title=Two species |bullets=on
| ''C. temminckii'' ([[Asian golden cat]], pictured)
| ''C. badia '' ([[Bay cat]])</nowiki></code>
}}
|range=Scattered areas of Southeast Asia |range-image=File:Felinae range.png |range-image-size=180px
}}

{{Animal genera table/end}}

Gives:

Subfamily FelinaeWaldheim, 1817 – one genus
Name Authority and species Range
Catopuma
(fake name)

Tawny cat facing the viewer

Severtzov, 1858

Two species
Scattered areas of Southeast Asia
Map of range


See also[edit]