Difference between revisions of "Template:CBB roster"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
(Undid revision 643259103 by Frietjes (talk))
imported>DocWatson42
m (Changed default stated to "expanded"—editors come to this page to learn how to edit the template and expanding the documentation is IMHO an unnecessary step.)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
{| class="wikitable collapsible collapsed" style="width:100%; margin:0px;"
+
{| class="wikitable collapsible expanded" style="width:100%; margin:0px;"
 
! style="text-align:right;" colspan="2" | click to view ?
 
! style="text-align:right;" colspan="2" | click to view ?
 
|-
 
|-
Line 9: Line 9:
 
| style="font-family:monospace;" | | team = || name of team.
 
| style="font-family:monospace;" | | team = || name of team.
 
|-
 
|-
| style="font-family:monospace;" | | sex = || sex of the team; default to men's. use '''<tt>w</tt>''' for women's, which changes the title and suppresses the weight column
+
| style="font-family:monospace;" | | sex = || sex of the team; default to men's. use '''<kbd>w</kbd>''' for women's, which changes the title and suppresses the weight column
 
|-
 
|-
 
| style="font-family:monospace;" | | hdr_bgcolor= || background color of the main template header.
 
| style="font-family:monospace;" | | hdr_bgcolor= || background color of the main template header.
Line 29: Line 29:
 
| style="font-family:monospace;" | | dab = || e.g. "basketball" if the title of the player's bio ends with "...(basketball)".
 
| style="font-family:monospace;" | | dab = || e.g. "basketball" if the title of the player's bio ends with "...(basketball)".
 
|-
 
|-
| style="font-family:monospace;" | | alt= || use in complex cases instead of the above,<br/>e.g. "<tt>link = John T. Smith (basketball born 1980)</tt>"
+
| style="font-family:monospace;" | | alt= || use in complex cases instead of the above,<br/>e.g. "<kbd>alt = John T. Smith (basketball born 1980)</kbd>"
 
|-
 
|-
 
| style="font-family:monospace;" | | link = || set link=y if the name should be wikilinked
 
| style="font-family:monospace;" | | link = || set link=y if the name should be wikilinked
Line 39: Line 39:
 
| style="font-family:monospace;" | | ft = <br/>| in = <br/>| lbs = || height and weight.<br/>feet and inches are separated so that 6'10-11" players will sort properly in relation to 6'2" players.
 
| style="font-family:monospace;" | | ft = <br/>| in = <br/>| lbs = || height and weight.<br/>feet and inches are separated so that 6'10-11" players will sort properly in relation to 6'2" players.
 
|-
 
|-
| style="font-family:monospace;" | | sex = || sex of the team; default to men's. use '''<tt>w</tt>''' for women's, which suppresses the weight column
+
| style="font-family:monospace;" | | sex = || sex of the team; default to men's. use '''<kbd>w</kbd>''' for women's, which suppresses the weight column
 
|-
 
|-
| style="font-family:monospace;" | | class = || the classification of the player.<br/>Acceptable values are ((F|FR|FRESH|FRESHMAN|SO|SOPH|SOPHOMORE|J|JR|JNR|JUNIOR|S|SR|SNR|SENIOR)
+
| style="font-family:monospace;" | | class = || the classification of the player.<br/>Acceptable values are (F|FR|FRESH|FRESHMAN|SO|SOPH|SOPHOMORE|J|JR|JNR|JUNIOR|S|SR|SNR|SENIOR|G|GS|GRAD|GRADUATE
 
|-
 
|-
 
| style="font-family:monospace;" | | rs = || whether the player has had redshirt year; any character will activate this field.
 
| style="font-family:monospace;" | | rs = || whether the player has had redshirt year; any character will activate this field.
Line 47: Line 47:
 
| style="font-family:monospace;" | | cur_rs = || whether the player is in a redshirt year; acceptable value is "yes"
 
| style="font-family:monospace;" | | cur_rs = || whether the player is in a redshirt year; acceptable value is "yes"
 
|-
 
|-
| style="font-family:monospace;" | | home = || hometown of the player. Wikilinks are accepted int his field
+
| style="font-family:monospace;" | | home = || hometown of the player. Wikilinks are accepted in this field
 
|-
 
|-
 
| style="font-family:monospace;" | | high_school= || high school or junior college of the player; must have used the <code>high_school</code> parameter in the <code>header</code> template.
 
| style="font-family:monospace;" | | high_school= || high school or junior college of the player; must have used the <code>high_school</code> parameter in the <code>header</code> template.
Line 61: Line 61:
 
| style="font-family:monospace;" | | roster_url= || URL where official roster can be found.
 
| style="font-family:monospace;" | | roster_url= || URL where official roster can be found.
 
|-
 
|-
| style="font-family:monospace;" | | accessdate= || last date the team template is known to have been updated from above URLs<br/>ISO (<tt>YYYY-MM-DD</tt>) format please, just like "cite" templates.
+
| style="font-family:monospace;" | | accessdate= || last date the team template is known to have been updated from above URLs<br/>ISO (<kbd>YYYY-MM-DD</kbd>) format please, just like "cite" templates.
 
|-
 
|-
 
| style="font-family:monospace;" | &#125;&#125;
 
| style="font-family:monospace;" | &#125;&#125;

Latest revision as of 11:35, 5 August 2019

click to view ?
{{CBB roster/Header
| year = the starting year of the season for this template; the ending year will be calculated.
| team = name of team.
| sex = sex of the team; default to men's. use w for women's, which changes the title and suppresses the weight column
| hdr_bgcolor= background color of the main template header.
| subhdr_bgcolor= background color of the sub headers.
| hdr_txtcolor= text color of the main template header.
| subhdr_txtcolor= text color of the sub headers.
| teamcolors= if teamcolors=y, then the colors from Template:CollegePrimaryStyle and Template:CollegeSecondaryStyle will be used and all color fields mentioned above will be ignored.
| high_school= inputting anything in the field will activate the high school column; must then use the high_school parameter in every entry of the player template
}}
{{CBB roster/Player
| first =
| last =
player's first and last name are all you'd need to enter in most cases
| dab = e.g. "basketball" if the title of the player's bio ends with "...(basketball)".
| alt= use in complex cases instead of the above,
e.g. "alt = John T. Smith (basketball born 1980)"
| link = set link=y if the name should be wikilinked
| num = number on player's uniform, e.g. "23"
| pos = See basketball positions.
Acceptable values are (PG|G|SG|GF|SF|F|PF|FC|C).
Column will sort in this order.
| ft =
| in =
| lbs =
height and weight.
feet and inches are separated so that 6'10-11" players will sort properly in relation to 6'2" players.
| sex = sex of the team; default to men's. use w for women's, which suppresses the weight column
| class = FR|FRESH|FRESHMAN|SO|SOPH|SOPHOMORE|J|JR|JNR|JUNIOR|S|SR|SNR|SENIOR|G|GS|GRAD|GRADUATE
| rs = whether the player has had redshirt year; any character will activate this field.
| cur_rs = whether the player is in a redshirt year; acceptable value is "yes"
| home = hometown of the player. Wikilinks are accepted in this field
| high_school= high school or junior college of the player; must have used the high_school parameter in the header template.
| note = FA, DP, etc. appears in parentheses after player's name
| inj = If inj=y, injury symbol appears by player's name.
}}
{{CBB roster/Footer
| head_coach =
| asst_coach =
coaching staff
| roster_url= URL where official roster can be found.
| accessdate= last date the team template is known to have been updated from above URLs
ISO (YYYY-MM-DD) format please, just like "cite" templates.
}}

The most commonly used parameters to copy/paste into article for population:

{{CBB roster/Header|year=|team=|sex=}}
{{CBB roster/Player|first=|last=|dab=|num=|pos=|ft=|in=|lbs=|class=|rs=|home=}}
{{CBB roster/Player|first=|last=|dab=|num=|pos=|ft=|in=|lbs=|class=|rs=|home=}}
{{CBB roster/Player|first=|last=|dab=|num=|pos=|ft=|in=|lbs=|class=|rs=|home=}}
{{CBB roster/Player|first=|last=|dab=|num=|pos=|ft=|in=|lbs=|class=|rs=|home=}}
{{CBB roster/Player|first=|last=|dab=|num=|pos=|ft=|in=|lbs=|class=|rs=|home=}}
{{CBB roster/Player|first=|last=|dab=|num=|pos=|ft=|in=|lbs=|class=|rs=|home=}}
{{CBB roster/Player|first=|last=|dab=|num=|pos=|ft=|in=|lbs=|class=|rs=|home=}}
{{CBB roster/Player|first=|last=|dab=|num=|pos=|ft=|in=|lbs=|class=|rs=|home=}}
{{CBB roster/Player|first=|last=|dab=|num=|pos=|ft=|in=|lbs=|class=|rs=|home=}}
{{CBB roster/Player|first=|last=|dab=|num=|pos=|ft=|in=|lbs=|class=|rs=|home=}}
{{CBB roster/Player|first=|last=|dab=|num=|pos=|ft=|in=|lbs=|class=|rs=|home=}}
{{CBB roster/Player|first=|last=|dab=|num=|pos=|ft=|in=|lbs=|class=|rs=|home=}}
{{CBB roster/Player|first=|last=|dab=|num=|pos=|ft=|in=|lbs=|class=|rs=|home=}}
{{CBB roster/Player|first=|last=|dab=|num=|pos=|ft=|in=|lbs=|class=|rs=|home=}}
{{CBB roster/Player|first=|last=|dab=|num=|pos=|ft=|in=|lbs=|class=|rs=|home=}}
{{CBB roster/Player|first=|last=|dab=|num=|pos=|ft=|in=|lbs=|class=|rs=|home=}}
{{CBB roster/Footer|roster_url=|accessdate=
|head_coach=
|asst_coach=}}