Difference between revisions of "Template:Ichnobox/sandbox"
imported>Peter coxhead (updated HTML comment) |
imported>Peter coxhead (sync'ed with live version) |
||
| Line 8: | Line 8: | ||
-- some are noted with a comment. | -- some are noted with a comment. | ||
-- | -- | ||
| − | --></noinclude>{{Taxobox/core | + | --> |
| − | | edit link = {{{edit link| | + | <!--The nowiki that follows is needed because of parser bug T18700--></noinclude><nowiki/>{{Taxobox/core |
| + | | edit link = {{{edit link|edit}}} | ||
| ichnos = true<noinclude><!-- | | ichnos = true<noinclude><!-- | ||
-- | -- | ||
| Line 17: | Line 18: | ||
-- 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|{{{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 | + | | 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|{{{temporal range|{{{fossil_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 44: | Line 45: | ||
|{{DISPLAYTITLE:{{{italic_name|{{{italic name|{{{name|}}}}}}}}} }} | |{{DISPLAYTITLE:{{{italic_name|{{{italic name|{{{name|}}}}}}}}} }} | ||
}} | }} | ||
| − | | colour = | + | | colour = {{Taxobox colour|ichnos}} |
| image = {{{image|}}} | | image = {{{image|}}} | ||
| image_width = {{{image_width|{{{image width|}}}}}} | | image_width = {{{image_width|{{{image width|}}}}}} | ||
Revision as of 18:17, 20 December 2018
| File:Sandbox.svg | This is the template sandbox page for Template:Ichnobox (diff). See also the companion subpage for test cases. |
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. |