Difference between revisions of "Template:CrossTable"
From QWiki
m (Tweak to remove dotaicons) |
m (Tweak to remove dotaicons) |
||
Line 1: | Line 1: | ||
<includeonly><div class="table-responsive"><table class="oldtable table table-bordered table-condensed crosstable"><!-- | <includeonly><div class="table-responsive"><table class="oldtable table table-bordered table-condensed crosstable"><!-- | ||
-->{{#if:{{{team1|}}}|<tr class="crosstable-tr"><!-- | -->{{#if:{{{team1|}}}|<tr class="crosstable-tr"><!-- | ||
− | --><th> | + | --><th>{{{team1}}}</th><!-- |
--><td class="crosstable-bgc-cross"></td><!-- | --><td class="crosstable-bgc-cross"></td><!-- | ||
-->{{#if:{{{team2|}}}|{{#if:{{{1vs2result|}}}{{{1vs2resultvs|}}}|<td class="crosstable-bgc-r{{{1vs2result|}}}-r{{{1vs2resultvs|}}}">'''{{#if:{{{1vs2link|}}}|[[{{{1vs2link}}}|<span class="crosstable-bgc-span">{{#if:{{{1vs2abbr|}}}|<abbr title="{{{1vs2abbr}}}">{{{1vs2result}}}-{{{1vs2resultvs}}}</abbr>|{{{1vs2result}}}-{{{1vs2resultvs}}}}}</span>]]|{{#if:{{{1vs2abbr|}}}|<abbr title="{{{1vs2abbr}}}">{{{1vs2result}}}-{{{1vs2resultvs}}}</abbr>|{{{1vs2result}}}-{{{1vs2resultvs}}}}}}}'''</td>|<td></td>}}}}<!-- | -->{{#if:{{{team2|}}}|{{#if:{{{1vs2result|}}}{{{1vs2resultvs|}}}|<td class="crosstable-bgc-r{{{1vs2result|}}}-r{{{1vs2resultvs|}}}">'''{{#if:{{{1vs2link|}}}|[[{{{1vs2link}}}|<span class="crosstable-bgc-span">{{#if:{{{1vs2abbr|}}}|<abbr title="{{{1vs2abbr}}}">{{{1vs2result}}}-{{{1vs2resultvs}}}</abbr>|{{{1vs2result}}}-{{{1vs2resultvs}}}}}</span>]]|{{#if:{{{1vs2abbr|}}}|<abbr title="{{{1vs2abbr}}}">{{{1vs2result}}}-{{{1vs2resultvs}}}</abbr>|{{{1vs2result}}}-{{{1vs2resultvs}}}}}}}'''</td>|<td></td>}}}}<!-- | ||
Line 131: | Line 131: | ||
--></tr>}}<!-- | --></tr>}}<!-- | ||
--><tr><th></th><!-- | --><tr><th></th><!-- | ||
− | -->{{#if:{{{team1|}}}|<th>{{{team1|}}}| | + | -->{{#if:{{{team1|}}}|<th>{{{team1|}}}|</th>}}<!-- |
− | -->{{#if:{{{team2|}}}|<th>{{ | + | -->{{#if:{{{team2|}}}|<th>{{{team2|}}}|</th>}}<!-- |
− | -->{{#if:{{{team3|}}}|<th>{{ | + | -->{{#if:{{{team3|}}}|<th>{{{team3|}}}|</th>}}<!-- |
− | -->{{#if:{{{team4|}}}|<th>{{ | + | -->{{#if:{{{team4|}}}|<th>{{{team4|}}}|</th>}}<!-- |
− | -->{{#if:{{{team5|}}}|<th>{{ | + | -->{{#if:{{{team5|}}}|<th>{{{team5|}}}|</th>}}<!-- |
− | -->{{#if:{{{team6|}}}|<th>{{ | + | -->{{#if:{{{team6|}}}|<th>{{{team6|}}}|</th>}}<!-- |
− | -->{{#if:{{{team7|}}}|<th>{{ | + | -->{{#if:{{{team7|}}}|<th>{{{team7|}}}|</th>}}<!-- |
− | -->{{#if:{{{team8|}}}|<th>{{ | + | -->{{#if:{{{team8|}}}|<th>{{{team8|}}}|</th>}}<!-- |
− | -->{{#if:{{{team9|}}}|<th>{{ | + | -->{{#if:{{{team9|}}}|<th>{{{team9|}}}|</th>}}<!-- |
− | -->{{#if:{{{team10|}}}|<th>{ | + | -->{{#if:{{{team10|}}}|<th>{{{team10|}}}|</th>}}<!-- |
--></tr><!-- | --></tr><!-- | ||
--></table></div></includeonly><noinclude>{{documentation}}[[Category:Templates]]</noinclude> | --></table></div></includeonly><noinclude>{{documentation}}[[Category:Templates]]</noinclude> |