Difference between revisions of "Template:American football roster"
Jump to navigation
Jump to search
blackwiki>Frietjes |
blackwiki>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 18: | Line 18: | ||
| style="font-family:monospace;" | | 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. | | style="font-family:monospace;" | | 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. | ||
|- | |- | ||
| − | | style="font-family:monospace;" | | class= || Insert < | + | | style="font-family:monospace;" | | class= || Insert <kbd>n</kbd> if you do not want the year column to appear (for use with the NFL) |
|- | |- | ||
| style="font-family:monospace;" | | offensive_players= || the list of offensive players for the team using the player template below | | style="font-family:monospace;" | | offensive_players= || the list of offensive players for the team using the player template below | ||
| Line 38: | Line 38: | ||
| style="font-family:monospace;" | | pos2 = || ''optional'' see above. | | style="font-family:monospace;" | | pos2 = || ''optional'' see above. | ||
|- | |- | ||
| − | | style="font-family:monospace;" | | class = || the classification of the player. Leave parameter out if class is set to < | + | | style="font-family:monospace;" | | class = || the classification of the player. Leave parameter out if class is set to <kbd>n</kbd> in the header.<br/>Acceptable values are F, FR, FRESH, FRESHMAN, RF, RFR, RFRESH, RFRESHMAN, SO, SOPH, SOPHOMORE, J, JR, JNR, JUNIOR, S, SR, SNR, SENIOR. |
|- | |- | ||
| style="font-family:monospace;" | | rs = || (optional) whether the player is in a redshirt year; any character will activate this field. | | style="font-family:monospace;" | | rs = || (optional) whether the player is in a redshirt year; any character will activate this field. | ||
| Line 54: | Line 54: | ||
| 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;" | | otherlegend= || additional entries to the legend if needed | | style="font-family:monospace;" | | otherlegend= || additional entries to the legend if needed | ||
Revision as of 05:23, 5 August 2018
| {{American football roster/Header | |
|---|---|
| | year = | the starting year of the season for this template; the ending year will be calculated. |
| | team = | name of team. |
| | 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. |
| | class= | Insert n if you do not want the year column to appear (for use with the NFL) |
| | offensive_players= | the list of offensive players for the team using the player template below |
| | defensive_players= | the list of defensive players for the team using the player template below |
| | special_teams_players= | the list of special teams players for the team using the player template below |
| }} {{American football roster/Player | |
| | first = | last = |
player's first and last name are all you'd need to enter in most cases |
| | dab = | The full name of the article if a disambiguation is needed |
| | num = | number on player's uniform, e.g. "23" |
| | pos = | See American football positions. Acceptable values are QB, BB, RB, FB, SB, WR, TE, OT, OG, G, C, OL, DL, DE, DT, NG, LB, CD, S, FS, SS, DB, D, N, NB, K, PK, LS, DS, P. |
| | pos2 = | optional see above. |
| | class = | the classification of the player. Leave parameter out if class is set to n in the header. Acceptable values are F, FR, FRESH, FRESHMAN, RF, RFR, RFRESH, RFRESHMAN, SO, SOPH, SOPHOMORE, J, JR, JNR, JUNIOR, S, SR, SNR, SENIOR. |
| | rs = | (optional) whether the player is in a redshirt year; any character will activate this field. |
| | note = | C, I, etc. appears in parentheses after player's name |
| | inj = | If inj=y, injury symbol appears by player's name. |
| | link = | If link=y, then the player's name will be wikilinked |
| }} {{American football 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. |
| | otherlegend= | additional entries to the legend if needed |
| }} | |
|
The most commonly used parameters to copy/paste into article for population: {{American football roster/Header|year=|team=
|offensive_players=
{{American football roster/Player|num=|class=|first=|last=|pos=}}
{{American football roster/Player|num=|class=|first=|last=|pos=}}
{{American football roster/Player|num=|class=|first=|last=|pos=}}
{{American football roster/Player|num=|class=|first=|last=|pos=}}
{{American football roster/Player|num=|class=|first=|last=|pos=}}
{{American football roster/Player|num=|class=|first=|last=|pos=}}
{{American football roster/Player|num=|class=|first=|last=|pos=}}
{{American football roster/Player|num=|class=|first=|last=|pos=}}
{{American football roster/Player|num=|class=|first=|last=|pos=}}
{{American football roster/Player|num=|class=|first=|last=|pos=}}
|defensive_players=
{{American football roster/Player|num=|class=|first=|last=|pos=}}
{{American football roster/Player|num=|class=|first=|last=|pos=}}
{{American football roster/Player|num=|class=|first=|last=|pos=}}
{{American football roster/Player|num=|class=|first=|last=|pos=}}
{{American football roster/Player|num=|class=|first=|last=|pos=}}
{{American football roster/Player|num=|class=|first=|last=|pos=}}
{{American football roster/Player|num=|class=|first=|last=|pos=}}
{{American football roster/Player|num=|class=|first=|last=|pos=}}
{{American football roster/Player|num=|class=|first=|last=|pos=}}
{{American football roster/Player|num=|class=|first=|last=|pos=}}
|special_teams_players=
{{American football roster/Player|num=|class=|first=|last=|pos=}}
{{American football roster/Player|num=|class=|first=|last=|pos=}}
{{American football roster/Player|num=|class=|first=|last=|pos=}}
{{American football roster/Player|num=|class=|first=|last=|pos=}}
{{American football roster/Player|num=|class=|first=|last=|pos=}}
}}
{{American football roster/Footer|roster_url=|accessdate=
|head_coach=
*
|asst_coach=
*
}}
| |