Jump to content

Template:ESPNscrum/doc

From Wikipedia, the free encyclopedia

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

[edit]
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

[edit]

Unnamed parameters

[edit]
Usage
* {{ESPNscrum | 13784 | Richie McCaw }}
Output
URL in template
http://en.espn.co.uk/scrum/rugby/player/13784.html
Other current URLs
http://en.espn.co.uk/newzealand/rugby/player/13784.html
http://en.espn.co.uk/statsguru/rugby/player/13784.html
Other former URLs
http://www.espnscrum.com/newzealand/rugby/player/13784.html (archive, now a redirect)
http://www.espnscrum.com/statsguru/rugby/player/13784.html (archive, now a redirect)
http://stats.espnscrum.com/statsguru/rugby/player/13784.html (was a redirect)

Named parameters

[edit]
Usage
* {{ESPNscrum |id= 91492 |name= Duane Vermeulen }}
Output
URL in template
http://en.espn.co.uk/scrum/rugby/player/91492.html
Other current URLs
http://en.espn.co.uk/southafrica/rugby/player/91492.html
http://en.espn.co.uk/statsguru/rugby/player/91492.html
Other former URLs
http://www.espnscrum.com/southafrica/rugby/player/91492.html (archive, now a redirect)
http://www.espnscrum.com/statsguru/rugby/player/91492.html (archive, now a redirect)
http://stats.espnscrum.com/statsguru/rugby/player/91492.html (was a redirect)

No parameters and Wikidata property not defined

[edit]
Usage
* {{ESPNscrum}}
Output
  • {{ESPNscrum}} template missing ID and not present in Wikidata.

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:ESPNscrum in articles based on its 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.

Template parameters

ParameterDescriptionTypeStatus
IDid 1

The ID number in the URL, such as 13784 in http://en.espn.co.uk/newzealand/rugby/player/13784.html or http://en.espn.co.uk/scrum/rugby/player/13784.html. This parameter is optional if Wikidata property P858 exists, but required if not.

Default
Wikidata property P858
Numberoptional
Namename 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)".

Default
{{PAGENAMEBASE}}
Stringoptional

See also

[edit]

Other ESPN external link templates: