Difference between revisions of "Template:Ichnobox/sandbox"
imported>Wikid77 (added top noinclude'd comments; omitted call to "warmup" template.) |
imported>SporkBot m (Repair duplicate template arguments) |
||
| Line 1: | Line 1: | ||
| − | < | + | <includeonly><div style='display:none; visibility:hidden'>{{Taxobox/taxon}}<!-- This template has to be "warmed up" before it can be used, for some reason --></div><!-- |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | This template sends parameters to taxobox/core, which generates the output HTML. Most parameters are just passed directly; interesting ones are noted with a comment. | |
| − | |||
| − | |||
| − | -- | + | -->{{Taxobox/core |
| edit link = {{{edit link|e}}} | | edit link = {{{edit link|e}}} | ||
| ichnos = true<!-- | | ichnos = true<!-- | ||
| Line 21: | Line 14: | ||
| 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|}}}|{{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|{{{temporal range|{{{fossil_range|{{{fossil range|}}} }}} }}} }}} }} }} | {{#if:{{{oldest fossil|}}}|{{geological range|{{{oldest fossil}}}|{{{youngest fossil|Recent}}} }} }} }}<!-- | ||
PARENT: this parameter ought really be called "taxon", not "parent" --> | PARENT: this parameter ought really be called "taxon", not "parent" --> | ||
| − | | parent = {{Taxobox/taxon|{{{taxon | + | | parent = {{Taxobox/taxon|{{{taxon|}}}|{{{1|}}} }}<!-- |
DISPLAY PARENTS: | DISPLAY PARENTS: | ||
Number of immediate parents to display. Defaults to 1 to give the taxon some context. | Number of immediate parents to display. Defaults to 1 to give the taxon some context. | ||
| Line 41: | Line 34: | ||
This parameter is still supported (just in case), but shows up in Category:Automatic taxobox cleanup because the template ''should'' be able to italicize things itself in all cases. | This parameter is still supported (just in case), but shows up in Category:Automatic taxobox cleanup because the template ''should'' be able to italicize things itself in all cases. | ||
--> | --> | ||
| − | | name = {{ | + | | name = {{#ifeq:'|{{str rightmost|1='{{{name|}}}|2=1}}|{{#if:{{{italic name|}}}|[[Category:Automatic taxobox cleanup|ι]]{{DISPLAYTITLE:{{ |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
#if:{{NAMESPACE}} | #if:{{NAMESPACE}} | ||
| {{NAMESPACE}}: | | {{NAMESPACE}}: | ||
}}''{{{italic_name}}}''}}''{{{italic name}}}''|{{taxobox name | }}''{{{italic_name}}}''}}''{{{italic name}}}''|{{taxobox name | ||
|1={{{binomial|}}} | |1={{{binomial|}}} | ||
| − | |2={{taxobox/italics|{{Taxobox/taxon|{{{taxon | + | |2={{taxobox/italics|{{Taxobox/taxon|{{{taxon|}}}|{{{1|}}} }} }} |
| − | |3={{taxobox/italics|{{t^|{{Taxobox/taxon|{{{taxon | + | |3={{taxobox/italics|{{t^|{{Taxobox/taxon|{{{taxon|}}}|{{{1|}}} }} }} }} |
| − | |4={{taxobox/italics|{{t^^|{{Taxobox/taxon|{{{taxon | + | |4={{taxobox/italics|{{t^^|{{Taxobox/taxon|{{{taxon|}}}|{{{1|}}} }} }} }} |
}} | }} | ||
}}|{{{name}}} }}<!-- | }}|{{{name}}} }}<!-- | ||
| Line 79: | Line 67: | ||
| type_ichnospecies = {{{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|{{{type ichnospecies authority|}}}}}} | ||
| − | |||
<!-- | <!-- | ||
| Line 89: | Line 76: | ||
--> | --> | ||
| − | | subdivision = {{{subdivision|{{#if:{{{display children|}}}|{{Child taxa/{{Taxobox/taxon|{{{taxon | + | | subdivision = {{{subdivision|{{#if:{{{display children|{{{display_children|}}}}}}|{{Child taxa/{{Taxobox/taxon|{{{taxon|}}}|{{{1|}}} }}|depth={{{display children|{{{display_children}}}}}} }} }} }}}<!-- |
SUBDIVISION RANKS: | SUBDIVISION RANKS: | ||
| Line 95: | Line 82: | ||
--> | --> | ||
| − | | subdivision_ranks = {{{subdivision ranks|{{{subdivision_ranks|{{children_rank|{{taxonomy/{{Taxobox/taxon|{{{taxon | + | | subdivision_ranks = {{{subdivision ranks|{{{subdivision_ranks|{{children_rank|{{taxonomy/{{Taxobox/taxon|{{{taxon|}}}|{{{1|}}} }}|rank}} }} }}} }}} |
| possible_subdivision = {{{possible_subdivision|{{{possible subdivision|}}}}}} | | possible_subdivision = {{{possible_subdivision|{{{possible subdivision|}}}}}} | ||
| possible_subdivision_ranks = {{{possible_subdivision_ranks|{{{possible subdivision ranks}}}}}}<!-- | | possible_subdivision_ranks = {{{possible_subdivision_ranks|{{{possible subdivision ranks}}}}}}<!-- | ||
| Line 126: | Line 113: | ||
| synonyms_ref = {{{synonyms ref|{{{synonyms_ref|}}} }}} | | synonyms_ref = {{{synonyms ref|{{{synonyms_ref|}}} }}} | ||
| synonyms = {{{synonyms|}}} | | synonyms = {{{synonyms|}}} | ||
| − | }}<noinclude> | + | }}</includeonly><noinclude>{{documentation}}[[Category:Biology infobox templates]]</noinclude> |
| − | |||
| − | {{documentation}}[[Category:Biology infobox templates]]</noinclude> | ||
Revision as of 02:44, 16 February 2015
| 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.
| File:Lua-Logo.svg | 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. Please add categories to the /doc subpage. Subpages of this template. |