變更
属下分类参数多样化
<noinclude><!--
-====================================================================
- Template:Speciesbox - Generate a taxobox infobox for species
-====================================================================
--
-- This template chooses parameters to send to {Taxobox/core}, to
-- generate a right-side taxobox infobox. Most parameters are just
-- passed directly; some are explained with a comment. When run as
-- stand-alone, template shows "Speciesbox/sandbox" as sample output.
--
-------------------------------------------- Invoke {Taxobox/core}
--></noinclude><includeonly><div>{{Taxobox/core
| edit link = {{{edit link|{{{edit_link|编辑}}} }}}</includeonly><noinclude><!--
--
-- fossil_range: If the specified fossil range is a period supported
-- by templates {period_start} and {next_period}, then it incorporates
-- the specified range in template {geological range}, but checking
-- to display properly. Otherwise, just passes parameter.
--></noinclude><includeonly>
| temporal_range = {{#if:{{{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 ought really be called "taxon", not "parent" -->
| parent = {{select genus|{{{genus|}}}|{{{taxon|}}}|{{PAGENAME}} }} {{#if:{{{subseries|}}}|subser. {{{subseries}}}|{{#if:{{{series|}}}|ser. {{{series}}}|{{#if:{{{subsectio|}}}|subsect. {{{subsectio}}}|{{#if:{{{sectio|}}}|sect. {{{sectio}}}|{{#if:{{{subgenus|}}}|subg. {{{subgenus}}}}}}}}}}}}}<!--
DISPLAY PARENTS:
Number of immediate parents to display. Defaults to 1 to give the taxon some context.
-->
| display_taxa ={{#expr:{{{display parents|{{{display_parents|{{#ifeq:{{taxon info|{{{genus|{{first word|{{{taxon}}} }} }}} {{#if:{{{subseries|}}}|subser. {{{subseries}}}|{{#if:{{{series|}}}|ser. {{{series}}}|{{#if:{{{subsectio|}}}|subsect. {{{subsectio}}}|{{#if:{{{sectio|}}}|sect. {{{sectio}}}|{{#if:{{{subgenus|}}}|subg. {{{subgenus}}}}}}}}}}}}}|rank}}|genus|-1|2}} }}} }}}-1}}<!--
AUTHORITY (etc):
In the format "author, year".
--><!-- Species-authority is redundant to binomial_authority; we'll just list it the once. (This avoids reference-duplication errors, too.
| species_authority = {{{authority|{{{binomial authority|{{{binomial_authority|}}} }}} }}}-->
| subgenus_authority = {{#if:{{{subgenus|}}}|{{{parent authority|{{{parent_authority|}}} }}} }}
| authority = {{#if:{{{subgenus|}}}|{{{grandparent authority|{{{grandparent_authority|}}} }}} |{{{parent authority|{{{parent_authority|}}} }}} }}
| parent_authority = {{#if:{{{subgenus|}}}|{{{greatgrandparent authority|{{{greatgrandparent_authority|}}} }}} |{{{grandparent authority|{{{grandparent_authority|}}} }}} }}
| grandparent_authority = {{#if:{{{subgenus|}}}|{{{greatgreatgrandparent authority|{{{greatgreatgrandparent_authority|}}} }}} |{{{greatgrandparent authority|{{{greatgrandparent_authority|}}} }}} }}
| greatgrandparent_authority = {{#if:{{{subgenus|}}}|{{{greatgreatgreatgrandparent authority|{{{greatgreatgreatgrandparent_authority|}}} }}} |{{{greatgreatgrandparent authority|{{{greatgreatgrandparent_authority|}}} }}} }}
| greatgreatgrandparent_authority = {{#if:{{{subgenus|}}}|{{{greatgreatgreatgreatgrandparent authority|{{{greatgreatgreatgreatgrandparent_authority|}}} }}} |{{{greatgreatgreatgrandparent authority|{{{greatgreatgrandparent_authority|}}} }}} }}<!--
NAME :
Genus + species.
If the page title should be italicized, then {{italic title}} is included in the name parameter. This will be the case whenever the genus + species (or just the genus) matches the page name; if unspecified, these parameters are generated from the page name itself.
-->
| name = {{#switch:
{{PAGENAMEBASE}}
<!-- Redundant line?? |{{{genus|}}} {{{species|}}} -->
|{{select genus|{{{genus|}}}|{{{taxon|}}}|{{PAGENAME}}}} {{select species|{{{species|}}}|{{{taxon|}}}|{{PAGENAMEBASE}}}}
|{{select genus|{{{genus|}}}|{{{taxon|}}}|{{PAGENAME}}}}={{#ifeq:{{{italic_title|{{{italic title|}}}}}}|no||{{Italic title}}}}}}{{{name|<!--''{{#if:{{select species|{{{species|}}}|{{{taxon|}}}|}}|{{select genus|{{{genus|}}}|{{{taxon|}}}|{{PAGENAME}}}} {{select species|{{{species|}}}|{{{taxon|}}}|}}|{{PAGENAMEBASE}} }}''-->{{PAGENAME}}}}}<!--
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}}} }}}|{{#invoke:Autotaxobox|taxoboxColour|{{select genus|{{{genus|}}}|{{{taxon|}}}|{{PAGENAME}} }} }} }}
| 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|}}} }}}
| image_caption_align = {{{image caption align|{{{image_caption_align|center}}} }}}
| 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_ref = {{{diversity ref|{{{diversity_ref|}}} }}}
| diversity_link = {{{diversity link|{{{diversity_link|}}} }}}
| extinct = {{{extinct|}}}<!--
| subgenus = {{{subgenus|}}}-->
| species = {{#if:{{{extinct|}}}
|†<!--
-->|{{get dagger
|{{{name|{{PAGENAME}}}}} {{select genus|{{{genus|}}}|{{{taxon|}}}|{{PAGENAME}} }} }} }}'''{{{name|{{PAGENAME}}}}} ''{{str left|{{select genus|{{{genus|}}}|{{{taxon|}}}|{{PAGENAME}} }}|1}}. {{select species|{{{species|}}}|{{{taxon|}}}|{{PAGENAMEBASE}}}}'''''
| binomial = ''{{first word|{{select genus|{{{genus|}}}|{{{taxon|}}}|{{PAGENAME}} }} }} {{select species|{{{species|}}}|{{{taxon|}}}|{{PAGENAMEBASE}}}}''
| binomial_authority = {{{authority|{{{binomial authority|{{{binomial_authority|}}} }}} }}}
| trinomial = {{{trinomial|}}}
| trinomial_authority = {{{trinomial authority|{{{trinomial_authority|}}} }}}
| subdivision = {{{subdivision|}}}<!--
SUBDIVISION RANKS:
Displayed above the subdivision, and generated automatically from the taxon's rank if unspecified.
-->
| subdivision_ranks = {{{subdivision ranks|{{{subdivision_ranks|亚种}}} }}}
| 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|}}}
| defaultsort= {{{taxon|{{{genus|{{PAGENAME}}}}} {{{species|}}}}}}
}}</div></includeonly><noinclude>
{{documentation}}</noinclude>
-====================================================================
- Template:Speciesbox - Generate a taxobox infobox for species
-====================================================================
--
-- This template chooses parameters to send to {Taxobox/core}, to
-- generate a right-side taxobox infobox. Most parameters are just
-- passed directly; some are explained with a comment. When run as
-- stand-alone, template shows "Speciesbox/sandbox" as sample output.
--
-------------------------------------------- Invoke {Taxobox/core}
--></noinclude><includeonly><div>{{Taxobox/core
| edit link = {{{edit link|{{{edit_link|编辑}}} }}}</includeonly><noinclude><!--
--
-- fossil_range: If the specified fossil range is a period supported
-- by templates {period_start} and {next_period}, then it incorporates
-- the specified range in template {geological range}, but checking
-- to display properly. Otherwise, just passes parameter.
--></noinclude><includeonly>
| temporal_range = {{#if:{{{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 ought really be called "taxon", not "parent" -->
| parent = {{select genus|{{{genus|}}}|{{{taxon|}}}|{{PAGENAME}} }} {{#if:{{{subseries|}}}|subser. {{{subseries}}}|{{#if:{{{series|}}}|ser. {{{series}}}|{{#if:{{{subsectio|}}}|subsect. {{{subsectio}}}|{{#if:{{{sectio|}}}|sect. {{{sectio}}}|{{#if:{{{subgenus|}}}|subg. {{{subgenus}}}}}}}}}}}}}<!--
DISPLAY PARENTS:
Number of immediate parents to display. Defaults to 1 to give the taxon some context.
-->
| display_taxa ={{#expr:{{{display parents|{{{display_parents|{{#ifeq:{{taxon info|{{{genus|{{first word|{{{taxon}}} }} }}} {{#if:{{{subseries|}}}|subser. {{{subseries}}}|{{#if:{{{series|}}}|ser. {{{series}}}|{{#if:{{{subsectio|}}}|subsect. {{{subsectio}}}|{{#if:{{{sectio|}}}|sect. {{{sectio}}}|{{#if:{{{subgenus|}}}|subg. {{{subgenus}}}}}}}}}}}}}|rank}}|genus|-1|2}} }}} }}}-1}}<!--
AUTHORITY (etc):
In the format "author, year".
--><!-- Species-authority is redundant to binomial_authority; we'll just list it the once. (This avoids reference-duplication errors, too.
| species_authority = {{{authority|{{{binomial authority|{{{binomial_authority|}}} }}} }}}-->
| subgenus_authority = {{#if:{{{subgenus|}}}|{{{parent authority|{{{parent_authority|}}} }}} }}
| authority = {{#if:{{{subgenus|}}}|{{{grandparent authority|{{{grandparent_authority|}}} }}} |{{{parent authority|{{{parent_authority|}}} }}} }}
| parent_authority = {{#if:{{{subgenus|}}}|{{{greatgrandparent authority|{{{greatgrandparent_authority|}}} }}} |{{{grandparent authority|{{{grandparent_authority|}}} }}} }}
| grandparent_authority = {{#if:{{{subgenus|}}}|{{{greatgreatgrandparent authority|{{{greatgreatgrandparent_authority|}}} }}} |{{{greatgrandparent authority|{{{greatgrandparent_authority|}}} }}} }}
| greatgrandparent_authority = {{#if:{{{subgenus|}}}|{{{greatgreatgreatgrandparent authority|{{{greatgreatgreatgrandparent_authority|}}} }}} |{{{greatgreatgrandparent authority|{{{greatgreatgrandparent_authority|}}} }}} }}
| greatgreatgrandparent_authority = {{#if:{{{subgenus|}}}|{{{greatgreatgreatgreatgrandparent authority|{{{greatgreatgreatgreatgrandparent_authority|}}} }}} |{{{greatgreatgreatgrandparent authority|{{{greatgreatgrandparent_authority|}}} }}} }}<!--
NAME :
Genus + species.
If the page title should be italicized, then {{italic title}} is included in the name parameter. This will be the case whenever the genus + species (or just the genus) matches the page name; if unspecified, these parameters are generated from the page name itself.
-->
| name = {{#switch:
{{PAGENAMEBASE}}
<!-- Redundant line?? |{{{genus|}}} {{{species|}}} -->
|{{select genus|{{{genus|}}}|{{{taxon|}}}|{{PAGENAME}}}} {{select species|{{{species|}}}|{{{taxon|}}}|{{PAGENAMEBASE}}}}
|{{select genus|{{{genus|}}}|{{{taxon|}}}|{{PAGENAME}}}}={{#ifeq:{{{italic_title|{{{italic title|}}}}}}|no||{{Italic title}}}}}}{{{name|<!--''{{#if:{{select species|{{{species|}}}|{{{taxon|}}}|}}|{{select genus|{{{genus|}}}|{{{taxon|}}}|{{PAGENAME}}}} {{select species|{{{species|}}}|{{{taxon|}}}|}}|{{PAGENAMEBASE}} }}''-->{{PAGENAME}}}}}<!--
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}}} }}}|{{#invoke:Autotaxobox|taxoboxColour|{{select genus|{{{genus|}}}|{{{taxon|}}}|{{PAGENAME}} }} }} }}
| 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|}}} }}}
| image_caption_align = {{{image caption align|{{{image_caption_align|center}}} }}}
| 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_ref = {{{diversity ref|{{{diversity_ref|}}} }}}
| diversity_link = {{{diversity link|{{{diversity_link|}}} }}}
| extinct = {{{extinct|}}}<!--
| subgenus = {{{subgenus|}}}-->
| species = {{#if:{{{extinct|}}}
|†<!--
-->|{{get dagger
|{{{name|{{PAGENAME}}}}} {{select genus|{{{genus|}}}|{{{taxon|}}}|{{PAGENAME}} }} }} }}'''{{{name|{{PAGENAME}}}}} ''{{str left|{{select genus|{{{genus|}}}|{{{taxon|}}}|{{PAGENAME}} }}|1}}. {{select species|{{{species|}}}|{{{taxon|}}}|{{PAGENAMEBASE}}}}'''''
| binomial = ''{{first word|{{select genus|{{{genus|}}}|{{{taxon|}}}|{{PAGENAME}} }} }} {{select species|{{{species|}}}|{{{taxon|}}}|{{PAGENAMEBASE}}}}''
| binomial_authority = {{{authority|{{{binomial authority|{{{binomial_authority|}}} }}} }}}
| trinomial = {{{trinomial|}}}
| trinomial_authority = {{{trinomial authority|{{{trinomial_authority|}}} }}}
| subdivision = {{{subdivision|}}}<!--
SUBDIVISION RANKS:
Displayed above the subdivision, and generated automatically from the taxon's rank if unspecified.
-->
| subdivision_ranks = {{{subdivision ranks|{{{subdivision_ranks|亚种}}} }}}
| 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|}}}
| defaultsort= {{{taxon|{{{genus|{{PAGENAME}}}}} {{{species|}}}}}}
}}</div></includeonly><noinclude>
{{documentation}}</noinclude>