Difference between revisions of "Template:CrossTable"
From QWiki
m (Tweak to remove dotaicons) |
m (Fixing width of table) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly><div class="table-responsive"><table class=" | + | <includeonly><div class="table-responsive"><table class="table table-bordered crosstable" style="width:100%"><!-- |
-->{{#if:{{{team1|}}}|<tr class="crosstable-tr"><!-- | -->{{#if:{{{team1|}}}|<tr class="crosstable-tr"><!-- | ||
--><th>{{{team1}}}</th><!-- | --><th>{{{team1}}}</th><!-- | ||
Line 119: | Line 119: | ||
-->{{#if:{{{team10|}}}|<tr class="crosstable-tr"><!-- | -->{{#if:{{{team10|}}}|<tr class="crosstable-tr"><!-- | ||
--><th>{{{team10}}}</th><!-- | --><th>{{{team10}}}</th><!-- | ||
− | -->{{#ifeq:{{{doublerounded}}}|true|{{#if:{{{10vs1result|}}}{{{ | + | -->{{#ifeq:{{{doublerounded}}}|true|{{#if:{{{10vs1result|}}}{{{10vs1resultvs|}}}|<td class="crosstable-bgc-r{{{10vs1result|}}}-r{{{10vs1resultvs|}}}">'''{{#if:{{{10vs1link|}}}|[[{{{10vs1link}}}|<span class="crosstable-bgc-span">{{#if:{{{10vs1abbr|}}}|<abbr title="{{{10vs1abbr}}}">{{{10vs1result}}}-{{{10vs1resultvs}}}</abbr>|{{{10vs1result}}}-{{{10vs1resultvs}}}}}</span>]]|{{#if:{{{10vs1abbr|}}}|<abbr title="{{{10vs1abbr}}}">{{{10vs1result}}}-{{{10vs1resultvs}}}</abbr>|{{{10vs1result}}}-{{{10vs1resultvs}}}}}}}'''</td>|<td></td>}}|{{#if:{{{1vs10result|}}}{{{1vs10resultvs|}}}|<td class="crosstable-bgc-r{{{1vs10resultvs|}}}-r{{{1vs10result|}}}">'''{{#if:{{{1vs10link|}}}|[[{{{1vs10link}}}|<span class="crosstable-bgc-span">{{#if:{{{1vs10abbr|}}}|<abbr title="{{{1vs10abbr}}}">{{{1vs10resultvs}}}-{{{1vs10result}}}</abbr>|{{{1vs10resultvs}}}-{{{1vs10result}}}}}</span>]]|{{#if:{{{1vs10abbr|}}}|<abbr title="{{{1vs10abbr}}}">{{{1vs10resultvs}}}-{{{1vs10result}}}</abbr>|{{{1vs10resultvs}}}-{{{1vs10result}}}}}}}'''</td>|<td></td>}}}}<!-- |
− | -->{{#ifeq:{{{doublerounded}}}|true|{{#if:{{{ | + | -->{{#ifeq:{{{doublerounded}}}|true|{{#if:{{{10vs2result|}}}{{{10vs2resultvs|}}}|<td class="crosstable-bgc-r{{{10vs2result|}}}-r{{{10vs2resultvs|}}}">'''{{#if:{{{10vs2link|}}}|[[{{{10vs2link}}}|<span class="crosstable-bgc-span">{{#if:{{{10vs2abbr|}}}|<abbr title="{{{10vs2abbr}}}">{{{10vs2result}}}-{{{10vs2resultvs}}}</abbr>|{{{10vs2result}}}-{{{10vs2resultvs}}}}}</span>]]|{{#if:{{{10vs2abbr|}}}|<abbr title="{{{10vs2abbr}}}">{{{10vs2result}}}-{{{10vs2resultvs}}}</abbr>|{{{10vs2result}}}-{{{10vs2resultvs}}}}}}}'''</td>|<td></td>}}|{{#if:{{{2vs10result|}}}{{{2vs10resultvs|}}}|<td class="crosstable-bgc-r{{{2vs10resultvs|}}}-r{{{2vs10result|}}}">'''{{#if:{{{2vs10link|}}}|[[{{{2vs10link}}}|<span class="crosstable-bgc-span">{{#if:{{{2vs10abbr|}}}|<abbr title="{{{2vs10abbr}}}">{{{2vs10resultvs}}}-{{{2vs10result}}}</abbr>|{{{2vs10resultvs}}}-{{{2vs10result}}}}}</span>]]|{{#if:{{{2vs10abbr|}}}|<abbr title="{{{2vs10abbr}}}">{{{2vs10resultvs}}}-{{{2vs10result}}}</abbr>|{{{2vs10resultvs}}}-{{{2vs10result}}}}}}}'''</td>|<td></td>}}}}<!-- |
− | -->{{#ifeq:{{{doublerounded}}}|true|{{#if:{{{ | + | -->{{#ifeq:{{{doublerounded}}}|true|{{#if:{{{10vs3result|}}}{{{10vs3resultvs|}}}|<td class="crosstable-bgc-r{{{10vs3result|}}}-r{{{10vs3resultvs|}}}">'''{{#if:{{{10vs3link|}}}|[[{{{10vs3link}}}|<span class="crosstable-bgc-span">{{#if:{{{10vs3abbr|}}}|<abbr title="{{{10vs3abbr}}}">{{{10vs3result}}}-{{{10vs3resultvs}}}</abbr>|{{{10vs3result}}}-{{{10vs3resultvs}}}}}</span>]]|{{#if:{{{10vs3abbr|}}}|<abbr title="{{{10vs3abbr}}}">{{{10vs3result}}}-{{{10vs3resultvs}}}</abbr>|{{{10vs3result}}}-{{{10vs3resultvs}}}}}}}'''</td>|<td></td>}}|{{#if:{{{3vs10result|}}}{{{3vs10resultvs|}}}|<td class="crosstable-bgc-r{{{3vs10resultvs|}}}-r{{{3vs10result|}}}">'''{{#if:{{{3vs10link|}}}|[[{{{3vs10link}}}|<span class="crosstable-bgc-span">{{#if:{{{3vs10abbr|}}}|<abbr title="{{{3vs10abbr}}}">{{{3vs10resultvs}}}-{{{3vs10result}}}</abbr>|{{{3vs10resultvs}}}-{{{3vs10result}}}}}</span>]]|{{#if:{{{3vs10abbr|}}}|<abbr title="{{{3vs10abbr}}}">{{{3vs10resultvs}}}-{{{3vs10result}}}</abbr>|{{{3vs10resultvs}}}-{{{3vs10result}}}}}}}'''</td>|<td></td>}}}}<!-- |
− | -->{{#ifeq:{{{doublerounded}}}|true|{{#if:{{{ | + | -->{{#ifeq:{{{doublerounded}}}|true|{{#if:{{{10vs4result|}}}{{{10vs4resultvs|}}}|<td class="crosstable-bgc-r{{{10vs4result|}}}-r{{{10vs4resultvs|}}}">'''{{#if:{{{10vs4link|}}}|[[{{{10vs4link}}}|<span class="crosstable-bgc-span">{{#if:{{{10vs4abbr|}}}|<abbr title="{{{10vs4abbr}}}">{{{10vs4result}}}-{{{10vs4resultvs}}}</abbr>|{{{10vs4result}}}-{{{10vs4resultvs}}}}}</span>]]|{{#if:{{{10vs4abbr|}}}|<abbr title="{{{10vs4abbr}}}">{{{10vs4result}}}-{{{10vs4resultvs}}}</abbr>|{{{10vs4result}}}-{{{10vs4resultvs}}}}}}}'''</td>|<td></td>}}|{{#if:{{{4vs10result|}}}{{{4vs10resultvs|}}}|<td class="crosstable-bgc-r{{{4vs10resultvs|}}}-r{{{4vs10result|}}}">'''{{#if:{{{4vs10link|}}}|[[{{{4vs10link}}}|<span class="crosstable-bgc-span">{{#if:{{{4vs10abbr|}}}|<abbr title="{{{4vs10abbr}}}">{{{4vs10resultvs}}}-{{{4vs10result}}}</abbr>|{{{4vs10resultvs}}}-{{{4vs10result}}}}}</span>]]|{{#if:{{{4vs10abbr|}}}|<abbr title="{{{4vs10abbr}}}">{{{4vs10resultvs}}}-{{{4vs10result}}}</abbr>|{{{4vs10resultvs}}}-{{{4vs10result}}}}}}}'''</td>|<td></td>}}}}<!-- |
− | -->{{#ifeq:{{{doublerounded}}}|true|{{#if:{{{ | + | -->{{#ifeq:{{{doublerounded}}}|true|{{#if:{{{10vs5result|}}}{{{10vs5resultvs|}}}|<td class="crosstable-bgc-r{{{10vs5result|}}}-r{{{10vs5resultvs|}}}">'''{{#if:{{{10vs5link|}}}|[[{{{10vs5link}}}|<span class="crosstable-bgc-span">{{#if:{{{10vs5abbr|}}}|<abbr title="{{{10vs5abbr}}}">{{{10vs5result}}}-{{{10vs5resultvs}}}</abbr>|{{{10vs5result}}}-{{{10vs5resultvs}}}}}</span>]]|{{#if:{{{10vs5abbr|}}}|<abbr title="{{{10vs5abbr}}}">{{{10vs5result}}}-{{{10vs5resultvs}}}</abbr>|{{{10vs5result}}}-{{{10vs5resultvs}}}}}}}'''</td>|<td></td>}}|{{#if:{{{5vs10result|}}}{{{5vs10resultvs|}}}|<td class="crosstable-bgc-r{{{5vs10resultvs|}}}-r{{{5vs10result|}}}">'''{{#if:{{{5vs10link|}}}|[[{{{5vs10link}}}|<span class="crosstable-bgc-span">{{#if:{{{5vs10abbr|}}}|<abbr title="{{{5vs10abbr}}}">{{{5vs10resultvs}}}-{{{5vs10result}}}</abbr>|{{{5vs10resultvs}}}-{{{5vs10result}}}}}</span>]]|{{#if:{{{5vs10abbr|}}}|<abbr title="{{{5vs10abbr}}}">{{{5vs10resultvs}}}-{{{5vs10result}}}</abbr>|{{{5vs10resultvs}}}-{{{5vs10result}}}}}}}'''</td>|<td></td>}}}}<!-- |
− | -->{{#ifeq:{{{doublerounded}}}|true|{{#if:{{{ | + | -->{{#ifeq:{{{doublerounded}}}|true|{{#if:{{{10vs6result|}}}{{{10vs6resultvs|}}}|<td class="crosstable-bgc-r{{{10vs6result|}}}-r{{{10vs6resultvs|}}}">'''{{#if:{{{10vs6link|}}}|[[{{{10vs6link}}}|<span class="crosstable-bgc-span">{{#if:{{{10vs6abbr|}}}|<abbr title="{{{10vs6abbr}}}">{{{10vs6result}}}-{{{10vs6resultvs}}}</abbr>|{{{10vs6result}}}-{{{10vs6resultvs}}}}}</span>]]|{{#if:{{{10vs6abbr|}}}|<abbr title="{{{10vs6abbr}}}">{{{10vs6result}}}-{{{10vs6resultvs}}}</abbr>|{{{10vs6result}}}-{{{10vs6resultvs}}}}}}}'''</td>|<td></td>}}|{{#if:{{{6vs10result|}}}{{{6vs10resultvs|}}}|<td class="crosstable-bgc-r{{{6vs10resultvs|}}}-r{{{6vs10result|}}}">'''{{#if:{{{6vs10link|}}}|[[{{{6vs10link}}}|<span class="crosstable-bgc-span">{{#if:{{{6vs10abbr|}}}|<abbr title="{{{6vs10abbr}}}">{{{6vs10resultvs}}}-{{{6vs10result}}}</abbr>|{{{6vs10resultvs}}}-{{{6vs10result}}}}}</span>]]|{{#if:{{{6vs10abbr|}}}|<abbr title="{{{6vs10abbr}}}">{{{6vs10resultvs}}}-{{{6vs10result}}}</abbr>|{{{6vs10resultvs}}}-{{{6vs10result}}}}}}}'''</td>|<td></td>}}}}<!-- |
− | -->{{#ifeq:{{{doublerounded}}}|true|{{#if:{{{ | + | -->{{#ifeq:{{{doublerounded}}}|true|{{#if:{{{10vs7result|}}}{{{10vs7resultvs|}}}|<td class="crosstable-bgc-r{{{10vs7result|}}}-r{{{10vs7resultvs|}}}">'''{{#if:{{{10vs7link|}}}|[[{{{10vs7link}}}|<span class="crosstable-bgc-span">{{#if:{{{10vs7abbr|}}}|<abbr title="{{{10vs7abbr}}}">{{{10vs7result}}}-{{{10vs7resultvs}}}</abbr>|{{{10vs7result}}}-{{{10vs7resultvs}}}}}</span>]]|{{#if:{{{10vs7abbr|}}}|<abbr title="{{{10vs7abbr}}}">{{{10vs7result}}}-{{{10vs7resultvs}}}</abbr>|{{{10vs7result}}}-{{{10vs7resultvs}}}}}}}'''</td>|<td></td>}}|{{#if:{{{7vs10result|}}}{{{7vs10resultvs|}}}|<td class="crosstable-bgc-r{{{7vs10resultvs|}}}-r{{{7vs10result|}}}">'''{{#if:{{{7vs10link|}}}|[[{{{7vs10link}}}|<span class="crosstable-bgc-span">{{#if:{{{7vs10abbr|}}}|<abbr title="{{{7vs10abbr}}}">{{{7vs10resultvs}}}-{{{7vs10result}}}</abbr>|{{{7vs10resultvs}}}-{{{7vs10result}}}}}</span>]]|{{#if:{{{7vs10abbr|}}}|<abbr title="{{{7vs10abbr}}}">{{{7vs10resultvs}}}-{{{7vs10result}}}</abbr>|{{{7vs10resultvs}}}-{{{7vs10result}}}}}}}'''</td>|<td></td>}}}}<!-- |
− | -->{{#ifeq:{{{doublerounded}}}|true|{{#if:{{{ | + | -->{{#ifeq:{{{doublerounded}}}|true|{{#if:{{{10vs8result|}}}{{{10vs8resultvs|}}}|<td class="crosstable-bgc-r{{{10vs8result|}}}-r{{{10vs8resultvs|}}}">'''{{#if:{{{10vs8link|}}}|[[{{{10vs8link}}}|<span class="crosstable-bgc-span">{{#if:{{{10vs8abbr|}}}|<abbr title="{{{10vs8abbr}}}">{{{10vs8result}}}-{{{10vs8resultvs}}}</abbr>|{{{10vs8result}}}-{{{10vs8resultvs}}}}}</span>]]|{{#if:{{{10vs8abbr|}}}|<abbr title="{{{10vs8abbr}}}">{{{10vs8result}}}-{{{10vs8resultvs}}}</abbr>|{{{10vs8result}}}-{{{10vs8resultvs}}}}}}}'''</td>|<td></td>}}|{{#if:{{{8vs10result|}}}{{{8vs10resultvs|}}}|<td class="crosstable-bgc-r{{{8vs10resultvs|}}}-r{{{8vs10result|}}}">'''{{#if:{{{8vs10link|}}}|[[{{{8vs10link}}}|<span class="crosstable-bgc-span">{{#if:{{{8vs10abbr|}}}|<abbr title="{{{8vs10abbr}}}">{{{8vs10resultvs}}}-{{{8vs10result}}}</abbr>|{{{8vs10resultvs}}}-{{{8vs10result}}}}}</span>]]|{{#if:{{{8vs10abbr|}}}|<abbr title="{{{8vs10abbr}}}">{{{8vs10resultvs}}}-{{{8vs10result}}}</abbr>|{{{8vs10resultvs}}}-{{{8vs10result}}}}}}}'''</td>|<td></td>}}}}<!-- |
+ | -->{{#ifeq:{{{doublerounded}}}|true|{{#if:{{{10vs9result|}}}{{{10vs9resultvs|}}}|<td class="crosstable-bgc-r{{{10vs9result|}}}-r{{{10vs9resultvs|}}}">'''{{#if:{{{10vs9link|}}}|[[{{{10vs9link}}}|<span class="crosstable-bgc-span">{{#if:{{{10vs9abbr|}}}|<abbr title="{{{10vs9abbr}}}">{{{10vs9result}}}-{{{10vs9resultvs}}}</abbr>|{{{10vs9result}}}-{{{10vs9resultvs}}}}}</span>]]|{{#if:{{{10vs9abbr|}}}|<abbr title="{{{10vs9abbr}}}">{{{10vs9result}}}-{{{10vs9resultvs}}}</abbr>|{{{10vs9result}}}-{{{10vs9resultvs}}}}}}}'''</td>|<td></td>}}|{{#if:{{{9vs10result|}}}{{{9vs10resultvs|}}}|<td class="crosstable-bgc-r{{{9vs10resultvs|}}}-r{{{9vs10result|}}}">'''{{#if:{{{9vs10link|}}}|[[{{{9vs10link}}}|<span class="crosstable-bgc-span">{{#if:{{{9vs10abbr|}}}|<abbr title="{{{9vs10abbr}}}">{{{9vs10resultvs}}}-{{{9vs10result}}}</abbr>|{{{9vs10resultvs}}}-{{{9vs10result}}}}}</span>]]|{{#if:{{{9vs10abbr|}}}|<abbr title="{{{9vs10abbr}}}">{{{9vs10resultvs}}}-{{{9vs10result}}}</abbr>|{{{9vs10resultvs}}}-{{{9vs10result}}}}}}}'''</td>|<td></td>}}}}<!-- | ||
--><td class="crosstable-bgc-cross"></td><!-- | --><td class="crosstable-bgc-cross"></td><!-- | ||
--></tr>}}<!-- | --></tr>}}<!-- |