模板:SDC statement exist
外觀
此模板使用Lua語言: |
概要
[編輯]用於根據SDC語句添加跟蹤類別的模板。它應該被其他模板用來驗證預期的SDC語句是否存在
參數及使用方法
[編輯]參數 | 描述 | 預設值 | 狀態 | |
---|---|---|---|---|
property
|
property ID to be tested: "P7482" for 檔案來源 (P7482), or "P170" for 創作者 (P170) | empty | 必填 | |
positive_category
|
category name to add if SDC statement exist | empty | 可選 | |
negative_category
|
category name to add if SDC statement does not exist | empty | 可選 |
範例
[編輯]注意事項
[編輯]重新導向
[編輯]模板編輯說明
[編輯]參見
[編輯]上述文件嵌入自Template:SDC statement exist/doc。 (編輯 | 歷史) 編者可以在本模板的沙盒 (建立 | 鏡像)和測試樣例 (建立)頁面進行實驗。 請在/doc子頁面中添加分類。本模板的子頁面。 |