Template:WorldReferee.com/doc

From Wikipedia, the free encyclopedia

Template:WorldReferee.com displays an external link to an association football (soccer) referee's page at the WorldReferee.com website. It is intended for use in the external links section of an article.

Usage[edit]

Unnamed parameters:

{{WorldReferee.com | ID }}
{{WorldReferee.com | ID | NAME }}

Named parameters:

{{WorldReferee.com | id= ID }}
{{WorldReferee.com | id= ID | name= NAME }}

Using Wikidata property P7436:

{{WorldReferee.com}}
{{WorldReferee.com | name= NAME }}

Examples[edit]

Unnamed parameters[edit]

Usage:

* {{WorldReferee.com | anastasia_pustovoitova | Anastasia Pustovoitova }}

Output:

URL:

https://worldreferee.com/referee/anastasia_pustovoitova/

Named parameters[edit]

Usage:

* {{WorldReferee.com | id= howard_webb | name= Howard Webb }}

Output:

URL:

https://worldreferee.com/referee/howard_webb/

No parameters and Wikidata property not defined[edit]

Usage:

* {{WorldReferee.com}}

Output:

TemplateData[edit]

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:WorldReferee.com in articles based on its TemplateData.

TemplateData for WorldReferee.com

This template displays an external link to an association football (soccer) referee's page at the WorldReferee.com website. 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: howard_webb is the ID portion of https://worldreferee.com/referee/howard_webb/. This parameter is optional if Wikidata property P7436 exists, but required if not.

Default
Wikidata property P7436
Stringoptional
namename 2

The "name" parameter (or unnamed parameter "2") may be used to specify the link text, which should be the name of the referee. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(referee)".

Default
{{PAGENAMEBASE}}
Stringoptional

See also[edit]

Other football (soccer) referee templates: