Template:Infobox species: Difference between revisions
More actions
Initial setup: templates, Main Page, style guide |
Automatic category lists and Create buttons; easier-to-read privacy policy; remove em dashes |
||
| Line 1: | Line 1: | ||
<includeonly><div class="evo-infobox"><div class="evo-infobox-title">{{{name|{{PAGENAME}}}}}</div>{{#if:{{{scientific_name|}}}|<div class="evo-infobox-subtitle">''{{{scientific_name}}}''</div>}}{{#if:{{{image|}}}|<div class="evo-infobox-image">[[File:{{{image}}}|{{{image_size|260px}}}]]{{#if:{{{caption|}}}|<div class="evo-infobox-caption">{{{caption}}}</div>}}</div>}}{{Infobox/header|Classification|{{{type|}}}{{{biochemistry|}}}{{{sapience|}}}}}{{Infobox/row|Type|{{{type|}}}}}{{Infobox/row|Biochemistry|{{{biochemistry|}}}}}{{Infobox/row|Sapience|{{{sapience|}}}}}{{Infobox/header|Origin|{{{homeworld|}}}{{{system|}}}{{{habitat|}}}}}{{Infobox/row|Homeworld|{{{homeworld|}}}}}{{Infobox/row|System|{{{system|}}}}}{{Infobox/row|Habitat|{{{habitat|}}}}}{{Infobox/header|Biology|{{{size|}}}{{{lifespan|}}}{{{diet|}}}{{{reproduction|}}}}}{{Infobox/row|Size|{{{size|}}}}}{{Infobox/row|Lifespan|{{{lifespan|}}}}}{{Infobox/row|Diet|{{{diet|}}}}}{{Infobox/row|Reproduction|{{{reproduction|}}}}}{{Infobox/header|Society|{{{communication|}}}{{{technology|}}}}}{{Infobox/row|Communication|{{{communication|}}}}}{{Infobox/row|Technology|{{{technology|}}}}}{{Infobox/header|Discovery|{{{discovered|}}}{{{discovered_by|}}}{{{status|}}}}}{{Infobox/row|Discovered|{{{discovered|}}}}}{{Infobox/row|Discovered by|{{{discovered_by|}}}}}{{Infobox/row|Status|{{{status|}}}}} | <includeonly><div class="evo-infobox"><div class="evo-infobox-title">{{{name|{{PAGENAME}}}}}</div>{{#if:{{{scientific_name|}}}|<div class="evo-infobox-subtitle">''{{{scientific_name}}}''</div>}}{{#if:{{{image|}}}|<div class="evo-infobox-image">[[File:{{{image}}}|{{{image_size|260px}}}]]{{#if:{{{caption|}}}|<div class="evo-infobox-caption">{{{caption}}}</div>}}</div>}}{{Infobox/header|Classification|{{{type|}}}{{{biochemistry|}}}{{{sapience|}}}}}{{Infobox/row|Type|{{{type|}}}}}{{Infobox/row|Biochemistry|{{{biochemistry|}}}}}{{Infobox/row|Sapience|{{{sapience|}}}}}{{Infobox/header|Origin|{{{homeworld|}}}{{{system|}}}{{{habitat|}}}}}{{Infobox/row|Homeworld|{{{homeworld|}}}}}{{Infobox/row|System|{{{system|}}}}}{{Infobox/row|Habitat|{{{habitat|}}}}}{{Infobox/header|Biology|{{{size|}}}{{{lifespan|}}}{{{diet|}}}{{{reproduction|}}}}}{{Infobox/row|Size|{{{size|}}}}}{{Infobox/row|Lifespan|{{{lifespan|}}}}}{{Infobox/row|Diet|{{{diet|}}}}}{{Infobox/row|Reproduction|{{{reproduction|}}}}}{{Infobox/header|Society|{{{communication|}}}{{{technology|}}}}}{{Infobox/row|Communication|{{{communication|}}}}}{{Infobox/row|Technology|{{{technology|}}}}}{{Infobox/header|Discovery|{{{discovered|}}}{{{discovered_by|}}}{{{status|}}}}}{{Infobox/row|Discovered|{{{discovered|}}}}}{{Infobox/row|Discovered by|{{{discovered_by|}}}}}{{Infobox/row|Status|{{{status|}}}}} | ||
</div>{{#ifeq:{{NAMESPACE}}||[[Category:Species]]}}</includeonly><noinclude> | </div>{{#ifeq:{{NAMESPACE}}||[[Category:Species]]}}</includeonly><noinclude> | ||
Infobox for species articles. Put it at the very top of the page. Every field is optional | Infobox for species articles. Put it at the very top of the page. Every field is optional, and empty fields and sections are hidden. Pages using it in the main namespace are added to [[:Category:Species]] automatically. | ||
== Example == | == Example == | ||
Revision as of 21:32, 14 October 2026
Infobox for species articles. Put it at the very top of the page. Every field is optional, and empty fields and sections are hidden. Pages using it in the main namespace are added to Category:Species automatically.
Example
{{Infobox species
| scientific_name = Dolor piscium
| image = Draconis Koi.png
| caption = A Draconis koi near the surface
| type = Fauna
| biochemistry = Carbon-based
| sapience = Semi-sapient
| homeworld =
| system = Sigma Draconis
| habitat = Freshwater
| communication = Body language, bubble patterns
| discovered_by = Russian colonists
}}
Summary box for a species article. All fields are optional; empty fields and sections are hidden.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | Display name. Defaults to the page name. | String | optional |
| Scientific name | scientific_name | Binomial name, without italics (they are added automatically). E.g. Dolor piscium | String | suggested |
| Image | image | File name without the File: prefix. E.g. Draconis Koi.png | File | suggested |
| Image size | image_size | Image width. Default 260px.
| String | optional |
| Caption | caption | no description | Content | optional |
| Type | type | E.g. Flora, Fauna, Fungi, Microbe
| String | suggested |
| Biochemistry | biochemistry | E.g. Carbon-based, Silicon-based | String | suggested |
| Sapience | sapience | no description
| String | suggested |
| Homeworld | homeworld | Link the planet, e.g. [[Planet name]] | Content | suggested |
| System | system | Star system of origin | Content | suggested |
| Habitat | habitat | no description | Content | optional |
| Size | size | Typical size, metric units | Content | optional |
| Lifespan | lifespan | no description | Content | optional |
| Diet | diet | no description | Content | optional |
| Reproduction | reproduction | no description | Content | optional |
| Communication | communication | no description | Content | optional |
| Technology | technology | Technology level, for sapient species | Content | optional |
| Discovered | discovered | When it was discovered (in-universe date) | Content | optional |
| Discovered by | discovered_by | no description | Content | optional |
| Status | status | E.g. Common, Endangered, Extinct | String | optional |