Difference between revisions of "Template:British Girls Adult Film Database movie/doc"

From blackwiki
Jump to navigation Jump to search
imported>Pigsonthewing
imported>Zyxw
(update usage, add description and TemplateData)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- Categories and interwikis go at the bottom of this page. -->
+
<!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 +
{{Template shortcut|BGAFD movie|bgafd movie}}
  
 
== Usage ==
 
== Usage ==
<nowiki>{{Bgafd movie|movie ID|name}}</nowiki>
+
Unnamed parameters:
 +
: <code><nowiki>{{BGAFD movie</nowiki> | ''ID'' }}</code>
 +
: <code><nowiki>{{BGAFD movie</nowiki> | ''ID'' | ''TITLE'' }}</code>
  
*"name" will default to the article page name.
+
Named parameters:
 +
: <code><nowiki>{{BGAFD movie</nowiki> | id= ''ID'' }}</code>
 +
: <code><nowiki>{{BGAFD movie</nowiki> | id= ''ID'' | title= ''TITLE'' }}</code>
 +
 
 +
== TemplateData ==
 +
{{TemplateData header}}
 +
<templatedata>
 +
{
 +
        "description": "This template displays an external link to a page at the British Girls Adult Film Database (bgafd.co.uk). It is intended for use in the external links section of an article.",
 +
"params": {
 +
"id": {
 +
"label": "id",
 +
"aliases": [ "1" ],
 +
"description": "The \"id\" parameter (or unnamed parameter \"1\") should contain the ID portion of the URL.",
 +
"type": "number",
 +
"required": true
 +
},
 +
"title": {
 +
"label": "title",
 +
"aliases": [ "2" ],
 +
"description": "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.",
 +
"type": "string",
 +
                        "required": false,
 +
"default": "{{PAGENAMEBASE}}"
 +
}
 +
},
 +
"paramOrder": [
 +
"id",
 +
"title"
 +
]
 +
}
 +
</templatedata>
  
 
== See also ==
 
== See also ==
* [[Template:Afdb movie]]
+
Other templates for this website:
* [[Template:IAFD movie]]
+
* {{tl|British Girls Adult Film db name}}, with shortcut {{tl|BGAFD name}}
* [[Template:Egafd movie]]
+
Similar templates for other websites:
 +
* {{tl|IMDb title}}
 +
* {{tl|AFDB movie}}
 +
* {{tl|IAFD movie}}
 +
* {{tl|BGAFD movie}}
 +
* {{tl|EGAFD movie}}
  
<includeonly>
+
<includeonly>{{sandbox other||
<!-- Categories and interwikis go here: -->
+
<!--Categories below this line, please; interwikis at Wikidata-->
[[Category:Film external link templates|{{PAGENAME}}]]
+
[[Category:Film external link templates]]
[[Category:WikiProject Pornography|{{PAGENAME}}]]
+
[[Category:WikiProject Pornography]]
</includeonly>
+
}}</includeonly>

Revision as of 00:32, 29 July 2018

Usage

Unnamed parameters:

{{BGAFD movie | ID }}
{{BGAFD movie | ID | TITLE }}

Named parameters:

{{BGAFD movie | id= ID }}
{{BGAFD movie | id= ID | title= TITLE }}

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 British Girls Adult Film Database movie

This template displays an external link to a page at the British Girls Adult Film Database (bgafd.co.uk). 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.

Numberrequired
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

See also

Other templates for this website:

Similar templates for other websites: