Template:WNBA roster doc

From English Wikipedia @ Freddythechick



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">
PlayersCoaches
Pos.No.Nat.NameHeightWeightDOBFromYrs
United StatesAgnew, Jaylyn5' 11" (1.8m)1997-07-21CreightonR
G7United StatesAtkins, Ariel5' 11" (1.8m)167 lb (76kg)1996-07-30Texas2
C31United StatesCharles, Tina6' 4" (1.93m)192 lb (87kg)1988-12-05Connecticut10
G9United StatesCloud, Natasha5' 9" (1.75m)160 lb (73kg)1992-02-22Saint Joseph's5
G/F11United StatesDelle Donne, Elena6' 5" (1.96m)187 lb (85kg)1989-09-05Delaware7
F21United StatesHawkins, Tianna6' 3" (1.91m)186 lb (84kg)1991-03-02Maryland6
F2United StatesHines-Allen, Myisha6' 1" (1.85m)200 lb (91kg)1996-05-30Louisville2
G5United StatesLeslie, Kiara6' 0" (1.83m)175 lb (79kg)1995-12-06NC StateR
F33BelgiumMeesseman, Emma6' 4" (1.93m)191 lb (87kg)1993-05-13Belgium6
G5United StatesMitchell, Leilani5' 5" (1.65m)138 lb (63kg)1985-06-15Utah11
G/F23United StatesPowers, Aerial5' 9" (1.75m)159 lb (72kg)1994-07-17Michigan State4
F/C30United StatesSanders, LaToya6' 2" (1.88m)170 lb (77kg)1986-09-11North Carolina7
GUnited StatesSutton, Sug5' 8" (1.73m)130 lb (59kg)1998-12-17TexasR
Head coach
United States Mike Thibault (St. Martin's)
Assistant coaches
United States Eric Thibault (Missouri)
United States Ashja Jones (Connecticut)
Athletic trainer
United States Chalisa Fonza (Western Illinois)
Strength and conditioning coach
Vacant

Legend
  • (C) Team captain
  • (DP) Unsigned draft pick
  • (FA) Free agent
  • (S) Suspended
  • Injured Injured

  WNBA roster page
</syntaxhighlight>

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=

<syntaxhighlight lang="wikitext"></syntaxhighlight>

Historic rosters

<syntaxhighlight lang="wikitext">

roster
Players Coaches
Pos. # Nat. Name Height Weight DOB From Yrs
[[ | ]]  –
Head coach
Vacant




Legend
  • (C) Team captain
  • (FA) Free agent
  • (IN) Inactive
  • (S) Suspended
  • Injured Injured

</syntaxhighlight>

All-Star rosters

<syntaxhighlight lang="wikitext">

roster
Players Coaches
Pos. # Nat. Name Height Weight From Selection
[[ | ]]  –
Head coach
Vacant



Legend
  • (S) Starter
  • (IR) Injury replacement
  • (RS) Replacement for injured starter
  • Injured Injured

</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,
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,
e.g. "link = Mike Conley Jr." and "alt=Conley, Mike Jr." links like this Conley, Mike Jr. as it should

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 ...

Footers

Examples

Current roster

Historic rosters

All-Star rosters