Template:Infobox Species: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<noinclude><!-- -->{{#cargo_declare: _table = species |species_name = String |species_name_scientific = String |subspecies_names = List (,) of String |parent_species = String |is_sentient = Boolean |is_extinct = Boolean |origin_regions = List (,) of String |origin_regions_known = Boolean |common_regions = List (,) of String |has_common_regions = Boolean |avg_height_meters_min = Float |avg_height_meters_max = Float |avg_weight_kg_min = Float |avg_weight_kg_max = Float |li...") |
No edit summary |
||
| Line 1: | Line 1: | ||
<noinclude><!-- | <includeonly><!-- | ||
* Parse Species Name | |||
* Parse Species Scientific Name | |||
* Parse List of Subspecies delimited by commas (,) | |||
* Parse parent species | |||
* parse is_sentient with {{bool}} check | |||
* parse is_extinct with {{bool}} check | |||
* parse origin regions delimited by commas (,). If only result is "unknown" or blank, then origin_regions_known is false. | |||
* parse common cregions delimited by commas (,). If only result is "none" or blank, then has_common_regions is false. | |||
* parse avg_height into avg_height_meters_min and avg_height_meters_max. If only the former is specified, then only fill in the first field. We can convert this to feet and inches with math. | |||
* do the same as above with avg_weight, but convert to lbs with math. | |||
* do the same as above with lifespan, but if not specified or unknown, then set "lifespan_known" to false. Include lifespan_subtext after lifespan_known (e.g. "Lifespan: 70-100 years (Subtext here if any)") | |||
* Parse genetic ancestors into an array. If only result is unknown, then set genetic_ancestors_known to false. | |||
--> | |||
</includeonly><noinclude><!-- | |||
-->{{#cargo_declare: | -->{{#cargo_declare: | ||
_table = species | _table = species | ||
Revision as of 17:34, 7 February 2023
This template defines the table "species". View table.