Difference between revisions of "Template:CBB roster"
Jump to navigation
Jump to search
imported>Carlo71201 m |
imported>Zyxw m (Since <tt> is obsolete in HTML5, replace it with <kbd> – see HTML element#tt, Wikipedia:HTML5, and mw:Help:Extension:Linter/obsolete-tag. using AWB) |
||
| 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 '''< | + | | 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. "< | + | | 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 '''< | + | | 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|G|GS|GRAD|GRADUATE | | 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 | ||
| 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 (< | + | | 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;" | }} | | style="font-family:monospace;" | }} | ||
Revision as of 05:38, 5 August 2018
| 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=}}
| |