Template:ESPNscrum: Difference between revisions
m Bot: Migrating interwiki links, now provided by Wikidata on d:q14384951 |
update search link for missing ID |
||
(15 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
{{#if: {{{1<includeonly>|</includeonly>}}} {{{id|}}} {{#property:P858}} |
|||
[http://www.espnscrum.com/scrum/rugby/player/{{{1}}}.html {{{2}}}] at Espnscrum.com<noinclude> |
|||
| [http://www.espnscrum.com/timeline/rugby/player/{{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}} | {{{1|{{{id}}}}}} | {{First word|1={{#property:P858}}|sep=,}} }}.html {{#if: {{{2|{{{name<includeonly>|</includeonly>}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAMEBASE}} }}] at ESPNscrum<includeonly>{{EditAtWikidata|pid=P858|{{{1|{{{id|}}}}}}}}</includeonly> |
|||
[[Category:People and person external link templates]] |
|||
[[Category:Sports external link templates]]</noinclude> |
|||
| <span class="error">{{[[Template:ESPNscrum|ESPNscrum]]}} template missing ID and not present in Wikidata.</span>{{preview warning|1=To find the player's ID number, try this [https://www.google.com/search?q={{urlencode:{{removeaccents|1={{PAGENAMEBASE}}}}}}+site%3Awww.espnscrum.com Google search].}} |
|||
}}<noinclude> |
|||
{{Documentation}}<!-- Please add categories to the /doc subpage & add interwikis to Wikidata. --> |
|||
</noinclude> |
Latest revision as of 23:50, 20 September 2024
{{{name}}} at ESPNscrum
This template uses Lua: |
Template:ESPNscrum displays an external link to a rugby union player's page at the ESPNscrum website. It is intended for use in the external links section of an article.
Usage
- Unnamed parameters
{{ESPNscrum | ID }}
{{ESPNscrum | ID | NAME }}
- Named parameters
{{ESPNscrum | id= ID }}
{{ESPNscrum | id= ID | name= NAME }}
- Using Wikidata property
{{ESPNscrum}}
{{ESPNscrum | name= NAME }}
Examples
Unnamed parameters
- Usage
* {{ESPNscrum | 13784 | Richie McCaw }}
- Output
-
- Richie McCaw at ESPNscrum
- Current URLs
- http://www.espnscrum.com/timeline/rugby/player/13784.html
- http://www.espnscrum.com/blogs/rugby/player/13784.html
- Former URLs at espn.co.uk
- http://en.espn.co.uk/scrum/rugby/player/13784.html (archive 2024-07-03)
- http://en.espn.co.uk/newzealand/rugby/player/13784.html (archive 2024-08-07)
- http://en.espn.co.uk/statsguru/rugby/player/13784.html (archive 2023-10-23)
- Former URLs at espnscrum.com
- http://www.espnscrum.com/newzealand/rugby/player/13784.html (archive 2015-01-07, now a redirect)
- http://www.espnscrum.com/statsguru/rugby/player/13784.html (archive 2014-10-09, now a redirect)
- http://stats.espnscrum.com/statsguru/rugby/player/13784.html (was a redirect)
Named parameters
- Usage
* {{ESPNscrum |id= 91492 |name= Duane Vermeulen }}
- Output
-
- Duane Vermeulen at ESPNscrum
- Current URLs
- http://www.espnscrum.com/timeline/rugby/player/91492.html
- http://www.espnscrum.com/blogs/rugby/player/91492.html
- Former URLs at espn.co.uk
- http://en.espn.co.uk/scrum/rugby/player/91492.html (archive 2023-04-21)
- http://en.espn.co.uk/southafrica/rugby/player/91492.html (archive 2023-10-11)
- http://en.espn.co.uk/statsguru/rugby/player/91492.html (archive 2023-10-19)
- Former URLs at espnscrum.com
- http://www.espnscrum.com/southafrica/rugby/player/91492.html (archive 2014-10-08, now a redirect)
- http://www.espnscrum.com/statsguru/rugby/player/91492.html (archive 2014-12-06, now a redirect)
- http://stats.espnscrum.com/statsguru/rugby/player/91492.html (was a redirect)
No parameters and Wikidata property not defined
- Usage
* {{ESPNscrum}}
- Output
-
- {{ESPNscrum}} template missing ID and not present in Wikidata.
TemplateData
TemplateData for ESPNscrum
This template displays an external link to a rugby union player's page at the ESPNscrum 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 13784 in http://www.espnscrum.com/timeline/rugby/player/13784.html. This parameter is optional if Wikidata property P858 exists, but required if not.
| Number | optional |
Name | name 2 | The link text, which should be the name of the rugby union player. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(rugby union)".
| String | optional |
See also
Other ESPN external link templates:
- {{ESPN FC}}
- {{ESPN MMA}}
- {{ESPN NFL}}
- {{ESPNcricinfo}}