Template:Adult Film Database movie/doc

From blackwiki
Jump to navigation Jump to search

Template:Uses Wikidata

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

Unnamed 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 Template:Property:

{{Adult Film Database movie}}
{{Adult Film Database movie | title= TITLE }}

Examples

Unnamed parameters

URLs:

http://www.adultfilmdatabase.com/video.cfm?videoid=23224
http://www.adultfilmdatabase.com/video/23224/night-dreams/

Usage:

* {{Adult Film Database movie | 23224 | Night Dreams }}

Output:

Named parameters

URLs:

http://www.adultfilmdatabase.com/video.cfm?videoid=110448
http://www.adultfilmdatabase.com/video/110448/wanted/

Usage:

* {{Adult Film Database movie | id= 110448 | title= Wanted }}

Output:

No parameters

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.

Usage:

{{Adult Film Database movie}}

Output:

Template:PAGENAMEBASE at the Adult Film DatabaseScript error: No such module "EditAtWikidata".

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData 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.

Template parameters

ParameterDescriptionTypeStatus
idid 1

The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: 23224 is the ID portion of http://www.adultfilmdatabase.com/video.cfm?videoid=23224 or http://www.adultfilmdatabase.com/video/23224/night-dreams/. This parameter is optional if Wikidata property P5083 exists, but required if not.

Default
Wikidata property P5083
Numberoptional
titletitle 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.

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking category

See also

Other templates for this website:

Similar templates for other websites: