模板:Taxon link/doc
此頁面是Template:Taxon link的模板文件。 此頁面可能包含了模板的使用說明、分類和其他內容。 |
此模板文件被引用於約69,000個頁面。 為了避免造成大規模的影響,所有對此模板文件的編輯應先於沙盒、測試樣例或您的沙盒上測試。 測試後無誤的版本可以一次性地加入此模板文件中,但是修改前請務必於討論頁發起討論。 模板引用數量會自動更新。 |
此模板使用Lua語言: |
Creates a wikilinked taxon name for use in a taxobox or other listing of taxa, dealing appropriately with italicization, the extinct indication "†" and the query indication "(?)". It is intended for use only by other templates in the automated taxobox system.
The necessary information is obtained from "Template:Taxonomy/taxon", which must exist.
Usage
{{Taxon link|taxon|italic=yes|bold=yes}}
taxon
is a string (a taxon name or a qualified taxon name) for which there is a taxonomy template "Template:Taxonomy/taxon"|italic=yes
forces an italic taxon name; if omitted altogether, the taxon's rank will be used to determine whether it should it italicized|bold=yes
produces an emboldened taxon name instead of a wikilink; it may be omitted altogether.
- Examples
{{taxon link|Pinguinus}}
→ †大海雀屬 – an extinct genus{{taxon link|Pinguinus|bold=yes}}
→ †大海雀屬 – emboldened rather than wikilinked{{taxon link|Cambroernida/?}}
→ [[Template:Taxonomy/Cambroernida/?]] – a queried extinct clade{{taxon link|Incertae sedis/Arthropoda}}
→ [[Template:Taxonomy/Incertae sedis/Arthropoda]] – an unknown class within phylum Arthropoda{{taxon link|Hypoviridae|italic=yes}}
→ 低毒性病毒科 – virus taxa names are italicized