模板:Afdb name
本模板使用維基數據資源:
此模板使用Lua語言: |
參數及使用方法 編輯
匿名參數:
{{Afdb name | ID }}
{{Afdb name | ID | NAME }}
命名參數:
{{Afdb name | id= ID }}
{{Afdb name | id= ID | name= NAME }}
{{Afdb name}}
{{Afdb name | name= NAME }}
範例 編輯
匿名參數 編輯
URL:
- http://www.adultfilmdatabase.com/actor.cfm?actorid=36967
- http://www.adultfilmdatabase.com/actor/brianna-beach-36967/
使用:
* {{Afdb name | 36967 | Brianna Beach }}
輸出:
命名參數 編輯
URL:
- http://www.adultfilmdatabase.com/actor.cfm?actorid=4246
- http://www.adultfilmdatabase.com/actor/john-holmes-4246/
使用:
* {{Afdb name | id= 4246 | name= John Holmes }}
輸出:
無參數 編輯
When used without an "id" parameter, this template will call data from Wikidata, if available. If none is available, an error message will be displayed and the category Category:AdultFilm db name template missing ID will be applied.
使用:
* {{Afdb name}}
輸出:
- {{Afdb name}}模板缺少ID且不存在於維基數據中。
參見 編輯
Other templates for this website:
- {{Adult Film Database movie}}, with shortcut {{AFD movie}}
- {{Adult Film Database studio}}, with shortcut {{AFD studio}}
Similar templates for other websites:
- {{IMDb name}}
- {{IAFD name}}
- {{BGAFD name}}
- {{EGAFD actress}}
- {{EGAFD actor}}
上述文件嵌入自Template:Afdb name/doc。 (編輯 | 歷史) 編者可以在本模板的沙盒 (建立 | 鏡像)和測試樣例 (建立)頁面進行實驗。 請在/doc子頁面中添加分類。本模板的子頁面。 |