Template:MLS player
{{{name}}} at Major League Soccer
This template uses Lua: |
Template:MLS player displays an external link to a soccer (association football) player's profile at MLSsoccer.com, the official website of Major League Soccer (MLS). It is intended for use in the external links section of an article.
Usage
- Unnamed parameters
* {{MLS player | ID }}
* {{MLS player | ID | NAME }}
- Named parameters
* {{MLS player | id= ID }}
* {{MLS player | id= ID | name= NAME }}
- Using Wikidata property
* {{MLS player}}
* {{MLS player | name= NAME }}
Examples
Unnamed parameters
- Usage
* {{MLS player | michael-bradley | Michael Bradley }}
- Output
Named parameters
- Usage
* {{MLS player | id= kaka | name= Kaká }}
- Output
No parameters and Wikidata property not defined
- Usage
{{MLS player}}
- Output
- {{MLS player}} template missing ID and not present in Wikidata.
TemplateData
TemplateData for MLS player
This template displays an external link to a soccer (association football) player's profile at MLSsoccer.com, the official website of Major League Soccer (MLS). 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 michael-bradley in https://www.mlssoccer.com/players/michael-bradley. This parameter is optional if Wikidata property P2398 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 |
Tracking categories
- template with ID
- Category:MLS player template with ID different from Wikidata (0)
- Category:MLS player template with ID not in Wikidata (6)
- template missing ID
See also
- {{USL Championship player}} for links to player pages at USL Championship league website
- {{USL League One player}} for links to player pages at USL League One website
- {{NWSL player}} for links to player pages at National Women's Soccer League website