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

From blackwiki
Jump to navigation Jump to search
imported>Vasconia
(Better like this)
imported>Frietjes
(Undid revision 776999554 by Vasconia (talk))
Line 1: Line 1:
 
{| style="font-size:95%; background-color: #{{{line_color|000000}}}; text-align: center;"
 
{| style="font-size:95%; background-color: #{{{line_color|000000}}}; text-align: center;"
|- style="text-align: center; background-color: #{{{line_color|000000}}}; color: #{{{text_color|FFFFFF}}}"
+
|- style="text-align: center; background-color: #{{{line_color|000000}}}; color: #{{Greater color contrast ratio|{{{line_color|000000}}}|000000|FFFFFF}}"
 
! style="width:40px" |Pos.
 
! style="width:40px" |Pos.
 
! style="width:165px"|Starting 5
 
! style="width:165px"|Starting 5
Line 7: Line 7:
 
! style="width:165px;{{#if:{{{bench 3_c|}}}{{{bench 3_pf|}}}{{{bench 3_sf|}}}{{{bench 3_sg|}}}{{{bench 3_pg|}}}||display:none;}}"|{{#if:{{{bench 3_c|}}}{{{bench 3_pf|}}}{{{bench 3_sf|}}}{{{bench 3_sg|}}}{{{bench 3_pg|}}}|{{{bench 3_label|Bench 3}}}}}
 
! style="width:165px;{{#if:{{{bench 3_c|}}}{{{bench 3_pf|}}}{{{bench 3_sf|}}}{{{bench 3_sg|}}}{{{bench 3_pg|}}}||display:none;}}"|{{#if:{{{bench 3_c|}}}{{{bench 3_pf|}}}{{{bench 3_sf|}}}{{{bench 3_sg|}}}{{{bench 3_pg|}}}|{{{bench 3_label|Bench 3}}}}}
 
|- style="background-color: white;"
 
|- style="background-color: white;"
! style="background-color: #{{{alt_color|cdcdcd}}}" | {{#if:{{{c_link|}}}|[[{{{c_link}}}|<span style="color:#{{{label_color|000000}}}">{{{c_label|C}}}</span>]]|<span style="color:#{{{label_color|000000}}}">{{{c_label|C}}}</span>}}
+
! style="background-color: #{{{alt_color|cdcdcd}}}" | {{#if:{{{c_link|}}}|[[{{{c_link}}}|<span style="color:#{{Greater color contrast ratio|{{{alt_color|cdcdcd}}}|000000|FFFFFF}}">{{{c_label|C}}}</span>]]|<span style="color:#{{Greater color contrast ratio|{{{alt_color|cdcdcd}}}|000000|FFFFFF}}">{{{c_label|C}}}</span>}}
 
| style="font-weight:bold;"| {{{starter_c| }}}
 
| style="font-weight:bold;"| {{{starter_c| }}}
 
| {{{bench 1_c| }}}
 
| {{{bench 1_c| }}}
Line 13: Line 13:
 
| style="{{#if:{{{bench 3_c|}}}{{{bench 3_pf|}}}{{{bench 3_sf|}}}{{{bench 3_sg|}}}{{{bench 3_pg|}}}||display:none;}}"| {{{bench 3_c| }}}
 
| style="{{#if:{{{bench 3_c|}}}{{{bench 3_pf|}}}{{{bench 3_sf|}}}{{{bench 3_sg|}}}{{{bench 3_pg|}}}||display:none;}}"| {{{bench 3_c| }}}
 
|- style="background-color: white;"
 
|- style="background-color: white;"
! style="background-color: #{{{alt_color|cdcdcd}}}" | {{#if:{{{pf_link|}}}|[[{{{pf_link}}}|<span style="color:#{{{label_color|000000}}}">{{{pf_label|PF}}}</span>]]|<span style="color:#{{{label_color|000000}}}">{{{pf_label|PF}}}</span>}}
+
! style="background-color: #{{{alt_color|cdcdcd}}}" | {{#if:{{{pf_link|}}}|[[{{{pf_link}}}|<span style="color:#{{Greater color contrast ratio|{{{alt_color|cdcdcd}}}|000000|FFFFFF}}">{{{pf_label|PF}}}</span>]]|<span style="color:#{{Greater color contrast ratio|{{{alt_color|cdcdcd}}}|000000|FFFFFF}}">{{{pf_label|PF}}}</span>}}
 
| style="font-weight:bold;"| {{{starter_pf| }}}
 
| style="font-weight:bold;"| {{{starter_pf| }}}
 
| {{{bench 1_pf| }}}
 
| {{{bench 1_pf| }}}
Line 19: Line 19:
 
| style="{{#if:{{{bench 3_c|}}}{{{bench 3_pf|}}}{{{bench 3_sf|}}}{{{bench 3_sg|}}}{{{bench 3_pg|}}}||display:none;}}"| {{{bench 3_pf| }}}
 
| style="{{#if:{{{bench 3_c|}}}{{{bench 3_pf|}}}{{{bench 3_sf|}}}{{{bench 3_sg|}}}{{{bench 3_pg|}}}||display:none;}}"| {{{bench 3_pf| }}}
 
|- style="background-color: white;"
 
|- style="background-color: white;"
! style="background-color: #{{{alt_color|cdcdcd}}}" | {{#if:{{{sf_link|}}}|[[{{{sf_link}}}|<span style="color:#{{{label_color|000000}}}">{{{sf_label|SF}}}</span>]]|<span style="color:#{{{label_color|000000}}}">{{{sf_label|SF}}}</span>}}
+
! style="background-color: #{{{alt_color|cdcdcd}}}" | {{#if:{{{sf_link|}}}|[[{{{sf_link}}}|<span style="color:#{{Greater color contrast ratio|{{{alt_color|cdcdcd}}}|000000|FFFFFF}}">{{{sf_label|SF}}}</span>]]|<span style="color:#{{Greater color contrast ratio|{{{alt_color|cdcdcd}}}|000000|FFFFFF}}">{{{sf_label|SF}}}</span>}}
 
| style="font-weight:bold;"| {{{starter_sf| }}}
 
| style="font-weight:bold;"| {{{starter_sf| }}}
 
| {{{bench 1_sf| }}}
 
| {{{bench 1_sf| }}}
Line 25: Line 25:
 
| style="{{#if:{{{bench 3_c|}}}{{{bench 3_pf|}}}{{{bench 3_sf|}}}{{{bench 3_sg|}}}{{{bench 3_pg|}}}||display:none;}}"| {{{bench 3_sf| }}}
 
| style="{{#if:{{{bench 3_c|}}}{{{bench 3_pf|}}}{{{bench 3_sf|}}}{{{bench 3_sg|}}}{{{bench 3_pg|}}}||display:none;}}"| {{{bench 3_sf| }}}
 
|- style="background-color: white;"
 
|- style="background-color: white;"
! style="background-color: #{{{alt_color|cdcdcd}}}" | {{#if:{{{sg_link|}}}|[[{{{sg_link}}}|<span style="color:#{{{label_color|000000}}}">{{{sg_label|SG}}}</span>]]|<span style="color:#{{{label_color|000000}}}">{{{sg_label|SG}}}</span>}}
+
! style="background-color: #{{{alt_color|cdcdcd}}}" | {{#if:{{{sg_link|}}}|[[{{{sg_link}}}|<span style="color:#{{Greater color contrast ratio|{{{alt_color|cdcdcd}}}|000000|FFFFFF}}">{{{sg_label|SG}}}</span>]]|<span style="color:#{{Greater color contrast ratio|{{{alt_color|cdcdcd}}}|000000|FFFFFF}}">{{{sg_label|SG}}}</span>}}
 
| style="font-weight:bold;"| {{{starter_sg| }}}
 
| style="font-weight:bold;"| {{{starter_sg| }}}
 
| {{{bench 1_sg| }}}
 
| {{{bench 1_sg| }}}
Line 31: Line 31:
 
| style="{{#if:{{{bench 3_c|}}}{{{bench 3_pf|}}}{{{bench 3_sf|}}}{{{bench 3_sg|}}}{{{bench 3_pg|}}}||display:none;}}"| {{{bench 3_sg| }}}
 
| style="{{#if:{{{bench 3_c|}}}{{{bench 3_pf|}}}{{{bench 3_sf|}}}{{{bench 3_sg|}}}{{{bench 3_pg|}}}||display:none;}}"| {{{bench 3_sg| }}}
 
|- style="background-color: white;"
 
|- style="background-color: white;"
! style="background-color: #{{{alt_color|cdcdcd}}}" | {{#if:{{{pg_link|}}}|[[{{{pg_link}}}|<span style="color:#{{{label_color|000000}}}">{{{pg_label|PG}}}</span>]]|<span style="color:#{{{label_color|000000}}}">{{{pg_label|PG}}}</span>}}
+
! style="background-color: #{{{alt_color|cdcdcd}}}" | {{#if:{{{pg_link|}}}|[[{{{pg_link}}}|<span style="color:#{{Greater color contrast ratio|{{{alt_color|cdcdcd}}}|000000|FFFFFF}}">{{{pg_label|PG}}}</span>]]|<span style="color:#{{Greater color contrast ratio|{{{alt_color|cdcdcd}}}|000000|FFFFFF}}">{{{pg_label|PG}}}</span>}}
 
| style="font-weight:bold;"| {{{starter_pg| }}}
 
| style="font-weight:bold;"| {{{starter_pg| }}}
 
| {{{bench 1_pg| }}}
 
| {{{bench 1_pg| }}}

Revision as of 17:49, 24 April 2017

Pos. Starting 5 Bench 1
C
PF
SF
SG
PG
Template documentation

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