被永久保护的模板

Template:Taxon info

维基百科,自由的百科全书
跳到导航 跳到搜索

Acacieae

文档图示 模板文档[查看] [编辑] [历史] [清除缓存]

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|Homininae|parent}} → Hominidae
  • rank{{Taxon info|Homininae|rank}} → subfamilia
  • link target{{Taxon info|Homininae|link_target}} → 人亚科
  • plain link text{{Taxon info|Homininae|plain_link_text}} → {{{1}}}

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:

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.