Difference between revisions of "Template:Ichnobox"
imported>Peter coxhead (as all articles use Ichnobox/short, move that version of the code to here) |
imported>Peter coxhead (update to sandbox version; allows underscore and space as alternatives in all multiword parameter names) |
||
| Line 1: | Line 1: | ||
<noinclude><!-- | <noinclude><!-- | ||
-================================================================== | -================================================================== | ||
| − | - Template:Ichnobox | + | - Template:Ichnobox - Show infobox of ichno data |
-================================================================== | -================================================================== | ||
-- | -- | ||
| Line 17: | Line 17: | ||
-- display correctly. Otherwise, just pass on the stated parameter. | -- display correctly. Otherwise, just pass on the stated parameter. | ||
--></noinclude> | --></noinclude> | ||
| − | | temporal_range = {{#if:{{{temporal_range|{{{fossil_range|}}} }}}|{{#iferror:{{geological range|{{{temporal_range|{{{fossil_range|}}} }}} }}|{{{temporal_range|{{{fossil_range|}}} }}}|{{geological range|{{{temporal_range|{{{fossil_range|}}} }}} }} }} | {{#if:{{{oldest fossil|}}}|{{geological range|{{{oldest fossil}}}|{{{youngest fossil|Recent}}} }} }} }}<!-- | + | | temporal_range = {{#if:{{{temporal_range|{{{temporal range|{{{fossil_range|{{{fossil range}}}}}}}}}}}}|{{#iferror:{{geological range|{{{temporal_range|{{{temporal range|{{{fossil_range|{{{fossil range}}}}}}}}}}}} }}|{{{temporal_range|{{{temporal range|{{{fossil_range|{{{fossil range}}}}}}}}}}}}|{{geological range|{{{temporal_range|{{{fossil_range|}}} }}} }} }} | {{#if:{{{oldest_fossil|{{{oldest fossil|}}}}}}|{{geological range|{{{oldest_fossil|{{{oldest fossil|}}}}}}|{{{youngest_fossil|{{{youngest fossil|Recent}}}}}} }} }} }}<!-- |
-- parent: this parameter should be called "taxon", not "parent" --> | -- parent: this parameter should be called "taxon", not "parent" --> | ||
| parent = {{Taxobox/taxon|{{{taxon|<includeonly>{{PAGENAME}}</includeonly><noinclude>Agrestipus</noinclude>|}}}|{{{1|}}} }}<!-- | | parent = {{Taxobox/taxon|{{{taxon|<includeonly>{{PAGENAME}}</includeonly><noinclude>Agrestipus</noinclude>|}}}|{{{1|}}} }}<!-- | ||
| Line 26: | Line 26: | ||
--> | --> | ||
| authority = {{{authority|}}} | | authority = {{{authority|}}} | ||
| − | | parent_authority = {{{parent_authority|}}} | + | | parent_authority = {{{parent_authority|{{{parent authority|}}}}}} |
| − | | grandparent_authority = {{{grandparent_authority|}}} | + | | grandparent_authority = {{{grandparent_authority|{{{grandparent authority|}}}}}} |
| − | | greatgrandparent_authority = {{{greatgrandparent_authority|}}}<noinclude><!-- | + | | greatgrandparent_authority = {{{greatgrandparent_authority|{{{greatgrandparent authority|}}}}}}<noinclude><!-- |
-- name: Works out whether the name should be italicized (as | -- name: Works out whether the name should be italicized (as | ||
-- genera, species, etc); if so, passes the italicized result. | -- genera, species, etc); if so, passes the italicized result. | ||
| Line 40: | Line 40: | ||
-- template should be able to italicize for all cases. | -- template should be able to italicize for all cases. | ||
--></noinclude> | --></noinclude> | ||
| − | | name = {{{italic name|{{{name|}}} }}}{{ | + | | name = {{{italic_name|{{{italic name|{{{name|}}}}}}}}}{{ |
| − | #ifeq:'|{{padleft:|1|{{{italic name|{{{name|}}} }}} }} | + | #ifeq:'|{{padleft:|1|{{{italic_name|{{{italic name|{{{name|}}}}}}}}} }} |
| − | |{{DISPLAYTITLE:{{{italic name|{{{name|}}}}}} }} | + | |{{DISPLAYTITLE:{{{italic_name|{{{italic name|{{{name|}}}}}}}}} }} |
}} | }} | ||
| colour = rgb(215,240,210) | | colour = rgb(215,240,210) | ||
| image = {{{image|}}} | | image = {{{image|}}} | ||
| − | | image_width = {{{image_width|}}} | + | | image_width = {{{image_width|{{{image width|}}}}}} |
| − | | image_alt = {{{image alt|}}} | + | | image_alt = {{{image_alt|{{{image alt|}}}}}} |
| − | | image_caption = {{{image caption|}}} | + | | image_caption = {{{image_caption|{{{image caption|}}}}}} |
| image2 = {{{image2|}}} | | image2 = {{{image2|}}} | ||
| − | | image2_width = {{{image2 width|}}} | + | | image2_width = {{{image2_width|{{{image2 width|}}}}}} |
| − | | image2_alt = {{{image2 alt|}}} | + | | image2_alt = {{{image2_alt|{{{image2 alt|}}}}}} |
| − | | image2_caption = {{{image2 caption|}}} | + | | image2_caption = {{{image2_caption|{{{image2 caption|}}}}}} |
| diversity = {{{diversity|}}} | | diversity = {{{diversity|}}} | ||
| − | | diversity_link = {{{diversity link|}}} | + | | diversity_link = {{{diversity_link|{{{diversity link|}}}}}} |
| binomial = {{{binomial|}}} | | binomial = {{{binomial|}}} | ||
| − | | binomial_authority = {{{binomial authority|}}} | + | | binomial_authority = {{{binomial_authority|{{{binomial authority|}}}}}} |
| trinomial = {{{trinomial|}}} | | trinomial = {{{trinomial|}}} | ||
| − | | trinomial_authority = {{{trinomial authority|}}} | + | | trinomial_authority = {{{trinomial_authority|{{{trinomial authority|}}}}}} |
| − | | type_ichnogenus = {{{type_ichnogenus|}}} | + | | type_ichnogenus = {{{type_ichnogenus|{{{type ichnogenus|}}}}}} |
| − | | type_ichnogenus_authority = {{{type_ichnogenus_authority|}}} | + | | type_ichnogenus_authority = {{{type_ichnogenus_authority|{{{type ichnogenus authority|}}}}}} |
| − | | type_ichnospecies = {{{type_ichnospecies|}}} | + | | type_ichnospecies = {{{type_ichnospecies|{{{type ichnospecies|}}}}}} |
| − | | type_ichnospecies_authority = {{{type_ichnospecies_authority|}}} | + | | type_ichnospecies_authority = {{{type_ichnospecies_authority|{{{type ichnospecies authority|}}}}}} |
<noinclude><!-- | <noinclude><!-- | ||
-- | -- | ||
| Line 77: | Line 77: | ||
-- generated automatically from the taxon's rank if unspecified. | -- generated automatically from the taxon's rank if unspecified. | ||
--> | --> | ||
| − | | subdivision_ranks = {{#if:{{{subdivision ranks|}}}|{{{subdivision ranks}}}|{{#if:{{{subdivision_ranks|}}}|{{{subdivision_ranks}}}|{{children_rank|{{taxonomy/{{{taxon|{{PAGENAME}}}}}|machine code=rank}} }} }} }} | + | | subdivision_ranks = {{#if:{{{subdivision ranks|}}}|{{{subdivision ranks}}}|{{#if:{{{subdivision_ranks|}}}|{{{subdivision_ranks}}}|{{children_rank|{{taxonomy/{{{taxon|{{PAGENAME}}}}}|machine code=rank}} }} }} }} |
| − | | | + | | possible_subdivision = {{{possible_subdivision|{{{possible subdivision|}}}}}} |
| − | + | | possible_subdivision_ranks = {{{possible_subdivision_ranks|{{{possible subdivision ranks|}}}}}}<!-- | |
-- | -- | ||
-- possible_subdivision_ranks: Displayed below the known | -- possible_subdivision_ranks: Displayed below the known | ||
| Line 85: | Line 85: | ||
-- for taxa from the tree of life and/or Veterovata. | -- for taxa from the tree of life and/or Veterovata. | ||
--> | --> | ||
| − | | range_map = {{{range_map|}}} | + | | range_map = {{{range_map|{{{range map|}}}}}} |
| − | | range_map_width = {{{range_map_width|}}} | + | | range_map_width = {{{range_map_width|{{{range map width|}}}}}} |
| − | | range_map_alt = {{{range_map_alt|}}} | + | | range_map_alt = {{{range_map_alt|{{{range map alt|}}}}}} |
| − | | range_map_caption = {{{range_map_caption|}}} | + | | range_map_caption = {{{range_map_caption|{{{range map caption|}}}}}} |
| binomial2 = {{{binomial2|}}} | | binomial2 = {{{binomial2|}}} | ||
| − | | binomial2_authority = {{{binomial2_authority|}}} | + | | binomial2_authority = {{{binomial2_authority|{{{binomial2 authority|}}}}}} |
| − | | range_map2 = {{{range_map2|}}} | + | | range_map2 = {{{range_map2|{{{range map2|}}}}}} |
| − | | range_map2_width = {{{range_map2_width|}}} | + | | range_map2_width = {{{range_map2_width|{{{range map2 width|}}}}}} |
| − | | range_map2_alt = {{{range_map2_alt|}}} | + | | range_map2_alt = {{{range_map2_alt|{{{range map2 alt|}}}}}} |
| − | | range_map2_caption = {{{range_map2_caption|}}} | + | | range_map2_caption = {{{range_map2_caption|{{{range map2 caption|}}}}}} |
| binomial3 = {{{binomial3|}}} | | binomial3 = {{{binomial3|}}} | ||
| − | | binomial3_authority = {{{binomial3_authority|}}} | + | | binomial3_authority = {{{binomial3_authority|{{{binomial3 authority|}}}}}} |
| − | | range_map3 = {{{range_map3|}}} | + | | range_map3 = {{{range_map3|{{{range map3|}}}}}} |
| − | | range_map3_width = {{{range_map3_width|}}} | + | | range_map3_width = {{{range_map3_width|{{{range map3 width|}}}}}} |
| − | | range_map3_alt = {{{range_map3_alt|}}} | + | | range_map3_alt = {{{range_map3_alt|{{{range map3 alt|}}}}}} |
| − | | range_map3_caption = {{{range_map3_caption|}}} | + | | range_map3_caption = {{{range_map3_caption|{{{range map3 caption|}}}}}} |
| binomial4 = {{{binomial4|}}} | | binomial4 = {{{binomial4|}}} | ||
| − | | binomial4_authority = {{{binomial4_authority|}}} | + | | binomial4_authority = {{{binomial4_authority|{{{binomial4 authority|}}}}}} |
| − | | range_map4 = {{{range_map4|}}} | + | | range_map4 = {{{range_map4|{{{range map4|}}}}}} |
| − | | range_map4_width = {{{range_map4_width|}}} | + | | range_map4_width = {{{range_map4_width|{{{range map4 width|}}}}}} |
| − | | range_map4_alt = {{{range_map4_alt|}}} | + | | range_map4_alt = {{{range_map4_alt|{{{range map4 alt|}}}}}} |
| − | | range_map4_caption = {{{range_map4_caption|}}} | + | | range_map4_caption = {{{range_map4_caption|{{{range map4 caption|}}}}}} |
| − | | synonyms_ref = {{{synonyms_ref|}}} | + | | synonyms_ref = {{{synonyms_ref|{{{synonyms ref|}}}}}} |
| synonyms = {{{synonyms|}}} | | synonyms = {{{synonyms|}}} | ||
}}<noinclude> | }}<noinclude> | ||
Revision as of 07:44, 4 May 2017
This template is used to create infoboxes for trace fossil taxa (ichnotaxa). See Trace fossil classification for more information.
| This template uses Lua: |
Taxonomy templates
Taxobox templates
- Which should be used?
- Changing the taxa displayed
- Convert a taxobox to an automated taxobox
- Glossary of automated taxobox parameters
- Automatic taxobox – mainly for genera and higher taxa
- Speciesbox – for a species
- Subspeciesbox – for an animal subspecies
- Infraspeciesbox – for a plant subspecies or variety
- Hybridbox – for an animal hybrid within a genus
- Ichnobox – for a trace fossil
- Oobox – for a fossil egg
- Virusbox – for viruses and non-cellular life
- Paraphyletic group – for concepts that do not correspond to a monophyletic clade
Usage
This template operates in a similar manner to Template:Automatic taxobox. Please see that template for general usage instructions.
There is no equivalent of {{Speciesbox}} for ichnospecies; almost all articles are about ichnogenera and ichnofamilies.
The top-level taxon for ichnotaxa - i.e. the parent for ichnotaxa that have no higher classification - is "Ichnos".
Template Data
TemplateData for Ichnobox
An infobox for ichnotaxa (trace fossils)
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | no description | String | optional |
| Fossil_range | fossil_range | no description | String | suggested |
| Image | image | no description | File | optional |
| Image_caption | image_caption | no description | String | optional |
| Image2 | image2 | no description | File | optional |
| Image2_caption | image2_caption | no description | String | optional |
| Parent_authority | parent_authority | no description | String | optional |
| Taxon | taxon | no description | String | required |
| Authority | authority | no description | String | suggested |
| Type_ichnospecies | type_ichnospecies | no description | String | optional |
| Type_ichnospecies_authority | type_ichnospecies_authority | no description | String | optional |
| Subdivision_ranks | subdivision_ranks | no description | String | optional |
| Subdivision | subdivision | no description | Unknown | optional |
| Synonyms | synonyms | no description | String | optional |
| The above documentation is transcluded from Template:Ichnobox/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Subpages of this template. |