Jump to content

Template:NWSL player/doc

From Wikipedia, the free encyclopedia

Template:NWSL player displays an external link to a soccer (association football) player's profile at NWSLsoccer.com, the official website of the National Women's Soccer League (NWSL). It is intended for use in the external links section of an article.

Usage

[edit]
Using Wikidata property
* {{NWSL player}}
* {{NWSL player | name= NAME }}
Current link
* {{NWSL player | ID }}
* {{NWSL player | ID | NAME }}
* {{NWSL player | id= ID }}
* {{NWSL player | id= ID | name= NAME }}
Archived link
* {{NWSL player | ID | archive= NUMBER }}
* {{NWSL player | ID | NAME | archive= NUMBER }}
* {{NWSL player | id= ID | archive= NUMBER }}
* {{NWSL player | id= ID | name= NAME | archive= NUMBER }}

Examples

[edit]

Unnamed parameters

[edit]
Usage
* {{NWSL player | christen-annemarie-press | Christen Press }}
Output
Current URL
https://www.nwslsoccer.com/players/christen-annemarie-press
Former URL (same URL, different ID)
https://www.nwslsoccer.com/players/christen-press (archive 2018-06-10)
Former URL (same different URL and ID)
http://www.nwslsoccer.com/players/view/bnxnrws4yintb6s76erzl9xw5 (archive 2017-05-15)

Named parameters

[edit]
Usage
* {{NWSL player | id= marta-vieira-da-silva-veiga | name= Marta }}
Output
Current URL
https://www.nwslsoccer.com/players/marta-vieira-da-silva-veiga
Former URL (same URL, different ID)
https://www.nwslsoccer.com/players/marta (archive 2018-06-09)
Former URL (same different URL and ID)
http://www.nwslsoccer.com/players/view/c811si1xw5he6ih0o1mj94tsl (archive 2017-06-19)
[edit]
Usage
* {{NWSL player | caitlin-foord | Caitlin Foord | archive= 20201130181817 }}
* {{NWSL player | id= caitlin-foord | name= Caitlin Foord | archive= 20201130181817 }}
Output
Former URL
https://www.nwslsoccer.com/players/caitlin-foord
Archived URL
https://web.archive.org/web/20201130181817/https://www.nwslsoccer.com/players/caitlin-foord

No parameters and Wikidata property not defined

[edit]
Usage
{{NWSL player}}
Output
{{NWSL player}} 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:NWSL player in articles based on its TemplateData.

TemplateData for NWSL player

This template displays an external link to a soccer (association football) player's profile at NWSLsoccer.com, the official website of the National Women's Soccer League (NWSL). It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
IDid 1

The ID portion of the URL, such as christen-annemarie-press in https://www.nwslsoccer.com/players/christen-annemarie-press. This parameter is optional if Wikidata property P5222 exists, but required if not.

Default
Wikidata property P5222
Stringoptional
Namename 2

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

Default
{{PAGENAMEBASE}}
Stringoptional
Archivearchive

Number representing the date/time in an Internet Archive URL, such as 20201130181817 in https://web.archive.org/web/20201130181817/https://www.nwslsoccer.com/players/caitlin-foord.

Numberoptional

Tracking categories

[edit]
template with ID
template missing ID

See also

[edit]
[edit]