Difference between revisions of "Template:Basketball depth chart/table"

From blackwiki
Jump to navigation Jump to search
imported>Primefac
m (Protected "Template:Basketball depth chart/table": semi-protecting highly-visible templates in response to recent template-space vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or con...)
 
(50 intermediate revisions by 17 users not shown)
Line 1: Line 1:
{| style="background-color: #{{{line_color|000000}}}; text-align: center;"
+
{| style="font-size:95%; background-color: #{{{bg1|000}}}; text-align: center;"
|- style="text-align: center; background-color: #{{{line_color|000000}}}; color: #{{{alt_color|cdcdcd}}}"
+
|- style="text-align: center; background-color: #{{{bg1|000}}}; color: #{{{fc1|FFF}}}"
! width="40" |Pos.
+
! style="width:40px" |Pos.
! width="165"|Starter
+
! style="width:165px"|Starting 5
! width="165"|Bench
+
! style="width:165px"|Bench {{#if:{{{bench 2_pos1|}}}{{{bench 2_pos2|}}}{{{bench 2_pos3|}}}{{{bench 2_pos4|}}}{{{bench 2_pos5|}}}|1}}
! width="165"|Reserve
+
! style="width:165px;{{#if:{{{bench 2_pos1|}}}{{{bench 2_pos2|}}}{{{bench 2_pos3|}}}{{{bench 2_pos4|}}}{{{bench 2_pos5|}}}||display:none;}}"|{{#if:{{{bench 2_pos1|}}}{{{bench 2_pos2|}}}{{{bench 2_pos3|}}}{{{bench 2_pos4|}}}{{{bench 2_pos5|}}}|{{{bench 2_label|Bench 2}}}}}
! width="165"|Inactive
+
! style="width:165px;{{#if:{{{bench 3_pos1|}}}{{{bench 3_pos2|}}}{{{bench 3_pos3|}}}{{{bench 3_pos4|}}}{{{bench 3_pos5|}}}||display:none;}}"|{{#if:{{{bench 3_pos1|}}}{{{bench 3_pos2|}}}{{{bench 3_pos3|}}}{{{bench 3_pos4|}}}{{{bench 3_pos5|}}}|{{{bench 3_label|Bench 3}}}}}
 +
! style="width:165px;{{#if:{{{bench 4_pos1|}}}{{{bench 4_pos2|}}}{{{bench 4_pos3|}}}{{{bench 4_pos4|}}}{{{bench 4_pos5|}}}||display:none;}}"|{{#if:{{{bench 4_pos1|}}}{{{bench 4_pos2|}}}{{{bench 4_pos3|}}}{{{bench 4_pos4|}}}{{{bench 4_pos5|}}}|{{{bench 4_label|Inactive}}}}}
 
|- style="background-color: white;"
 
|- style="background-color: white;"
! style="background-color: #{{{alt_color|cdcdcd}}}" | [[Center (basketball)|<font color="#{{{label_color|ffffff}}}">C</font>]]
+
! style="background-color: #{{{bg2}}}" | {{basketball depth chart/pos|{{{pos1_label|?}}}|color:#{{{fc2}}}}}
| '''<font color="#{{{line_color|000000}}}">{{{starter_c| }}}</font>'''
+
| style="font-weight:bold;"| {{{starter_pos1| }}}
| <font color="#{{{line_color|000000}}}">{{{bench_c| }}}</font>
+
| {{{bench 1_pos1| }}}
| <font color="#{{{line_color|000000}}}">{{{reserve_c| }}}</font>
+
| style="{{#if:{{{bench 2_pos1|}}}{{{bench 2_pos2|}}}{{{bench 2_pos3|}}}{{{bench 2_pos4|}}}{{{bench 2_pos5|}}}||display:none;}}"| {{{bench 2_pos1| }}}
| style="background-color: #{{{alt_color|cdcdcd}}}" | <font color="#{{{label_color|ffffff}}}">{{{inactive_c| }}}</font>
+
| style="{{#if:{{{bench 3_pos1|}}}{{{bench 3_pos2|}}}{{{bench 3_pos3|}}}{{{bench 3_pos4|}}}{{{bench 3_pos5|}}}||display:none;}}"| {{{bench 3_pos1| }}}
 +
| style="{{#if:{{{bench 4_pos1|}}}{{{bench 4_pos2|}}}{{{bench 4_pos3|}}}{{{bench 4_pos4|}}}{{{bench 4_pos5|}}}||display:none;}}"| {{{bench 4_pos1| }}}
 
|- style="background-color: white;"
 
|- style="background-color: white;"
! style="background-color: #{{{alt_color|cdcdcd}}}" | [[Power forward (basketball)|<font color="#{{{label_color|ffffff}}}">PF</font>]]
+
! style="background-color: #{{{bg2}}}" | {{basketball depth chart/pos|{{{pos2_label|?}}}|color:#{{{fc2}}}}}
| '''<font color="#{{{line_color|000000}}}">{{{starter_pf| }}}</font>'''
+
| style="font-weight:bold;"| {{{starter_pos2| }}}
| <font color="#{{{line_color|000000}}}">{{{bench_pf| }}}</font>
+
| {{{bench 1_pos2| }}}
| <font color="#{{{line_color|000000}}}">{{{reserve_pf| }}}</font>
+
| style="{{#if:{{{bench 2_pos1|}}}{{{bench 2_pos2|}}}{{{bench 2_pos3|}}}{{{bench 2_pos4|}}}{{{bench 2_pos5|}}}||display:none;}}"| {{{bench 2_pos2| }}}
| style="background-color: #{{{alt_color|cdcdcd}}}" | <font color="#{{{label_color|ffffff}}}">{{{inactive_pf| }}}</font>
+
| style="{{#if:{{{bench 3_pos1|}}}{{{bench 3_pos2|}}}{{{bench 3_pos3|}}}{{{bench 3_pos4|}}}{{{bench 3_pos5|}}}||display:none;}}"| {{{bench 3_pos2| }}}
 +
| style="{{#if:{{{bench 4_pos1|}}}{{{bench 4_pos2|}}}{{{bench 4_pos3|}}}{{{bench 4_pos4|}}}{{{bench 4_pos5|}}}||display:none;}}"| {{{bench 4_pos2| }}}
 
|- style="background-color: white;"
 
|- style="background-color: white;"
! style="background-color: #{{{alt_color|cdcdcd}}}" | [[Small forward|<font color="#{{{label_color|ffffff}}}">SF</font>]]
+
! style="background-color: #{{{bg2}}}" | {{basketball depth chart/pos|{{{pos3_label|?}}}|color:#{{{fc2}}}}}
| '''<font color="#{{{line_color|000000}}}">{{{starter_sf| }}}</font>'''
+
| style="font-weight:bold;"| {{{starter_pos3| }}}
| <font color="#{{{line_color|000000}}}">{{{bench_sf| }}}</font>
+
| {{{bench 1_pos3| }}}
| <font color="#{{{line_color|000000}}}">{{{reserve_sf| }}}</font>
+
| style="{{#if:{{{bench 2_pos1|}}}{{{bench 2_pos2|}}}{{{bench 2_pos3|}}}{{{bench 2_pos4|}}}{{{bench 2_pos5|}}}||display:none;}}"| {{{bench 2_pos3| }}}
| style="background-color: #{{{alt_color|cdcdcd}}}" | <font color="#{{{label_color|ffffff}}}">{{{inactive_sf| }}}</font>
+
| style="{{#if:{{{bench 3_pos1|}}}{{{bench 3_pos2|}}}{{{bench 3_pos3|}}}{{{bench 3_pos4|}}}{{{bench 3_pos5|}}}||display:none;}}"| {{{bench 3_pos3| }}}
 +
| style="{{#if:{{{bench 4_pos1|}}}{{{bench 4_pos2|}}}{{{bench 4_pos3|}}}{{{bench 4_pos4|}}}{{{bench 4_pos5|}}}||display:none;}}"| {{{bench 4_pos3| }}}
 
|- style="background-color: white;"
 
|- style="background-color: white;"
! style="background-color: #{{{alt_color|cdcdcd}}}" | [[Shooting guard|<font color="#{{{label_color|ffffff}}}">SG</font>]]
+
! style="background-color: #{{{bg2}}}" | {{basketball depth chart/pos|{{{pos4_label|?}}}|color:#{{{fc2}}}}}  
| '''<font color="#{{{line_color|000000}}}">{{{starter_sg| }}}</font>'''
+
| style="font-weight:bold;"| {{{starter_pos4| }}}
| <font color="#{{{line_color|000000}}}">{{{bench_sg| }}}</font>
+
| {{{bench 1_pos4| }}}
| <font color="#{{{line_color|000000}}}">{{{reserve_sg| }}}</font>
+
| style="{{#if:{{{bench 2_pos1|}}}{{{bench 2_pos2|}}}{{{bench 2_pos3|}}}{{{bench 2_pos4|}}}{{{bench 2_pos5|}}}||display:none;}}"| {{{bench 2_pos4| }}}
| style="background-color: #{{{alt_color|cdcdcd}}}" | <font color="#{{{label_color|ffffff}}}">{{{inactive_sg| }}}</font>
+
| style="{{#if:{{{bench 3_pos1|}}}{{{bench 3_pos2|}}}{{{bench 3_pos3|}}}{{{bench 3_pos4|}}}{{{bench 3_pos5|}}}||display:none;}}"| {{{bench 3_pos4| }}}
 +
| style="{{#if:{{{bench 4_pos1|}}}{{{bench 4_pos2|}}}{{{bench 4_pos3|}}}{{{bench 4_pos4|}}}{{{bench 4_pos5|}}}||display:none;}}"| {{{bench 4_pos4| }}}
 
|- style="background-color: white;"
 
|- style="background-color: white;"
! style="background-color: #{{{alt_color|cdcdcd}}}" | [[Point guard|<font color="#{{{label_color|ffffff}}}">PG</font>]]
+
! style="background-color: #{{{bg2}}}" | {{basketball depth chart/pos|{{{pos5_label|?}}}|color:#{{{fc2}}}}}
| '''<font color="#{{{line_color|000000}}}">{{{starter_pg| }}}</font>'''
+
| style="font-weight:bold;"| {{{starter_pos5| }}}
| <font color="#{{{line_color|000000}}}">{{{bench_pg| }}}</font>
+
| {{{bench 1_pos5| }}}
| <font color="#{{{line_color|000000}}}">{{{reserve_pg| }}}</font>
+
| style="{{#if:{{{bench 2_pos1|}}}{{{bench 2_pos2|}}}{{{bench 2_pos3|}}}{{{bench 2_pos4|}}}{{{bench 2_pos5|}}}||display:none;}}"| {{{bench 2_pos5| }}}
| style="background-color: #{{{alt_color|cdcdcd}}}" | <font color="#{{{label_color|ffffff}}}">{{{inactive_pg| }}}</font>
+
| style="{{#if:{{{bench 3_pos1|}}}{{{bench 3_pos2|}}}{{{bench 3_pos3|}}}{{{bench 3_pos4|}}}{{{bench 3_pos5|}}}||display:none;}}"| {{{bench 3_pos5| }}}
|}<noinclude>
+
| style="{{#if:{{{bench 4_pos1|}}}{{{bench 4_pos2|}}}{{{bench 4_pos3|}}}{{{bench 4_pos4|}}}{{{bench 4_pos5|}}}||display:none;}}"| {{{bench 4_pos5| }}}
 
+
|}{{#if:{{{source|}}}{{{notes|}}}|
== Usage ==
+
{{refbegin}}
 
+
{{br separated entries
<pre>
+
|1 = {{#if:{{{source|}}}|Source: {{{source}}}}}
{{Basketball depth chart
+
|2 = {{{notes|}}}
|line_color  = <!-- color of the lines and players' names text (except for "Inactive" -->
 
|alt_color  = <!-- fill color of "Pos." and "Inactive" rows and text color of the first column -->
 
|label_color = <!-- text color of the text on the "Pos." and "Inactive" rows -->
 
|starter_c  = [[Andrew Bynum]]
 
|starter_pf  = [[Pau Gasol]]
 
|starter_sf  = [[Luke Walton]]
 
|starter_sg  = [[Kobe Bryant]]
 
|starter_pg  = [[Derek Fisher]]
 
|bench_c    = [[Chris Mihm]]
 
|bench_pf    = [[Lamar Odom]]
 
|bench_sf    = [[Trevor Ariza]]
 
|bench_sg    = [[Sasha Vujacic]]
 
|bench_pg    = [[Sun Yue]]
 
|reserve_c  =
 
|reserve_pf  = [[Josh Powell]]
 
|reserve_sf  = [[Vladimir Radmanovic]]
 
|reserve_sg  =
 
|reserve_pg  =
 
|inactive_c  = [[D.J. Mbenga]]
 
|inactive_pf =
 
|inactive_sf =
 
|inactive_sg =  
 
|inactive_pg = [[Jordan Farmar]]</font> [[Image:Flag of Switzerland.svg|7px|Injured]]
 
 
}}
 
}}
</pre>
+
{{refend}}
 
+
}}<noinclude>
== See also ==
+
{{documentation|content=This subtemplate is used by {{tl|basketball depth chart}}.  It should not be used directly.}}
*[[Template:NBA depth chart]] - for NBA teams only, omits the
 
 
 
[[Category:National Basketball Association depth chart templates|*]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 19:21, 10 January 2018

Pos. Starting 5 Bench
?
?
?
?
?
50px Template documentation

This subtemplate is used by {{basketball depth chart}}. It should not be used directly.