Template:Don't edit this line/doc
页面Module:Message box/mbox.css没有内容。
| File:Edit-copy green.svg | 此頁面是Template:Don't edit this line的Template文档。 此頁面可能包含了模板的使用說明、分類和其他内容。 |
页面Module:Message box/mbox.css没有内容。
| File:Lua-Logo.svg | 此模板使用Lua语言: |
页面Module:Message box/mbox.css没有内容。
| 警告 | 此Template文档被引用於約58,000個頁面。 為了避免造成大規模的影響,所有對此Template文档的編輯應先於沙盒、測試樣例或您的沙盒上測試。 測試後無誤的版本可以一次性地加入此Template文档中,但是修改前請務必於討論頁發起討論。 模板引用數量會自動更新。 |
概要[编辑]
本模板主要用於Template:Taxonomy/XXX系列模板,目的是呼叫模块:Autotaxobox的「callTaxonomyKey」功能以在Template:Taxonomy/XXX生成可視的表格。
參數及使用方法[编辑]
{{Don't edit this line {{{machine code|}}}
| scientific_name =
| parent =
| rank =
| link =
| link_target =
| link_text =
| extinct =
| refs =
| always_display =
| same_as =
}}
<templatedata> { "params": { "scientific_name": { "label": "學名", "description": "分類單元的學名,必須是拉丁文", "type": "string",
"required": true
}, "parent": { "label": "父類群", "description": "上級分類單元的學名,必須是拉丁文", "type": "string",
"required": true
}, "rank": { "label": "分類層級", "description": "分類層級,用拉丁文表示", "type": "string",
"required": true
}, "link": { "label": "條目連結", "description": "中文名,會産生link的條目鏈接。可以使用|,但用link_target或link_text會更有效;不建議使用「|」,在原模板敘述上會不正確顯示,並會在某些情况下失效", "type": "string",
"required": true
},
"link_target": {
"label": "條目連結內鏈",
"description": "會産生link的條目鏈接,",
"type": "string"
},
"link_text": {
"label": "條目鏈接顯示",
"description": "會産生link_text的條目鏈接,與「link_target」同時使用會産生link_text,並忽略「link」",
"type": "string"
},
"extinct": {
"label": "是否滅絕",
"description": "「yes」及「true」會産生「†」,「no」、「false」及空置則否",
"type": "string"
},
"always_display": {
"label": "總是顯示",
"description": "「yes」及「true」用來強制顯示非主要層級,默認隱藏在主要層級以上的次要層級(主要層級:界、門、綱、目、科、屬、種)",
"type": "string"
},
"refs": {
"label": "參考資料",
"description": "建議使用引用模板,不使用引用错误:<ref>标签无效;没有name(名称)的ref(参考)必须有内容引用標籤",
"type": "content"
},
"same_as": {
"label": "相同分類單元",
"description": "相同分類單元的學名;如果本模板是異名或已棄用的等義分類,可用於指定有效分類模板,本模板空置的參數會直接被指定模板的内容取代,也可選擇性保留一些參數來顯示差異(如需要),這可以省卻「條目逐條更換模板」之不便。",
"type": "string"
}
},
"paramOrder": [
"scientific_name",
"parent",
"rank",
"link",
"link_target",
"link_text",
"extinct",
"always_display",
"refs",
"same_as"
],
"format": "block"
}
</templatedata>
範例[编辑]
- {{Taxonomy/Homo}}
- {{Taxonomy/Aves}}
- {{Taxonomy/Aves/skip}}
- {{Taxonomy/Dinosauria}}
- {{Taxonomy/Angiosperma}}
- {{Taxonomy/Ornithischia}}
- {{Taxonomy/Cirrhitidae}}
重定向[编辑]
注意事项[编辑]
模板编辑说明[编辑]
參見[编辑]
下述模板會應本模板的參數而被調用,
- Template:Don't edit this line parent
- Template:Don't edit this line rank
- Template:Don't edit this line link -
|link=是|link_target=與|link text=的預設值 - Template:Don't edit this line link target
- Template:Don't edit this line link text
- Template:Don't edit this line extinct
- Template:Don't edit this line dagger – 生成 †
- Template:Don't edit this line always display
- Template:Don't edit this line refs
- Template:Don't edit this line same as
- Template:Don't edit this line all