Jump to content

Template:ItsRugby profile/doc

From Wikipedia, the free encyclopedia

Template:ItsRugby profile displays an external link to a rugby player's page at the ItsRugby.co.uk website. It is intended for use in the external links section of an article.

Usage

[edit]
Unnamed parameters
{{ItsRugby profile | ID }}
{{ItsRugby profile | ID | NAME }}
Named parameters
{{ItsRugby profile | id= ID }}
{{ItsRugby profile | id= ID | name= NAME }}
Using Wikidata property
{{ItsRugby profile}}
{{ItsRugby profile | name= NAME }}

Examples

[edit]

Unnamed parameters

[edit]
Usage
* {{ItsRugby profile | nicolae-nere-3835 | Nicolae Nere }}
* {{ItsRugby profile | 3835 | Nicolae Nere }}
Output
URLs for English language website
https://www.itsrugby.co.uk/players/nicolae-nere-3835.html (team career)
https://www.itsrugby.co.uk/player-3835.html (redirect to URL above)
https://www.itsrugby.co.uk/player-international-3835.html (international career)
https://www.itsrugby.co.uk/player-sum-3835.html (overall career)
URLs for French language website
https://www.itsrugby.fr/joueurs/nicolae-nere-3835.html (team career)
https://www.itsrugby.fr/joueur-3835.html (redirect to URL above)
https://www.itsrugby.fr/joueur-internationale-3835.html (international career)
https://www.itsrugby.fr/joueur-total-3835.html (overall career)

Named parameters

[edit]
Usage
* {{ItsRugby profile |id= nicolas-spanghero-76 |name= Nicolas Spanghero }}
* {{ItsRugby profile |id= 76 |name= Nicolas Spanghero }}
Output
URLs for English language website
https://www.itsrugby.co.uk/players/nicolas-spanghero-76.html (team career)
https://www.itsrugby.co.uk/player-76.html (redirect to URL above)
https://www.itsrugby.co.uk/player-international-76.html (international career)
https://www.itsrugby.co.uk/player-sum-76.html (overall career)
URLs for French language website
https://www.itsrugby.fr/joueurs/nicolas-spanghero-76.html (team career)
https://www.itsrugby.fr/joueur-76.html (redirect to URL above)
https://www.itsrugby.fr/joueur-internationale-76.html (international career)
https://www.itsrugby.fr/joueur-total-76.html (overall career)

No parameters and Wikidata property not defined

[edit]
Usage
* {{ItsRugby profile}}
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:ItsRugby profile in articles based on its TemplateData.

TemplateData for ItsRugby profile

This template displays an external link to a rugby player's page at the ItsRugby.co.uk website. It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
IDid 1

The ID portion the URL, such as nicolae-nere-3835 in https://www.itsrugby.co.uk/players/nicolae-nere-3835.html or 3835 in https://www.itsrugby.co.uk/player-3835.html. This parameter is optional if Wikidata property P3769 exists, but required if not.

Default
Wikidata property P3769
Stringoptional
Namename 2

The link text, which should be the name of the rugby player. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(rugby)"

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking categories

[edit]
template with ID
ID is converted to numeric value before comparison with Wikidata
nicolae-nere-3835 → 3835
3835 → 3835
template missing ID
[edit]