模板:Taxon info/doc
此頁面是Template:Taxon info的模板文件。 此頁面可能包含了模板的使用說明、分類和其他內容。 |
此模板文件被引用於約179,000個頁面。 為了避免造成大規模的影響,所有對此模板文件的編輯應先於沙盒、測試樣例或您的沙盒上測試。 測試後無誤的版本可以一次性地加入此模板文件中,但是修改前請務必於討論頁發起討論。 模板引用數量會自動更新。 |
此模板使用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|Homininae|parent}}
→ Hominidaerank
–{{Taxon info|Homininae|rank}}
→ subfamilialink target
–{{Taxon info|Homininae|link_target}}
→ 人亞科plain link text
–{{Taxon info|Homininae|plain_link_text}}
→ 人亞科extinct
–{{Taxon info|Ornithischia|extinct}}
→ 是always display
–{{Taxon info|Rosids|always_display}}
→ truerefs
–{{Taxon info|Brassicaceae|refs}}
→- Angiosperm Phylogeny Group. An update of the Angiosperm Phylogeny Group classification for the orders and families of flowering plants: APG IV (PDF). Botanical Journal of the Linnean Society. 2016, 181 (1): 1–20 [2017-04-24]. doi:10.1111/boj.12385.
- Brassicaceae. In Stevens, P. F. (2001 onwards). Angiosperm Phylogeny Website. Version 9, June 2008 [and more or less continuously updated since].
- Brassicaceae. In: The Plant List (2013). Version 1.1. Published on the Internet; http://www.theplantlist.org/ [2017-4-27].
- Germplasm Resources Information Network [Internet]. Beltsville (MD): United States Department of Agriculture, Agricultural Research Service. [2017-4-27]. Available from: https://npgsweb.ars-grin.gov/gringlobal/taxonomyfamily.aspx?id=166.
same as
–{{Taxon info|Avialae/skip|same_as}}
→
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}}
→refs
–{{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}}
→ Corallinales$familia$珊瑚藻科$$$$$