Template:EPCR profile/doc
| icon | This is a documentation subpage for Template:EPCR profile. It may contain usage information, categories and other content that is not part of the original template page. |
| File:Lua-Logo.svg | This template uses Lua: |
Template:EPCR profile displays an external link to a rugby union player's page at the European Professional Club Rugby (EPCR) website. It is intended for use in the external links section of an article.
Usage
[edit source]Omit the ID to use the Wikidata property.
- Article name as link text
{{EPCR profile | ID }}{{EPCR profile | id= ID }}
- Parameter as link text
{{EPCR profile | ID | NAME }}{{EPCR profile | id= ID | name= NAME }}
Examples
[edit source]Article name as link text
[edit source]- Usage in Dominic Robertson-McCoy
* {{EPCR profile | DR379689 }}
- Current URLs with alphanumeric ID
- https://historical-stats.epcrugby.com/player/?PlayGuid=DR379689
- https://historical-stats.epcrugby.com/joueur/?PlayGuid=DR379689 (in French)
- Former URLs with alphanumeric ID
- https://www.epcrugby.com/player?PlayGuid=DR379689
- https://www.epcrugby.com/joueur?PlayGuid=DR379689 (in French) (archive 2023)
- Former URLs with numeric ID (worked prior to June 2018)
- http://www.epcrugby.com/matchcentre/player_archive.php?player=129189&includeref=dynamic (archive 2018)
- http://www.epcrugby.com/statistics/player_archive.php?player=129189&includeref=dynamic
Parameter as link text
[edit source]- Usage
* {{EPCR profile |id= CK698197 |name= Cian Kelleher }}
- Current URLs with alphanumeric ID
- https://historical-stats.epcrugby.com/player/?PlayGuid=CK698197
- https://historical-stats.epcrugby.com/joueur/?PlayGuid=CK698197 (in French)
- Former URLs with alphanumeric ID
- https://www.epcrugby.com/player?PlayGuid=CK698197
- https://www.epcrugby.com/joueur?PlayGuid=CK698197 (in French) (archive 2023)
- Former URLs with numeric ID (worked prior to June 2018)
- http://www.epcrugby.com/matchcentre/player_archive.php?player=115239&includeref=dynamic (archive 2018)
- http://www.epcrugby.com/statistics/player_archive.php?player=115239&includeref=dynamic (archive 2017)
No parameters and Wikidata property not defined
[edit source]- Usage
* {{EPCR profile}}
- Output
- EPCR profile/doc at European Professional Club RugbyLua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
TemplateData
[edit source]TemplateData for EPCR profile
This template displays an external link to a rugby union player's page at the European Professional Club Rugby (EPCR) website. It is intended for use in the external links section of an article.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| ID | id 1 | The ID portion of the URL, such as DR379689 in https://historical-stats.epcrugby.com/player/?PlayGuid=DR379689. This parameter is optional if Wikidata property P3666 exists, but required if not.
| String | 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 |
Tracking category
[edit source]- template with current ID
- Category:EPCR template with ID different from Wikidata (3)
- Category:EPCR template with ID not in Wikidata (4)
- template missing ID
External links
[edit source]