![]() | This is a documentation subpage for Template:Adult Film Database movie. It may contain usage information, categories and other content that is not part of the original template page. |
![](http://upload.wikimedia.org/wikipedia/commons/thumb/f/ff/Wikidata-logo.svg/40px-Wikidata-logo.svg.png)
![]() | This template uses Lua: |
Template:Adult Film Database movie displays an external link to a page at the Adult Film Database website (adultfilmdatabase.com). It is intended for use in the external links section of an article.
Usage
editUnnamed parameters:
{{Adult Film Database movie | ID }}
{{Adult Film Database movie | ID | TITLE }}
Named parameters:
{{Adult Film Database movie | id= ID }}
{{Adult Film Database movie | id= ID | title= TITLE }}
Using Wikidata property Adult Film Database film ID (P5083):
{{Adult Film Database movie}}
{{Adult Film Database movie | title= TITLE }}
Examples
editUnnamed parameters
editURLs:
- https://www.adultfilmdatabase.com/video.cfm?videoid=23224
- https://www.adultfilmdatabase.com/video/23224/night-dreams/
Usage:
* {{Adult Film Database movie | 23224 | Night Dreams }}
Output:
- Night Dreams at the Adult Film Database
Named parameters
editURLs:
- https://www.adultfilmdatabase.com/video.cfm?videoid=110448
- https://www.adultfilmdatabase.com/video/110448/wanted/
Usage:
* {{Adult Film Database movie | id= 110448 | title= Wanted }}
Output:
- Wanted at the Adult Film Database
No parameters
editWhen used without an "id" parameter, this template will call data from Wikidata, if available. If none is available, an error message will be displayed.
Usage:
{{Adult Film Database movie}}
Output:
- {{Adult Film Database movie}} template missing ID and not present in Wikidata.
TemplateData
editTemplateData for Adult Film Database movie
This template displays an external link to a page at the Adult Film Database website (adultfilmdatabase.com). It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id 1 | The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: 23224 is the ID portion of https://www.adultfilmdatabase.com/video.cfm?videoid=23224 or https://www.adultfilmdatabase.com/video/23224/night-dreams/. This parameter is optional if Wikidata property P5083 exists, but required if not.
| Number | optional |
title | title 2 | The "title" parameter (or unnamed parameter "2") may be used to specify the link text. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation.
| String | optional |
Tracking category
editSee also
editOther templates for this website:
- {{Adult Film Database name}}, with shortcut {{AFD name}}
- {{Adult Film Database studio}}, with shortcut {{AFD studio}}
Similar templates for other websites:
- {{IMDb title}}
- {{IAFD movie}}
- {{EGAFD movie}}