模板:Infobox gene
外觀
此模板使用Lua語言: |
基因資訊框,由wikidata取得資料。
用於基因條目
[編輯]於頁頂加入{{infobox_gene}}。
用於蛋白質條目
[編輯]於頁頂加入{{infobox_gene}}。
用於其他頁面
[編輯]於頁頂加入
{{#invoke:Infobox_gene|getTemplateData|QID=Q414043}}
QID是目標基因/蛋白的維基數據項目,上面的例子會生成絡絲蛋白的資訊框。
錯誤信息
[編輯]"An Error has occurred retrieving Wikidata item for infobox"代表該頁連結到一個不是基因/蛋白的數據項,或是沒有連結。
上述文件嵌入自Template:Infobox gene/doc。 (編輯 | 歷史) 編者可以在本模板的沙盒 (編輯 | 差異)和測試樣例 (建立)頁面進行實驗。 請在/doc子頁面中添加分類。本模板的子頁面。 |