Difference between revisions of "Template:Automatic taxobox/Sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Gary
(f)
imported>Peter coxhead
(namespace)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#ifexist:Template:Taxonomy/{{Taxobox/taxon|{{{taxon|}}}|{{{1|}}} }}||{{Automatic taxobox/floating intro|taxon={{Taxobox/taxon|{{{taxon|}}}|{{{1|}}} }} }} }}{{Taxobox/core
+
#REDIRECT [[Template:Automatic taxobox/sandbox]]
| edit link = {{{edit link|{{{edit_link|e}}} }}}
 
| temporal_range = {{#if:{{{temporal_range|{{{temporal range|{{{fossil_range|{{{fossil range|}}} }}} }}} }}}|{{#iferror:{{period start|{{{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 ought really be called "taxon", not "parent" -->
 
| parent = {{Taxobox/taxon|{{{taxon|}}}|{{{1|}}} }}<!--
 
DISPLAY PARENTS:
 
Number of immediate parents to display. Defaults to 1 to give the taxon some context.
 
-->
 
| display_taxa = {{{display parents|{{{display_parents|1}}}}}}<!--
 
AUTHORITY (etc):
 
In the format "author, year". 
 
-->
 
| authority = {{{authority|}}}
 
| parent_authority = {{{parent authority|{{{parent_authority|}}} }}}
 
| grandparent_authority = {{{grandparent authority|{{{grandparent_authority|}}} }}}
 
| greatgrandparent_authority = {{{greatgrandparent authority|{{{greatgrandparent_authority|}}} }}}
 
| greatgreatgrandparent_authority = {{{greatgreatgrandparent authority|{{{greatgreatgrandparent_authority|}}} }}}<!--
 
NAME :
 
Works out whether the name should be italicized (think genera, species, etc); if so, passes the appropriately italicized result.
 
There should be no punctuation in the "name" parameter, which is intended only for cases where the taxobox name does not match that displayed or linked to by the taxon in question.  Italics are generated automatically.
 
 
 
ITALIC_NAME :
 
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|{{#if:{{{italic name|{{{italic_name|}}}}}}|[[Category:Automatic taxobox cleanup|&iota;]]{{DISPLAYTITLE:{{
 
  #if:{{NAMESPACE}}
 
  | {{NAMESPACE}}:
 
  }}''{{{italic_name}}}''}}''{{{italic name}}}''|{{taxobox name
 
    |1={{{binomial|}}}
 
    |2={{taxobox/italics|{{Taxobox/taxon|{{{taxon|}}}|{{{1|}}} }} }}
 
    |3={{taxobox/italics|{{t^|{{Taxobox/taxon|{{{taxon|}}}|{{{1|}}} }} }} }}
 
    |4={{taxobox/italics|{{t^^|{{Taxobox/taxon|{{{taxon|}}}|{{{1|}}} }} }} }}
 
  }}
 
}} }}}<!--
 
COLOUR:
 
(Note the UK spelling here)
 
Generated by Template:Taxobox colour, a switch-template that should be fed the taxon name.
 
-->
 
| colour  = {{#if:{{{color|{{{colour|}}} }}}|{{{color|{{{colour}}} }}}|{{taxobox colour|taxon={{Taxobox/taxon|1={{{taxon|}}}|2={{{1|}}} }} }} }}
 
| status  = {{{status|}}}
 
| status_system = {{{status system|{{{status_system|}}} }}}
 
| status_ref = {{{status ref|{{{status_ref|}}} }}}
 
| status2  = {{{status2|}}}
 
| status2_system = {{{status2 system|{{{status2_system|}}} }}}
 
| status2_ref = {{{status2 ref|{{{status2_ref|}}} }}}
 
| image = {{{image|}}}
 
| image_width = {{{image_width|{{{image width|}}} }}}
 
| image_alt = {{{image alt|{{{image_alt|}}} }}}
 
| image_caption = {{{image caption|{{{image_caption|}}} }}}
 
| image2 = {{{image2|}}}
 
| image2_width = {{{image2 width|{{{image2_width|}}} }}}
 
| image2_alt = {{{image2 alt|{{{image2_alt|}}}}}}
 
| image2_caption = {{{image2 caption|{{{image2_caption|}}}}}}
 
| classification_status = {{{classification status|{{{classification_status|}}} }}}
 
| diversity = {{{diversity|}}}
 
| diversity_link = {{{diversity link|{{{diversity_link|}}} }}}
 
| binomial = {{{binomial|}}}
 
| binomial_authority = {{{binomial authority|{{{binomial_authority|}}} }}}
 
| trinomial = {{{trinomial|}}}
 
| trinomial_authority = {{{trinomial authority|{{{trinomial_authority|}}} }}}
 
| type_genus = {{{type genus|{{{type_genus|}}}}}}
 
| type_genus_authority = {{{type genus authority|{{{type_genus_authority|}}} }}}
 
| type_species = {{{type species|{{{type_species|}}} }}}
 
| type_species_authority = {{{type species authority|{{{type_species_authority|}}} }}}<!--
 
 
 
SUBDIVISION:
 
Can be overridden manually. 
 
If not, "display children" will include a list generated by Taxobot.
 
Passing "depth=display children" determines the level of nesting; note the option "2 collapse". 
 
If in main/talkspace, the list will be generated using templates "Auto taxon list {{{display children}}}".  (Otherwise, "auto" is replaced with "edit", to allow editable lists, e.g. at template:taxonomy/xxx)
 
 
 
-->
 
| subdivision = {{{subdivision|{{#if:{{{display children|{{{display_children|}}}}}}|{{Child taxa/{{Taxobox/taxon|{{{taxon|}}}|{{{1|}}} }}|depth={{{display children|{{{display_children}}}}}} }} }} }}}<!--
 
 
 
SUBDIVISION RANKS:
 
Displayed above the subdivision, and generated automatically from the taxon's rank if unspecified.
 
 
 
-->
 
| subdivision_ranks = {{{subdivision ranks|{{{subdivision_ranks|{{children_rank|{{taxonomy/{{Taxobox/taxon|{{{taxon|}}}|{{{1|}}} }}|rank}} }} }}} }}}
 
| type_strain = {{{type strain|{{{type_strain|}}} }}}
 
| range_map = {{{range map|{{{range_map|}}} }}}
 
| range_map_width = {{{range map width|{{{range_map_width|}}} }}}
 
| range_map_alt = {{{range map alt|{{{range_map_alt|}}} }}}
 
| range_map_caption = {{{range map caption|{{{range_map_caption|}}} }}}
 
| binomial2 = {{{binomial2|}}}
 
| binomial2_authority = {{{binomial2 authority|{{{binomial2_authority|}}} }}}
 
| range_map2 = {{{range map2|{{{range_map2|}}} }}}
 
| range_map2_width = {{{range map2 width| {{{range_map2_width|}}}}}}
 
| range_map2_alt = {{{range map2 alt|{{{range_map2_alt|}}} }}}
 
| range_map2_caption = {{{range map2 caption|{{{range_map2_caption|}}} }}}
 
| binomial3 = {{{binomial3|}}}
 
| binomial3_authority = {{{binomial3 authority|{{{binomial3_authority|}}} }}}
 
| range_map3 = {{{range map3|{{{range_map3|}}} }}}
 
| range_map3_width = {{{range map3 width|{{{range_map3_width|}}} }}}
 
| range_map3_alt = {{{range map3 alt|{{{range_map3_alt|}}} }}}
 
| range_map3_caption = {{{range map3 caption|{{{range_map3_caption|}}} }}}
 
| binomial4 = {{{binomial4|}}}
 
| binomial4_authority = {{{binomial4 authority|{{{binomial4_authority|}}} }}}
 
| range_map4 = {{{range map4|{{{range_map4|}}} }}}
 
| range_map4_width = {{{range map4 width|{{{range_map4_width|}}} }}}
 
| range_map4_alt = {{{range map4 alt|{{{range_map4_alt|}}} }}}
 
| range_map4_caption = {{{range map4 caption|{{{range_map4_caption|}}} }}}
 
| synonyms_ref = {{{synonyms ref|{{{synonyms_ref|}}} }}}
 
| synonyms = {{{synonyms|}}}
 
}}</includeonly>
 

Latest revision as of 16:45, 23 November 2016