قالب:Taxon info
طلحية
This template is used on approximately 53٬000 pages, so changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Please consider discussing changes on the talk page قبل تنفيذهم. |
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}} → Felinae
rank
– {{Taxon info|Pteranodon|rank}} → Template:Taxonomy/Pteranodon
link target
– {{Taxon info|Pteranodon|link_target}} → Template:Taxonomy/Pteranodon
plain link text
– {{Taxon info|Pteranodon|plain_link_text}} → Template:Taxonomy/Pteranodon
extinct
– {{Taxon info|Pteranodon|extinct}} → Template:Taxonomy/Pteranodon
always display
– {{Taxon info|Araneomorphae|always_display}} → true
refs
– {{Taxon info|Chenistonia|refs}} → Template:Taxonomy/Chenistonia
same as
– {{Taxon info|Avialae/skip|same_as}} → Template:Taxonomy/Avialae/skip
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-group
rank
– {{Taxon info|Corallinaceae/stem-group|rank}} → Template:Taxonomy/Corallinaceae/stem-group
link target
– {{Taxon info|Corallinaceae/stem-group|link_target}} → Template:Taxonomy/Corallinaceae/stem-group
plain link text
– {{Taxon info|Corallinaceae/stem-group|plain_link_text}} → Template:Taxonomy/Corallinaceae/stem-group
extinct
– {{Taxon info|Corallinaceae/stem-group|extinct}} → Template:Taxonomy/Corallinaceae/stem-group
always display
– {{Taxon info|Corallinaceae/stem-group|always_display}} → true
refs
– {{Taxon info|Corallinaceae/stem-group|refs}} → Template:Taxonomy/Corallinaceae/stem-group
same 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
The above documentation is transcluded from قالب:Taxon info/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |