Difference between revisions of "Template:Ichnobox/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Wikid77
(added top noinclude'd comments; omitted call to "warmup" template.)
imported>SporkBot
Line 1: Line 1:
<noinclude><!--
+
<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><!--
-==================================================================
 
-  Template:Ichnobox - Generate right-side infobox of ichno data
 
-==================================================================
 
--
 
-- OMIT peculiar "warmup" template ... <div style='display:none; visibility:hidden'>{{Taxobox/taxon|Agrestipus}}<!-- 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
+
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.
--  the output HTML.  Most parameters are just passed directly;
 
--  some are noted with a comment.
 
  
--></noinclude>{{Taxobox/core
+
-->{{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|<includeonly>{{PAGENAME}}</includeonly><noinclude>Agrestipus</noinclude>|}}}|{{{1|}}} }}<!--
+
| 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 = {{{italic name|{{{name|}}} }}}{{
+
| name = {{#ifeq:'|{{str rightmost|1='{{{name|}}}|2=1}}|{{#if:{{{italic name|}}}|[[Category:Automatic taxobox cleanup|&iota;]]{{DISPLAYTITLE:{{
  #ifeq:'|{{padleft:|1|{{{italic name|{{{name|}}} }}} }}
 
    |{{DISPLAYTITLE:{{{italic name|{{{name|}}}}}} }}
 
  }}<!--
 
-------------------------------------------- ( Omit this stuff... )
 
{{#ifeq:'|{{padleft:|1|'{{{name}}} }}|{{#if:{{{italic name|}}}|[[Category:Automatic taxobox cleanup|&iota;]]{{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|{{PAGENAME}}|}}}|{{{1|}}} }} }}
+
     |2={{taxobox/italics|{{Taxobox/taxon|{{{taxon|}}}|{{{1|}}} }} }}
     |3={{taxobox/italics|{{t^|{{Taxobox/taxon|{{{taxon|{{PAGENAME}}|}}}|{{{1|}}} }} }} }}
+
     |3={{taxobox/italics|{{t^|{{Taxobox/taxon|{{{taxon|}}}|{{{1|}}} }} }} }}
     |4={{taxobox/italics|{{t^^|{{Taxobox/taxon|{{{taxon|{{PAGENAME}}|}}}|{{{1|}}} }} }} }}
+
     |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|}}}}}}
| subdivision = {{{subdivision|}}}
 
 
<!--
 
<!--
  
Line 89: Line 76:
  
 
-->
 
-->
| subdivision = {{{subdivision|{{#if:{{{display children|}}}|{{Child taxa/{{Taxobox/taxon|{{{taxon|{{PAGENAME}}|}}}|{{{1|}}} }}|depth={{{display children|}}} }} }} }}}<!--
+
| 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|{{PAGENAME}}|}}}|{{{1|}}} }}|rank}} }} }}} }}}
+
| 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

Template documentation[view] [edit] [history] [purge]

This template is used to create infoboxes for trace fossil taxa (ichnotaxa). See Trace fossil classification for more information.

Documentation for the automated taxobox system

Taxonomy templates

Taxobox templates

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

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Ichnobox

An infobox for ichnotaxa (trace fossils)

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

no description

Stringoptional
Fossil_rangefossil_range

no description

Stringsuggested
Imageimage

no description

Fileoptional
Image_captionimage_caption

no description

Stringoptional
Image2image2

no description

Fileoptional
Image2_captionimage2_caption

no description

Stringoptional
Parent_authorityparent_authority

no description

Stringoptional
Taxontaxon

no description

Stringrequired
Authorityauthority

no description

Stringsuggested
Type_ichnospeciestype_ichnospecies

no description

Stringoptional
Type_ichnospecies_authoritytype_ichnospecies_authority

no description

Stringoptional
Subdivision_rankssubdivision_ranks

no description

Stringoptional
Subdivisionsubdivision

no description

Unknownoptional
Synonymssynonyms

no description

Stringoptional