模板: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