ଛାଞ୍ଚ:Taxon info/doc
This is a documentation subpage for ଛାଞ୍ଚ:Taxon info. It may contain usage information, categories and other content that is not part of the original ଛାଞ୍ଚ page. |
This template is used on approximately ୪,୨୬,୦୦୦ pages, or roughly 520% of all pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
This template is a wrapper for the function taxonInfo in Module:Autotaxobox. It is only intended for use from within templates implementing the automated taxobox system.
Usage
[ସମ୍ପାଦନା]The template returns information held in "Template:Taxonomy/taxon". The information is ultimately returned by one of the "Don't edit this line" variant templates.
{{Taxon info|taxon|item}}
item
has one of the following primary values:
parent
–{{Taxon info|Felis|parent}}
→ Felinaerank
–{{Taxon info|Pteranodon|rank}}
→ genuslink target
–{{Taxon info|Pteranodon|link_target}}
→ Pteranodonplain link text
–{{Taxon info|Pteranodon|plain_link_text}}
→ Pteranodonextinct
–{{Taxon info|Pteranodon|extinct}}
→ truealways display
–{{Taxon info|Araneomorphae|always_display}}
→ Template:Taxonomy/Araneomorphaerefs
–{{Taxon info|Chenistonia|refs}}
→ Template:Taxonomy/Chenistoniasame as
–{{Taxon info|Avialae/skip|same_as}}
→ Avialae
One same_as
link will be followed, if it is present and the direct value of the item is the empty string. Thus Template:Taxonomy/Corallinaceae/stem-group has |same as=Corallinaceae
plus |rank=stem-group
, so all other values are obtained from Template:Taxonomy/Corallinaceae:
parent
–{{Taxon info|Corallinaceae/stem-group|parent}}
→ Template:Taxonomy/Corallinaceae/stem-grouprank
–{{Taxon info|Corallinaceae/stem-group|rank}}
→ Template:Taxonomy/Corallinaceae/stem-grouplink target
–{{Taxon info|Corallinaceae/stem-group|link_target}}
→ Template:Taxonomy/Corallinaceae/stem-groupplain link text
–{{Taxon info|Corallinaceae/stem-group|plain_link_text}}
→ Template:Taxonomy/Corallinaceae/stem-groupextinct
–{{Taxon info|Corallinaceae/stem-group|extinct}}
→ Template:Taxonomy/Corallinaceae/stem-groupalways display
–{{Taxon info|Corallinaceae/stem-group|always_display}}
→ Template:Taxonomy/Araneomorphaerefs
–{{Taxon info|Corallinaceae/stem-group|refs}}
→ Template:Taxonomy/Corallinaceae/stem-groupsame as
–{{Taxon info|Corallinaceae/stem-group|same_as}}
→ Template:Taxonomy/Corallinaceae/stem-group
A special case is if the item requested has the value all
. In this case, no
same_as
link is followed. All the values in the taxon's taxonomy template will be returned, separated by "$", in the order parent$rank$link$link_text$always_display$extinct$same_as$refs
.
{{Taxon info|Corallinaceae/stem-group|all}}
→ Template:Taxonomy/Corallinaceae/stem-group{{Taxon info|Corallinaceae|all}}
→ Template:Taxonomy/Corallinaceae