Predloga:Taxon info
Fabaceae
![]() | Predloga se uporablja na številnih straneh, zato bo vsaka njena sprememba takoj zelo opazna. Prosimo, da vse spremembe, ki jih želite uvesti, pred uvedbo preizkusite na podstraneh predloge (/peskovnik in /testniprimeri) ali na svojih lastnih podstraneh. Pred spreminjanjem te predloge se o želenih spremembah rajši pogovorite na pogovorni strani. |
![]() | Uporablja Lua: |
This template is a wrapper for the function taxonInfo in Modul:Autotaxobox. It is only intended for use from within templates implementing the automated taxobox system.
Usage
[uredi kodo]The template returns information held in "Predloga:Taksonomija/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}}
→ yesalways display
–{{Taxon info|Araneomorphae|always_display}}
→ truerefs
–{{Taxon info|Chenistonia|refs}}
→ »Family: Anamidae Simon, 1889 (genus list)«, World Spider Catalog, Natural History Museum Bern, pridobljeno 10. julija 2020same 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 Predloga:Taksonomija/Corallinaceae/stem-group has |same as=Corallinaceae
plus |rank=stem-group
, so all other values are obtained from Predloga:Taksonomija/Corallinaceae:
parent
–{{Taxon info|Corallinaceae/stem-group|parent}}
→ Corallinalesrank
–{{Taxon info|Corallinaceae/stem-group|rank}}
→ stem grouplink target
–{{Taxon info|Corallinaceae/stem-group|link_target}}
→ Corallinaceaeplain link text
–{{Taxon info|Corallinaceae/stem-group|plain_link_text}}
→ Corallinaceaeextinct
–{{Taxon info|Corallinaceae/stem-group|extinct}}
→always display
–{{Taxon info|Corallinaceae/stem-group|always_display}}
→ truerefs
–{{Taxon info|Corallinaceae/stem-group|refs}}
→same as
–{{Taxon info|Corallinaceae/stem-group|same_as}}
→ Corallinaceae
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}}
→ $stem group$$$$$Corallinaceae${{Taxon info|Corallinaceae|all}}
→ Corallinales$familia$Corallinaceae$$$$$