Difference between revisions of "Template:Basketball depth chart/table"
Jump to navigation
Jump to search
Template documentation
imported>Frietjes |
imported>Frietjes |
||
| Line 1: | Line 1: | ||
| − | {| style="font-size:95%; background-color: #{{{line_color|000000 | + | {| style="font-size:95%; background-color: #{{if empty|{{{line_color|}}}|000000}}; text-align: center;" |
| − | |- style="text-align: center; background-color: #{{{line_color|000000 | + | |- style="text-align: center; background-color: #{{if empty|{{{line_color|}}}|000000}}; color: #{{Greater color contrast ratio|{{if empty|{{{line_color|}}}|000000}}|000000|FFFFFF}}" |
! style="width:40px" |Pos. | ! style="width:40px" |Pos. | ||
! style="width:165px"|Starting 5 | ! style="width:165px"|Starting 5 | ||
| − | ! style="width:165px"|Bench 1 | + | ! style="width:165px"|Bench {{#if:{{{bench 2_c|}}}{{{bench 2_pf|}}}{{{bench 2_sf|}}}{{{bench 2_sg|}}}{{{bench 2_pg|}}}|1}} |
! style="width:165px;{{#if:{{{bench 2_c|}}}{{{bench 2_pf|}}}{{{bench 2_sf|}}}{{{bench 2_sg|}}}{{{bench 2_pg|}}}||display:none;}}"|{{#if:{{{bench 2_c|}}}{{{bench 2_pf|}}}{{{bench 2_sf|}}}{{{bench 2_sg|}}}{{{bench 2_pg|}}}|{{{bench 2_label|Bench 2}}}}} | ! style="width:165px;{{#if:{{{bench 2_c|}}}{{{bench 2_pf|}}}{{{bench 2_sf|}}}{{{bench 2_sg|}}}{{{bench 2_pg|}}}||display:none;}}"|{{#if:{{{bench 2_c|}}}{{{bench 2_pf|}}}{{{bench 2_sf|}}}{{{bench 2_sg|}}}{{{bench 2_pg|}}}|{{{bench 2_label|Bench 2}}}}} | ||
! 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="width:165px;{{#if:{{{bench 4_c|}}}{{{bench 4_pf|}}}{{{bench 4_sf|}}}{{{bench 4_sg|}}}{{{bench 4_pg|}}}||display:none;}}"|{{#if:{{{bench 4_c|}}}{{{bench 4_pf|}}}{{{bench 4_sf|}}}{{{bench 4_sg|}}}{{{bench 4_pg|}}}|{{{bench 4_label|Inactive}}}}} | ||
|- style="background-color: white;" | |- style="background-color: white;" | ||
| − | ! style="background-color: #{{{alt_color|cdcdcd | + | ! style="background-color: #{{if empty|{{{alt_color|}}}|cdcdcd}}" | {{#if:{{{c_link|}}}|[[{{{c_link}}}|<span style="color:#{{Greater color contrast ratio|{{if empty|{{{alt_color|}}}|cdcdcd}}|000000|FFFFFF}}">{{{c_label|C}}}</span>]]|<span style="color:#{{Greater color contrast ratio|{{if empty|{{{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| }}} | ||
| style="{{#if:{{{bench 2_c|}}}{{{bench 2_pf|}}}{{{bench 2_sf|}}}{{{bench 2_sg|}}}{{{bench 2_pg|}}}||display:none;}}"| {{{bench 2_c| }}} | | style="{{#if:{{{bench 2_c|}}}{{{bench 2_pf|}}}{{{bench 2_sf|}}}{{{bench 2_sg|}}}{{{bench 2_pg|}}}||display:none;}}"| {{{bench 2_c| }}} | ||
| 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="{{#if:{{{bench 4_c|}}}{{{bench 4_pf|}}}{{{bench 4_sf|}}}{{{bench 4_sg|}}}{{{bench 4_pg|}}}||display:none;}}"| {{{bench 4_c| }}} | ||
|- style="background-color: white;" | |- style="background-color: white;" | ||
| − | ! style="background-color: #{{{alt_color|cdcdcd | + | ! style="background-color: #{{if empty|{{{alt_color|}}}|cdcdcd}}" | {{#if:{{{pf_link|}}}|[[{{{pf_link}}}|<span style="color:#{{Greater color contrast ratio|{{if empty|{{{alt_color|}}}|cdcdcd}}|000000|FFFFFF}}">{{{pf_label|PF}}}</span>]]|<span style="color:#{{Greater color contrast ratio|{{if empty|{{{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| }}} | ||
| style="{{#if:{{{bench 2_c|}}}{{{bench 2_pf|}}}{{{bench 2_sf|}}}{{{bench 2_sg|}}}{{{bench 2_pg|}}}||display:none;}}"| {{{bench 2_pf| }}} | | style="{{#if:{{{bench 2_c|}}}{{{bench 2_pf|}}}{{{bench 2_sf|}}}{{{bench 2_sg|}}}{{{bench 2_pg|}}}||display:none;}}"| {{{bench 2_pf| }}} | ||
| 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="{{#if:{{{bench 4_c|}}}{{{bench 4_pf|}}}{{{bench 4_sf|}}}{{{bench 4_sg|}}}{{{bench 4_pg|}}}||display:none;}}"| {{{bench 4_pf| }}} | ||
|- style="background-color: white;" | |- style="background-color: white;" | ||
| − | ! style="background-color: #{{{alt_color|cdcdcd | + | ! style="background-color: #{{if empty|{{{alt_color|}}}|cdcdcd}}" | {{#if:{{{sf_link|}}}|[[{{{sf_link}}}|<span style="color:#{{Greater color contrast ratio|{{if empty|{{{alt_color|}}}|cdcdcd}}|000000|FFFFFF}}">{{{sf_label|SF}}}</span>]]|<span style="color:#{{Greater color contrast ratio|{{if empty|{{{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| }}} | ||
| style="{{#if:{{{bench 2_c|}}}{{{bench 2_pf|}}}{{{bench 2_sf|}}}{{{bench 2_sg|}}}{{{bench 2_pg|}}}||display:none;}}"| {{{bench 2_sf| }}} | | style="{{#if:{{{bench 2_c|}}}{{{bench 2_pf|}}}{{{bench 2_sf|}}}{{{bench 2_sg|}}}{{{bench 2_pg|}}}||display:none;}}"| {{{bench 2_sf| }}} | ||
| 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="{{#if:{{{bench 4_c|}}}{{{bench 4_pf|}}}{{{bench 4_sf|}}}{{{bench 4_sg|}}}{{{bench 4_pg|}}}||display:none;}}"| {{{bench 4_sf| }}} | ||
|- style="background-color: white;" | |- style="background-color: white;" | ||
| − | ! style="background-color: #{{{alt_color|cdcdcd | + | ! style="background-color: #{{if empty|{{{alt_color|}}}|cdcdcd}}" | {{#if:{{{sg_link|}}}|[[{{{sg_link}}}|<span style="color:#{{Greater color contrast ratio|{{if empty|{{{alt_color|}}}|cdcdcd}}|000000|FFFFFF}}">{{{sg_label|SG}}}</span>]]|<span style="color:#{{Greater color contrast ratio|{{if empty|{{{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| }}} | ||
| style="{{#if:{{{bench 2_c|}}}{{{bench 2_pf|}}}{{{bench 2_sf|}}}{{{bench 2_sg|}}}{{{bench 2_pg|}}}||display:none;}}"| {{{bench 2_sg| }}} | | style="{{#if:{{{bench 2_c|}}}{{{bench 2_pf|}}}{{{bench 2_sf|}}}{{{bench 2_sg|}}}{{{bench 2_pg|}}}||display:none;}}"| {{{bench 2_sg| }}} | ||
| 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="{{#if:{{{bench 4_c|}}}{{{bench 4_pf|}}}{{{bench 4_sf|}}}{{{bench 4_sg|}}}{{{bench 4_pg|}}}||display:none;}}"| {{{bench 3_sg| }}} | ||
|- style="background-color: white;" | |- style="background-color: white;" | ||
| − | ! style="background-color: #{{{alt_color|cdcdcd | + | ! style="background-color: #{{if empty|{{{alt_color|}}}|cdcdcd}}" | {{#if:{{{pg_link|}}}|[[{{{pg_link}}}|<span style="color:#{{Greater color contrast ratio|{{if empty|{{{alt_color|}}}|cdcdcd}}|000000|FFFFFF}}">{{{pg_label|PG}}}</span>]]|<span style="color:#{{Greater color contrast ratio|{{if empty|{{{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| }}} | ||
| style="{{#if:{{{bench 2_c|}}}{{{bench 2_pf|}}}{{{bench 2_sf|}}}{{{bench 2_sg|}}}{{{bench 2_pg|}}}||display:none;}}"| {{{bench 2_pg| }}} | | style="{{#if:{{{bench 2_c|}}}{{{bench 2_pf|}}}{{{bench 2_sf|}}}{{{bench 2_sg|}}}{{{bench 2_pg|}}}||display:none;}}"| {{{bench 2_pg| }}} | ||
| style="{{#if:{{{bench 3_c|}}}{{{bench 3_pf|}}}{{{bench 3_sf|}}}{{{bench 3_sg|}}}{{{bench 3_pg|}}}||display:none;}}"| {{{bench 3_pg| }}} | | style="{{#if:{{{bench 3_c|}}}{{{bench 3_pf|}}}{{{bench 3_sf|}}}{{{bench 3_sg|}}}{{{bench 3_pg|}}}||display:none;}}"| {{{bench 3_pg| }}} | ||
| + | | style="{{#if:{{{bench 4_c|}}}{{{bench 4_pf|}}}{{{bench 4_sf|}}}{{{bench 4_sg|}}}{{{bench 4_pg|}}}||display:none;}}"| {{{bench 3_pg| }}} | ||
|}<noinclude> | |}<noinclude> | ||
{{documentation|content=This subtemplate is used by {{tl|basketball depth chart}}. It should not be used directly.}} | {{documentation|content=This subtemplate is used by {{tl|basketball depth chart}}. It should not be used directly.}} | ||
</noinclude> | </noinclude> | ||
Revision as of 16:16, 26 May 2017
| Pos. | Starting 5 | Bench |
|---|---|---|
| C | ||
| PF | ||
| SF | ||
| SG | ||
| PG |
This subtemplate is used by {{basketball depth chart}}. It should not be used directly.
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |