Template:PlayerWAS
Pos | Num | Nat | Name | Height | Weight | From | Selection | ||||||||
[[{{{first}}} {{{last}}} |{{{last}}}, {{{first}}}]] | – | – |
Contents |
---|
Usage
Current roster
The standard usage for a WNBA roster starts by creating a main roster template, which will contain the list of players, coaches, and trainers. To demonstrate the usage, here is the source code for Template:Washington Mystics roster as of May 19, 2020.
<syntaxhighlight lang="wikitext">Players | Coaches | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
WNBA roster page | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Since the value for |format=
is not specified, it shows the default detailed table view of the roster. Now, the source code for Template:Washington Mystics roster is very simple, since it just transcludes Template:Washington Mystics roster with a different value for |format=
Historic rosters
<syntaxhighlight lang="wikitext">
roster | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Players | Coaches | ||||||||||||||||||||||||||||||||
|
|
</syntaxhighlight>
All-Star rosters
<syntaxhighlight lang="wikitext">
roster | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Players | Coaches | ||||||||||||||||||||||||||||||||
|
|
</syntaxhighlight>
Parameters
Headers
Description | Current roster {{Sports roster}} |
Historic rosters {{WNBA roster header historic}} |
All-Star rosters {{WNBA roster header All-Star}} |
---|---|---|---|
team | The city and team name for the roster. This information will be placed in the header and will also color the table with the team colors. | The city and team name for the roster. This information will be placed in the header and will also color the table with the team colors. | Enter "Eastern Conference All-Stars" or "Western Conference All-Stars". This information will be placed in the header and will also color the table with the conference colors. |
season | Not used | The four digit year of the historic roster. | The four digit year of the All-Star roster. |
template_name | The name of the template that is being transcluded without the "template" name space. This is used for the links. | Not used | Not used |
Players
- Descriptions in bold are required while those in italics are optional.
Description | Current roster {{playerW}} |
Historic rosters {{player2}} |
All-Star rosters {{playerWAS}} |
---|---|---|---|
num | The number on player's uniform. | The number on player's uniform. | The number on player's uniform. |
first last |
The player's first and last name. Values are separated for sorting the table. | The player's first and last name. Values are separated for sorting the table. | The player's first and last name. Values are separated for sorting the table. |
dab | e.g. "basketball" if the title of the player's bio ends with "...(basketball)" | e.g. "basketball" if the title of the player's bio ends with "...(basketball)" | e.g. "basketball" if the title of the player's bio ends with "...(basketball)" |
name | Chinese names, for example, should use this parameter only. e.g. "name = Chen Xiaojia" |
Chinese names, for example, should use this parameter only. e.g. "name = Chen Xiaojia" |
Chinese names, for example, should use this parameter only. e.g. "name = Chen Xiaojia" |
link alt |
use in complex cases instead of the above, e.g. "link = Mike Conley Jr." and "alt=Conley, Mike Jr." links like this Conley, Mike Jr. as it should |
use in complex cases instead of the above, |
use in complex cases instead of the above, |
pos | See basketball positions. Acceptable values are (PG|G|SG|GF|SF|F|PF|FC|C). Column will sort in this order. |
See basketball positions. Acceptable values are (PG|G|SG|GF|SF|F|PF|FC|C). Column will sort in this order. |
See basketball positions. Acceptable values are (PG|G|SG|GF|SF|F|PF|FC|C). Column will sort in this order. |
ft in |
The player's height. Template will convert this to the metric system. Feet and inches are separated so that 6'10-11" players will sort properly in relation to 6'2" players. |
The player's height. Template will convert this to the metric system. Feet and inches are separated so that 6'10-11" players will sort properly in relation to 6'2" players. |
The player's height. Template will convert this to the metric system. Feet and inches are separated so that 6'10-11" players will sort properly in relation to 6'2" players. |
lbs | The player's weight. Template will convert this to the metric system. | The player's weight. Template will convert this to the metric system. | The player's weight. Template will convert this to the metric system. |
DOB | The date of birth for the player. Use {{Birth date and age}} |
The date of birth for the player. Use {{birth date and age2}} where the specified date is the start of the regular season. |
The date of birth for the player. Use {{birth date and age2}} where the specified date is the date of the All-Star game. |
yrs | The number of years the player has played in the WNBA. If this is the player's first season value should be "R". | Not used. | The ordinal number of WNBA All-Star appearances by the player. e.g. 1st, 2nd, 3rd ... |