Template:Animal genera table/doc

From English Wikipedia @ Freddythechick

Usage

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

Default

<syntaxhighlight lang="wikitext" inline>

Subfamily FelinaeWaldheim, 1817 – eleven genera
Name Authority and species Range Size and ecology</syntaxhighlight>

<syntaxhighlight lang="wikitext" inline>

</syntaxhighlight>


Gives:

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

Unnamed group and type

<syntaxhighlight lang="wikitext" inline>

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

<syntaxhighlight lang="wikitext" inline>

</syntaxhighlight>


Gives:

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

Unnamed group, named group type

<syntaxhighlight lang="wikitext" inline>

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

<syntaxhighlight lang="wikitext" inline>

</syntaxhighlight>


Gives:

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

no-ecology

Note that <syntaxhighlight lang="wikitext" inline>no-ecology=yes</syntaxhighlight> needs to be set on the component <syntaxhighlight lang="wikitext" inline>Animal genera table/row</syntaxhighlight> lines as well

<syntaxhighlight lang="wikitext" inline>

Subfamily FelinaeWaldheim, 1817 – one genus
Name Authority and species Range

</syntaxhighlight>

<syntaxhighlight lang="wikitext">|-

Catopuma
(fake name)

Tawny cat facing the viewer

Severtzov, 1858

Two species
Scattered areas of Southeast Asia
Map of range

</syntaxhighlight>

<syntaxhighlight lang="wikitext" inline>

</syntaxhighlight>

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