Template:NWSL player
{{{name}}} at the National Women's Soccer League
![]() | This template uses Lua: |
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
- 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
- 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)
Archived link
[edit]- Usage
* {{NWSL player | caitlin-foord | Caitlin Foord | archive= 20201130181817 }}
* {{NWSL player | id= caitlin-foord | name= Caitlin Foord | archive= 20201130181817 }}
- Output
-
- Caitlin Foord at the National Women's Soccer League (archived)
- 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]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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 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.
| String | optional |
Name | name 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)".
| String | optional |
Archive | archive | 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. | Number | optional |
Tracking categories
[edit]- template with ID
- Category:NWSL player template with ID different from Wikidata (1)
- Category:NWSL player template with ID not in Wikidata (56)
- template missing ID
See also
[edit]- {{MLS player}} for links to player pages at Major League Soccer website