Difference between revisions of "Template:CBSB roster/Player"

From blackwiki
Jump to navigation Jump to search
imported>Cmcnicoll
imported>Jonesey95
(Fix Linter errors)
 
(7 intermediate revisions by 5 users not shown)
Line 8: Line 8:
 
| LHP = {{sort|1.5|[[Pitcher|LHP]]}}
 
| LHP = {{sort|1.5|[[Pitcher|LHP]]}}
 
| P = {{sort|2.0|[[Pitcher|P]]}}
 
| P = {{sort|2.0|[[Pitcher|P]]}}
 +
| RHP/INF | RHP-INF | RHP/OF | RHP-OF | LHP/INF | LHP-INF | LHP/OF | LHP-OF
 
| INF = {{sort|2.5|[[Infielder|INF]]}}
 
| INF = {{sort|2.5|[[Infielder|INF]]}}
 
| OF = {{sort|3.0|[[Outfielder|OF]]}}
 
| OF = {{sort|3.0|[[Outfielder|OF]]}}
 +
| INF/OF | INF-OF | INF/C | INF-C | OF/INF | OF-INF | OF/C | OF-C | INF/RHP | INF-RHP | INF/LHP | INF-LHP | OF/RHP | OF-RHP | OF/LHP | OF-LHP
 
| C = {{sort|3.5|[[Catcher|C]]}}
 
| C = {{sort|3.5|[[Catcher|C]]}}
| U = {{sort|4.0|[[Utility player#baseball|U]]}}
+
| C/INF | C-INF | C/OF | C-OF
 +
| U = {{sort|4.0|[[Utility player#Baseball|U]]}}
 
| #default =
 
| #default =
 
}}
 
}}
| style="text-align:left;" | {{#ifeq:{{{link|n}}}|y|{{sortname|{{{first}}}|{{{last}}}|{{#if:{{{alt|}}}|{{{alt}}}|{{#if:{{{dab|}}}|{{{first}}} {{{last}}} ({{{dab}}})}}}}}}|{{sortname|{{{first}}}|{{{last}}}|nolink=1}}}}{{#ifeq:{{{inj|n}}}|y| [[Image:Cruz Roja.svg|8px|Injured]]}}{{#if:{{{note|}}}| '''({{{note}}})'''}}{{#ifeq:{{{cur_rs|no}}}|yes| [[File:Redshirt.svg|8px|Current redshirt]]}}
+
| style="text-align:left;" | {{nowrap|{{#ifeq:{{{link|n}}}|y|{{sortname|{{{first}}}|{{{last}}}|{{#if:{{{alt|}}}|{{{alt}}}|{{#if:{{{dab|}}}|{{{first}}} {{{last}}} ({{{dab}}})}}}}}}|{{sortname|{{{first}}}|{{{last}}}|nolink=1}}}}{{#ifeq:{{{inj|n}}}|y| [[Image:Cruz Roja.svg|8px|Injured]]}}{{#if:{{{note|}}}| '''({{{note}}})'''}}{{#ifeq:{{{cur_rs|no}}}|yes| [[File:Redshirt.svg|8px|Current redshirt]]}}}}
 
| style="text-align:center;" | {{{bat|}}}/{{{throw|}}}   
 
| style="text-align:center;" | {{{bat|}}}/{{{throw|}}}   
 
| style="text-align:right; white-space:nowrap; font-size:90%; | {{#if:{{{ft|}}}
 
| style="text-align:right; white-space:nowrap; font-size:90%; | {{#if:{{{ft|}}}
 
| {{sort|{{#expr:{{{ft}}} * 12 + {{{in|0}}}}}|{{{ft}}} <small>ft</small> {{{in|0}}} <small>in</small>}} <span style="font-size:80%;">({{#expr:({{{ft}}} * 12 + {{{in|0}}}) * 0.0254 round 2}}&nbsp;m)</span>
 
| {{sort|{{#expr:{{{ft}}} * 12 + {{{in|0}}}}}|{{{ft}}} <small>ft</small> {{{in|0}}} <small>in</small>}} <span style="font-size:80%;">({{#expr:({{{ft}}} * 12 + {{{in|0}}}) * 0.0254 round 2}}&nbsp;m)</span>
| <center></center>
+
| {{center|}}
 
}}
 
}}
 
| style="text-align:right; white-space:nowrap; font-size:90%; | {{#if:{{{lbs|}}}
 
| style="text-align:right; white-space:nowrap; font-size:90%; | {{#if:{{{lbs|}}}
 
| {{{lbs}}} <small>lb</small> <span style="font-size:80%;">({{#expr:{{{lbs}}} * 0.45359237 round 0}}&nbsp;kg)</span>
 
| {{{lbs}}} <small>lb</small> <span style="font-size:80%;">({{#expr:{{{lbs}}} * 0.45359237 round 0}}&nbsp;kg)</span>
| <center></center>
+
| {{center|}}
 
}}
 
}}
 
| style="text-align:center; font-size:90%;" | {{#switch:{{UC:{{{class|}}}}}
 
| style="text-align:center; font-size:90%;" | {{#switch:{{UC:{{{class|}}}}}
Line 43: Line 46:
 
}}
 
}}
 
{{#if:{{{high_school|<noinclude>{{!}}</noinclude>}}}|
 
{{#if:{{{high_school|<noinclude>{{!}}</noinclude>}}}|
{{!}} style="text-align:left; font-size:90%;" {{!}} {{{high_school}}}
+
{{!}} style="text-align:left; font-size:90%;" {{!}} {{nowrap|{{{high_school}}}}}
 
}}
 
}}
| style="text-align:left; font-size:90%;" | {{{home}}}
+
| style="text-align:left; font-size:90%;" | {{nowrap|{{{home}}}}}
 
|-<noinclude>
 
|-<noinclude>
 
|}
 
|}
{{Documentation, template|Template:Baseball roster}}
+
{{Documentation|Template:Baseball roster}}
[[Category:American college baseball templates|{{PAGENAME}}]]
+
[[Category:American college baseball templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 19:01, 14 February 2020

Num Pos Name B/T Height Weight Year High school Hometown
{{{first}}} {{{last}}} /
{{{high_school}}} {{{home}}}
50px Template documentation[view] [edit] [history] [purge]