Template:ItsRugby profile/doc
![]() | This is a documentation subpage for Template:ItsRugby profile. It may contain usage information, categories and other content that is not part of the original template page. |
![](http://upload.wikimedia.org/wikipedia/commons/thumb/f/ff/Wikidata-logo.svg/40px-Wikidata-logo.svg.png)
![]() | This template uses Lua: |
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 | 3835 | Nicolae Nere }}
- Output
-
- Nicolae Nere at ItsRugby.co.uk
- URLs for English language website
- https://www.itsrugby.co.uk/player-sum-3835.html (overall career)
- https://www.itsrugby.co.uk/player-international-3835.html (international career)
- https://www.itsrugby.co.uk/player-3835.html (team career)
- https://www.itsrugby.co.uk/players/nicolae-nere-3835.html (redirect from prior URL)
- URLs for French language website
- https://www.itsrugby.fr/joueur-total-3835.html (overall career)
- https://www.itsrugby.fr/joueur-internationale-3835.html (international career)
- https://www.itsrugby.fr/joueur-3835.html (team career)
- https://www.itsrugby.fr/joueurs/nicolae-nere-3835.html (redirect from prior URL)
Named parameters
[edit]- Usage
* {{ItsRugby profile |id= 76 |name= Nicolas Spanghero }}
- Output
-
- Nicolas Spanghero at ItsRugby.co.uk
- URLs for English language website
- https://www.itsrugby.co.uk/player-sum-76.html (overall career)
- https://www.itsrugby.co.uk/player-international-76.html (international career)
- https://www.itsrugby.co.uk/player-76.html (team career)
- https://www.itsrugby.co.uk/players/nicolas-spanghero-76.html (redirect from prior URL)
- URLs for French language website
- https://www.itsrugby.fr/joueur-total-76.html (overall career)
- https://www.itsrugby.fr/joueur-internationale-76.html (international career)
- https://www.itsrugby.fr/joueur-76.html (team career)
- https://www.itsrugby.fr/joueurs/nicolas-spanghero-76.html (redirect from prior URL)
No parameters and Wikidata property not defined
[edit]- Usage
* {{ItsRugby profile}}
- Output
-
- {{ItsRugby profile}} template missing ID and not present in Wikidata.
TemplateData
[edit]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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 1 | The ID number in the URL, such as 3835 in https://www.itsrugby.co.uk/players/nicolae-nere-3835.html or https://www.itsrugby.co.uk/player-3835.html. This parameter is optional if Wikidata property P3769 exists, but required if not.
| Number | optional |
Name | name 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)"
| String | optional |
External links
[edit]