Difference between revisions of "Template:EGAFD actor/doc"

From blackwiki
Jump to navigation Jump to search
imported>Trivialist
(→‎See also: rm duplicated item)
imported>Zyxw
(add TemplateData, update See also section)
Line 2: Line 2:
 
<!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
  
'''{{NAMESPACE}}:{{BASEPAGENAME}}''' displays an external link to a male actor's page at the European Girls Adult Film Database website ([http://www.egafd.com/ www.EGAFD.com]). It is intended for use in the [[Wikipedia:External links|external links]] section of an article.
+
'''{{NAMESPACE}}:{{BASEPAGENAME}}''' displays an external link to a male actor's page at the European Girls Adult Film Database ([http://www.egafd.com/ EGAFD.com]). It is intended for use in the [[Wikipedia:External links|external links]] section of an article.
  
 
== Usage ==
 
== Usage ==
Line 12: Line 12:
 
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | id= ''ID'' }}</code>
 
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | id= ''ID'' }}</code>
 
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | id= ''ID'' | name= ''NAME'' }}</code>
 
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | id= ''ID'' | name= ''NAME'' }}</code>
 
''NAME'' will default to the article page name.
 
  
 
== Examples ==
 
== Examples ==
Line 20: Line 18:
 
''URL:''
 
''URL:''
 
: <tt>[http://www.egafd.com/actors/details.php/id/203 http://www.egafd.com/actors/details.php/id/{{hilite|203}}]</tt>
 
: <tt>[http://www.egafd.com/actors/details.php/id/203 http://www.egafd.com/actors/details.php/id/{{hilite|203}}]</tt>
 +
 
''Usage:''
 
''Usage:''
 
* <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | 203 | Denis Marti }}</code>
 
* <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | 203 | Denis Marti }}</code>
 +
 
''Output:''
 
''Output:''
 
* {{{{BASEPAGENAME}} | 203 | Denis Marti }}
 
* {{{{BASEPAGENAME}} | 203 | Denis Marti }}
Line 28: Line 28:
 
''URL:''
 
''URL:''
 
: <tt>[http://www.egafd.com/actors/details.php/id/32 http://www.egafd.com/actors/details.php/id/{{hilite|32}}]</tt>
 
: <tt>[http://www.egafd.com/actors/details.php/id/32 http://www.egafd.com/actors/details.php/id/{{hilite|32}}]</tt>
 +
 
''Usage:''
 
''Usage:''
 
* <code><nowiki>{{</nowiki>{{BASEPAGENAME}} |id= 32 |name= Roberto Malone }}</code>
 
* <code><nowiki>{{</nowiki>{{BASEPAGENAME}} |id= 32 |name= Roberto Malone }}</code>
 +
 
''Output:''
 
''Output:''
 
* {{{{BASEPAGENAME}} |id= 32 |name= Roberto Malone }}
 
* {{{{BASEPAGENAME}} |id= 32 |name= Roberto Malone }}
 +
 +
== TemplateData ==
 +
{{TemplateData header}}
 +
<templatedata>
 +
{
 +
        "description": "This template displays an external link to a male actor's page at the European Girls Adult Film Database (EGAFD.com). 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
 +
},
 +
"name": {
 +
"label": "name",
 +
"aliases": [ "2" ],
 +
"description": "The \"name\" 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",
 +
"name"
 +
]
 +
}
 +
</templatedata>
  
 
== Tracking category ==
 
== Tracking category ==
Line 37: Line 68:
  
 
== See also ==
 
== See also ==
* [[Template:EGAFD actress]]
+
Other templates for this website:
* [[Template:IAFD name]]
+
* {{tl|EGAFD actress}}
* [[Template:AFDB name]]
+
* {{tl|EGAFD movie}}
* [[Template:BGAFD name]]
+
Similar templates for other websites:
* [[Template:IMDb name]]
+
* {{tl|IMDb name}}
 +
* {{tl|AFDB name}}
 +
* {{tl|IAFD name}}
 +
* {{tl|BGAFD name}}
  
<includeonly>
+
<includeonly>{{sandbox other||
<!-- Categories and interwikis go here: -->
+
<!-- Categories below this line; interwikis at Wikidata -->
 
[[Category:Film external link templates]]
 
[[Category:Film external link templates]]
 
[[Category:People and person external link templates]]
 
[[Category:People and person external link templates]]
 
[[Category:WikiProject Pornography]]
 
[[Category:WikiProject Pornography]]
</includeonly>
+
}}</includeonly>

Revision as of 00:48, 29 July 2018

Template:EGAFD actor displays an external link to a male actor's page at the European Girls Adult Film Database (EGAFD.com). It is intended for use in the external links section of an article.

Usage

Unnamed parameters:

{{EGAFD actor | ID }}
{{EGAFD actor | ID | NAME }}

Named parameters:

{{EGAFD actor | id= ID }}
{{EGAFD actor | id= ID | name= NAME }}

Examples

Unnamed parameters

URL:

http://www.egafd.com/actors/details.php/id/203

Usage:

  • {{EGAFD actor | 203 | Denis Marti }}

Output:

Named parameters

URL:

http://www.egafd.com/actors/details.php/id/32

Usage:

  • {{EGAFD actor |id= 32 |name= Roberto Malone }}

Output:

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 EGAFD actor

This template displays an external link to a male actor's page at the European Girls Adult Film Database (EGAFD.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.

Numberrequired
namename 2

The "name" 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: