قالب:Animal genera table/row/doc
| هذه صفحة توثيق فرعية لـ قالب:Animal genera table/row. تتضمن معلومات الاستعمال، التصنيفات وأي محتوى آخر ليس من محتويات الأصل لصفحة القالب. |
Usage
Creates the a row in a wikitable for use in animal genera lists. The table header and footer can be generated with {{Animal genera table}} and {{Animal genera table/end}}.
Fields
- Required
- name
- image
- authority-name
- authority-year
- range
- size (required unless "no-ecology" is set)
- habitat (required unless "no-ecology" is set)
- diet (required unless "no-ecology" or "no-diet" is set; alias: hunting)
- Optional
- common-name (sets an English term for the genus below the latin name)
- image-size (sets a width for the image e.g. "160px" to prevent tall images from stretching the table row; defaults to 180px if not set)
- image-alt (optional but recommended, sets alt-text for the image)
- authority-not-original (adds parenthesis around the author citation; see Author citation (zoology))
- species (adds species information below the scientific name; recommended to be a collapsible list if there are eight or more species)
- range-size (sets a width for the range map image e.g. "160px" to prevent tall images from stretching the table row; defaults to 180px if not set)
- range-alt (optional but recommended, sets a caption (as alt-text) for the range map image)
- no-diet (removes the "Diet" section of the "Size and ecology" column)
- no-ecology (removes the "Size and ecology" column)
- single-species (changes pluralization in "Size and ecology" column)
- single-habitat (changes pluralization of "Habitats:" to "Habitat:")
Examples
{{Animal genera table |group-name=Felinae |group-type=Subfamily |authority-name=[[Fischer von Waldheim|Waldheim]] |authority-year=1817 |genera-count=one}}
{{Animal genera table/row
|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
|size={{convert|53|cm|in|0|abbr=on}} long, plus {{convert|32|cm|in|0|abbr=on}} tail (Bay cat) to {{convert|105|cm|in|0|abbr=on}} long, plus {{convert|56|cm|in|0|abbr=on}} tail (Asian golden cat)
|habitat=Forest, savanna, grassland, and shrubland
|diet=Mostly unknown, with evidence of preying on rodents and snakes
}}
{{Animal genera table/end}}
Gives:
| الاسم | السلطة والنوع | النطاق | الحجم والبيئة |
|---|---|---|---|
| Catopuma (fake name) |
Severtzov, 1858
Two species
|
Scattered areas of Southeast Asia |
نطاق الأحجام: 53 cm (21 in) long, plus 32 cm (13 in) tail (Bay cat) to 105 cm (41 in) long, plus 56 cm (22 in) tail (Asian golden cat) الموائل: Forest, savanna, grassland, and shrubland المآكل: Mostly unknown, with evidence of preying on rodents and snakes |
single-species
With |single-species=yes, the "sizes" and "diets" headings in the Size and ecology column change to be "size" and "diet".
| الاسم | السلطة والنوع | النطاق | الحجم والبيئة |
|---|---|---|---|
| Catopuma (fake name) |
Severtzov, 1858
One species
|
Scattered areas of Southeast Asia |
الحجم: 53 cm (21 in) long, plus 32 cm (13 in) tail الموائل: Forest, savanna, grassland, and shrubland المأكل: Mostly unknown, with evidence of preying on rodents and snakes |
single-habitat
{{Animal genera table |group-name=Felinae |group-type=Subfamily |authority-name=[[Fischer von Waldheim|Waldheim]] |authority-year=1817 |genera-count=one}}
{{Animal genera table/row
|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
|size={{convert|53|cm|in|0|abbr=on}} long, plus {{convert|32|cm|in|0|abbr=on}} tail (Bay cat) to {{convert|105|cm|in|0|abbr=on}} long, plus {{convert|56|cm|in|0|abbr=on}} tail (Asian golden cat)
|habitat=Forest |single-habitat=yes
|diet=Mostly unknown, with evidence of preying on rodents and snakes
}}
{{Animal genera table/end}}
Gives:
| الاسم | السلطة والنوع | النطاق | الحجم والبيئة |
|---|---|---|---|
| Catopuma (fake name) |
Severtzov, 1858
Two species
|
Scattered areas of Southeast Asia |
نطاق الأحجام: 53 cm (21 in) long, plus 32 cm (13 in) tail (Bay cat) to 105 cm (41 in) long, plus 56 cm (22 in) tail (Asian golden cat) الموئل: Forest المآكل: Mostly unknown, with evidence of preying on rodents and snakes |
no-ecology
With |no-ecology=yes to remove the "Size and ecology" column; this is not standard, but may be useful for articles where all of the species have very similar ecology to remove repetition. Consider also setting "narrow-percent" in the header if the resulting table has too much empty space. A table row is included in this example to demonstrate the result; note that both the header template and each row have to have "no-ecology" set or else the table will be malformed.
{{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:
| الاسم | السلطة والنوع | النطاق |
|---|---|---|
| Catopuma (fake name) |
Severtzov, 1858
Two species
|
Scattered areas of Southeast Asia
|
See also