"साँचा:Automatic taxobox" के अवतरणों में अंतर

633 बैट्स् जोड़े गए ,  4 वर्ष पहले
सम्पादन सारांश रहित
 
-- stand-alone, template shows genus "Acacia" as a sample output.
--
-------------------------------------------- Check for taxon pagetaxonomy template
--></noinclude>{{#ifexist:Template:Taxonomy/{{{taxon|<includeonly>{{PAGENAME}}</includeonly><noinclude>Acacia</noinclude>}}}
--></noinclude>{{
|<noinclude><!--do nothing if it exists--></noinclude>
#ifexist:Template:Taxonomy/{{Taxobox/taxon|{{{taxon|<noinclude>बबूल
|{{Automatic taxobox/floating intro|taxon={{Taxobox/taxon|{{{taxon|{{PAGENAME}}|}}}|{{{1|}}} }} }} }}<noinclude><!--
</noinclude><includeonly>{{PAGENAME}}</includeonly>}}}|{{{1|}}} }}
-->}}<noinclude><!--
|
-------------------------------------------- Invoke {Taxobox/core}
|{{Automatic taxobox/floating intro|taxon={{Taxobox/taxon|{{{taxon|{{PAGENAME}}|}}}|{{{1|}}} }} }} }}<noinclude><!--
The nowiki that follows is needed because of parser bug T18700--></noinclude><nowiki/>{{Taxobox/core
-------------------------------------------- Invoke {Taxobox/core}
--></noinclude><div>{{Taxobox/core
| edit link = {{{edit link|{{{edit_link|e}}} }}}<noinclude><!--
--
| 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 should be called "taxon", not "parent" -->
| parent = {{Taxobox/taxon|{{{taxon|<noinclude>Acacia</noinclude><includeonly>{{PAGENAME}}</includeonly>}}}<!--
</noinclude><includeonly>{{PAGENAME}}</includeonly>|}}}|{{{1|}}} }}<!--
-- display_parents: number of parent taxons to display
-- (default: 1, to give the taxon some context). -->
| 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|{{PAGENAME}}|}}}|{{{1|}}} }} }}
|3={{taxobox/italics|{{t^|{{Taxobox/taxon info|{{{taxon|{{PAGENAME}}|}}}|{{{1|}}} }} parent}} }}
|4={{taxobox/italics|{{t^^taxon info|{{Taxobox/taxon info|{{{taxon|{{PAGENAME}}|}}}|{{{1|parent}}} |parent}} }} }}
}} }} }}}<noinclude><!--
-- colour: (Note UK spelling here) GeneratedThere byare Templatetwo cases:Taxobox_colour,
1) the parameter color_as has a value – the colour is found directly using {{Taxobox colour|color_as}}
-- a switch-template that should be fed the taxon name. --></noinclude>
2) otherwise – Module:Autotaxobox|taxoboxColour searches up the taxonomic hierarchy to try to find a taxon that
| colour = {{#if:{{{color|{{{colour|}}} }}}|{{{color|{{{colour}}} }}}|{{taxobox colour|taxon={{Taxobox/taxon|1={{{taxon|{{PAGENAME}}|}}}|2={{{1|}}} }} }} }}
determines the taxobox colour
--></noinclude>{{
| colour = {{#if:{{{color_as|{{{colour_as|{{{color as|{{{colour as|}}}}}}}}}}}}|{{Taxobox colour|{{{color_as|{{{colour_as|{{{color as|{{{colour as|}}}}}}}}}}}}}}|{{#invoke:Autotaxobox|taxoboxColour|{{{taxon|<includeonly>{{PAGENAME}}</includeonly><noinclude>Acacia</noinclude>}}} }} }}
| status = {{{status|}}}
| status_system = {{{status system|{{{status_system|}}} }}}
| status2_system = {{{status2 system|{{{status2_system|}}} }}}
| status2_ref = {{{status2 ref|{{{status2_ref|}}} }}}
| trend = {{{trend|}}}
| extinct = {{{extinct|}}}
| image = {{{image|}}}
| image_width = {{{image_width|{{{image width|}}} }}}
| upright = {{{image_upright|{{{image upright|}}}}}}
| 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|}}} }}}
| upright2 = {{{image2_upright|{{{image2 upright|}}}}}}
| 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|}}} }}}
| binomial = {{{binomial|{{Automatic taxobox/is species|{{{taxon|<includeonly>{{PAGENAME}}</includeonly>}}}}}}}}
| binomial_authority = {{{binomial authority|{{{binomial_authority|}}} }}}
| trinomial = {{{trinomial|}}}
| type_genus_authority = {{{type genus authority|{{{type_genus_authority|}}} }}}
| type_species = {{{type species|{{{type_species|}}} }}}
| type_species_authority = {{{type species authority|{{{type_species_authority|}}} }}}<noinclude><!--
| subdivision = {{{subdivision|}}}<noinclude><!--
-- subdivision: can be overridden manually.
-- If subdivision has a value, subdivision_ranks provides a section heading in the taxobox. A default will be
-- If not, "display_children" will include a list generated by Taxobot.
-- generated from the target taxon's rank if no value is given. --></noinclude>
-- Passing "depth={display_children}" determines the level of nesting;
| subdivision_ranks = {{#if:{{{subdivision ranks|}}}|{{{subdivision ranks}}}|{{#if:{{{subdivision_ranks|}}}|{{{subdivision_ranks}}}|{{children_rank|{{taxonomy/{{Taxobox/taxon|{{{taxon|{{PAGENAME}}|}}}|{{{1|}}}machine }}|code=rank}} }} } }} }}}
-- note the option "2 collapse".
-- If in main/talkspace, the list will be generated using the
-- templates "Auto taxon list {{{display children}}}" (Otherwise,
-- "auto" is replaced with "edit", to allow editable lists, e.g.
-- at template:taxonomy/xxx). --></noinclude>
| subdivision = {{{subdivision|{{#if:{{{display children|}}}|{{Child taxa/{{Taxobox/taxon|{{{taxon|{{PAGENAME}}|}}}|{{{1|}}} }}|depth={{{display children|}}} }} }} }}}<!--
-- subdivision_ranks: the taxon ranks are displayed above the
-- name of the subdivision, and generated automatically from the
-- taxon's rank if unspecified. -->
| subdivision_ranks = {{{subdivision ranks|{{{subdivision_ranks|{{children_rank|{{taxonomy/{{Taxobox/taxon|{{{taxon|{{PAGENAME}}|}}}|{{{1|}}} }}|rank}} }} }}} }}}
| type_strain = {{{type strain|{{{type_strain|}}} }}}
| range_map = {{{range map|{{{range_map|}}} }}}
| range_map_upright = {{{range_map_upright|{{{range map upright|}}}}}}
| range_map_width = {{{range map width|{{{range_map_width|}}} }}}
| range_map_alt = {{{range map alt|{{{range_map_alt|}}} }}}
| binomial2_authority = {{{binomial2 authority|{{{binomial2_authority|}}} }}}
| range_map2 = {{{range map2|{{{range_map2|}}} }}}
| range_map2_upright = {{{range_map2_upright|{{{range map2 upright|}}}}}}
| range_map2_width = {{{range map2 width| {{{range_map2_width|}}}}}}
| range_map2_alt = {{{range map2 alt|{{{range_map2_alt|}}} }}}
| binomial3_authority = {{{binomial3 authority|{{{binomial3_authority|}}} }}}
| range_map3 = {{{range map3|{{{range_map3|}}} }}}
| range_map3_upright = {{{range_map3_upright|{{{range map3 upright|}}}}}}
| range_map3_width = {{{range map3 width|{{{range_map3_width|}}} }}}
| range_map3_alt = {{{range map3 alt|{{{range_map3_alt|}}} }}}
| binomial4_authority = {{{binomial4 authority|{{{binomial4_authority|}}} }}}
| range_map4 = {{{range map4|{{{range_map4|}}} }}}
| range_map4_upright = {{{range_map4_upright|{{{range map4 upright|}}}}}}
| range_map4_width = {{{range map4 width|{{{range_map4_width|}}} }}}
| range_map4_alt = {{{range map4 alt|{{{range_map4_alt|}}} }}}
| synonyms_ref = {{{synonyms ref|{{{synonyms_ref|}}} }}}
| synonyms = {{{synonyms|}}}
}}{{#if:{{{binomial|}}}|[[Category:Automatic taxoboxes using binomial parameter]]}}<noinclude><!--
}}</div><noinclude><!--
---------------------------------------------------------------------------
--NOTES
--01Nov2012 Put NOTES comments to explain template operation.
--01Nov2012 Put HISTORY comments to log major changes (not typos).
--15Nov2016 (to 20Dec2016) Major changes to the method of determining the taxobox colour.
--
-->{{documentationDocumentation}}</noinclude>
<!--Please add this template's categories to the /doc subpage, not here - thanks!-->
}}</div><noinclude><!--
202

सम्पादन