Difference between revisions of "Template:CBSB roster"

From blackwiki
Jump to navigation Jump to search
imported>Cmcnicoll
(added link to common example)
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)
 
(4 intermediate revisions by 4 users not shown)
Line 17: Line 17:
 
| style="font-family:monospace;" | | subhdr_txtcolor= || text color of the sub headers.
 
| style="font-family:monospace;" | | subhdr_txtcolor= || text color of the sub headers.
 
|-
 
|-
| style="font-family:monospace;" | | teamcolors= || if teamcolors=y, then the colors from [[:Template:CollegePrimaryHex]] and [[:Template:CollegeSecondaryHex]] 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;" | | high_school= || inputting anything in the field will activate the high school column; must then use the <code>high_school</code> parameter in every entry of the <code>player</code> template
 
| style="font-family:monospace;" | | high_school= || inputting anything in the field will activate the high school column; must then use the <code>high_school</code> parameter in every entry of the <code>player</code> template
Line 27: Line 27:
 
| style="font-family:monospace;" | | dab = || e.g. "baseball" if the title of the player's bio ends with "...(baseball)".
 
| style="font-family:monospace;" | | dab = || e.g. "baseball" if the title of the player's bio ends with "...(baseball)".
 
|-
 
|-
| style="font-family:monospace;" | | alt= || use in complex cases instead of the above,<br/>e.g. "<tt>link = John T. Smith (baseball born 1980)</tt>"
+
| style="font-family:monospace;" | | alt= || use in complex cases instead of the above,<br/>e.g. "<kbd>link = John T. Smith (baseball 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 43: Line 43:
 
| 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).
 
|-
 
|-
| style="font-family:monospace;" | | rs = || whether the player has had a redshirt year; any character will activate this field.
+
| style="font-family:monospace;" | | rs = || whether the player has had a redshirt year in the past; any character will activate this field.
 
|-
 
|-
 
| style="font-family:monospace;" | | cur_rs = || if player is currently in a redshirt year; if cur_rs=yes, redshirt symbol appears by player's name.
 
| style="font-family:monospace;" | | cur_rs = || if player is currently in a redshirt year; if cur_rs=yes, redshirt symbol appears by player's name.
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;
Line 69: Line 69:
 
<pre>
 
<pre>
 
{{Baseball roster/Header|year=|team=|teamcolors=|high_school=}}
 
{{Baseball roster/Header|year=|team=|teamcolors=|high_school=}}
{{Baseball roster/Player|first=|last=|dab=|link=|num=|pos=|bat=|throw=|ft=|in=|lbs=|class=|rs=|home=|high_school=}}
+
{{Baseball roster/Player|first=|last=|dab=|link=|num=|pos=|bat=|throw=|ft=|in=|lbs=|class=|rs=|cur_rs=|home=|high_school=}}
{{Baseball roster/Player|first=|last=|dab=|link=|num=|pos=|bat=|throw=|ft=|in=|lbs=|class=|rs=|home=|high_school=}}
+
{{Baseball roster/Player|first=|last=|dab=|link=|num=|pos=|bat=|throw=|ft=|in=|lbs=|class=|rs=|cur_rs=|home=|high_school=}}
{{Baseball roster/Player|first=|last=|dab=|link=|num=|pos=|bat=|throw=|ft=|in=|lbs=|class=|rs=|home=|high_school=}}
+
{{Baseball roster/Player|first=|last=|dab=|link=|num=|pos=|bat=|throw=|ft=|in=|lbs=|class=|rs=|cur_rs=|home=|high_school=}}
{{Baseball roster/Player|first=|last=|dab=|link=|num=|pos=|bat=|throw=|ft=|in=|lbs=|class=|rs=|home=|high_school=}}
+
{{Baseball roster/Player|first=|last=|dab=|link=|num=|pos=|bat=|throw=|ft=|in=|lbs=|class=|rs=|cur_rs=|home=|high_school=}}
{{Baseball roster/Player|first=|last=|dab=|link=|num=|pos=|bat=|throw=|ft=|in=|lbs=|class=|rs=|home=|high_school=}}
+
{{Baseball roster/Player|first=|last=|dab=|link=|num=|pos=|bat=|throw=|ft=|in=|lbs=|class=|rs=|cur_rs=|home=|high_school=}}
{{Baseball roster/Player|first=|last=|dab=|link=|num=|pos=|bat=|throw=|ft=|in=|lbs=|class=|rs=|home=|high_school=}}
+
{{Baseball roster/Player|first=|last=|dab=|link=|num=|pos=|bat=|throw=|ft=|in=|lbs=|class=|rs=|cur_rs=|home=|high_school=}}
{{Baseball roster/Player|first=|last=|dab=|link=|num=|pos=|bat=|throw=|ft=|in=|lbs=|class=|rs=|home=|high_school=}}
+
{{Baseball roster/Player|first=|last=|dab=|link=|num=|pos=|bat=|throw=|ft=|in=|lbs=|class=|rs=|cur_rs=|home=|high_school=}}
{{Baseball roster/Player|first=|last=|dab=|link=|num=|pos=|bat=|throw=|ft=|in=|lbs=|class=|rs=|home=|high_school=}}
+
{{Baseball roster/Player|first=|last=|dab=|link=|num=|pos=|bat=|throw=|ft=|in=|lbs=|class=|rs=|cur_rs=|home=|high_school=}}
{{Baseball roster/Player|first=|last=|dab=|link=|num=|pos=|bat=|throw=|ft=|in=|lbs=|class=|rs=|home=|high_school=}}
+
{{Baseball roster/Player|first=|last=|dab=|link=|num=|pos=|bat=|throw=|ft=|in=|lbs=|class=|rs=|cur_rs=|home=|high_school=}}
{{Baseball roster/Player|first=|last=|dab=|link=|num=|pos=|bat=|throw=|ft=|in=|lbs=|class=|rs=|home=|high_school=}}
+
{{Baseball roster/Player|first=|last=|dab=|link=|num=|pos=|bat=|throw=|ft=|in=|lbs=|class=|rs=|cur_rs=|home=|high_school=}}
{{Baseball roster/Player|first=|last=|dab=|link=|num=|pos=|bat=|throw=|ft=|in=|lbs=|class=|rs=|home=|high_school=}}
+
{{Baseball roster/Player|first=|last=|dab=|link=|num=|pos=|bat=|throw=|ft=|in=|lbs=|class=|rs=|cur_rs=|home=|high_school=}}
{{Baseball roster/Player|first=|last=|dab=|link=|num=|pos=|bat=|throw=|ft=|in=|lbs=|class=|rs=|home=|high_school=}}
+
{{Baseball roster/Player|first=|last=|dab=|link=|num=|pos=|bat=|throw=|ft=|in=|lbs=|class=|rs=|cur_rs=|home=|high_school=}}
{{Baseball roster/Player|first=|last=|dab=|link=|num=|pos=|bat=|throw=|ft=|in=|lbs=|class=|rs=|home=|high_school=}}
+
{{Baseball roster/Player|first=|last=|dab=|link=|num=|pos=|bat=|throw=|ft=|in=|lbs=|class=|rs=|cur_rs=|home=|high_school=}}
{{Baseball roster/Player|first=|last=|dab=|link=|num=|pos=|bat=|throw=|ft=|in=|lbs=|class=|rs=|home=|high_school=}}
+
{{Baseball roster/Player|first=|last=|dab=|link=|num=|pos=|bat=|throw=|ft=|in=|lbs=|class=|rs=|cur_rs=|home=|high_school=}}
{{Baseball roster/Player|first=|last=|dab=|link=|num=|pos=|bat=|throw=|ft=|in=|lbs=|class=|rs=|home=|high_school=}}
+
{{Baseball roster/Player|first=|last=|dab=|link=|num=|pos=|bat=|throw=|ft=|in=|lbs=|class=|rs=|cur_rs=|home=|high_school=}}
{{Baseball roster/Player|first=|last=|dab=|link=|num=|pos=|bat=|throw=|ft=|in=|lbs=|class=|rs=|home=|high_school=}}
+
{{Baseball roster/Player|first=|last=|dab=|link=|num=|pos=|bat=|throw=|ft=|in=|lbs=|class=|rs=|cur_rs=|home=|high_school=}}
 
{{Baseball roster/Footer|roster_url=|accessdate=
 
{{Baseball roster/Footer|roster_url=|accessdate=
 
|head_coach=
 
|head_coach=
Line 93: Line 93:
  
 
|}
 
|}
 
 
<includeonly>[[Category:American college baseball templates|{{PAGENAME}}]]</includeonly>
 
<includeonly>[[Category:American college baseball templates|{{PAGENAME}}]]</includeonly>
 +
<noinclude>
 +
[[Category:Baseball templates]]
 +
</noinclude>

Latest revision as of 05:38, 5 August 2018