Template:NWSL player/doc

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

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.

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 source]

Example 1

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

Example 2

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

No parameters and Wikidata property not defined

[edit source]
Usage
{{NWSL player}}
Output
NWSL player/doc at the National Women's Soccer LeagueLua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).

TemplateData

[edit source]
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 93f4a41dd7c8434daea61038ecce5c90/christen-press in https://www.nwslsoccer.com/players/93f4a41dd7c8434daea61038ecce5c90/christen-press.

Stringrequired
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 source]
template with ID
template missing ID

See also

[edit source]
[edit source]