Difference between revisions of "Template:Results"

From comp.tf
Jump to navigation Jump to search
(Large optimisation of template, support for config parameter, re-support for up to 16 teams)
Line 894: Line 894:
 
{{Box|start|padding=2em}}
 
{{Box|start|padding=2em}}
 
{{#if:{{{R1G1/A|}}}{{{R1G1/B|}}}|
 
{{#if:{{{R1G1/A|}}}{{{R1G1/B|}}}|
<table class="wikitable" style="text-align:center">
+
<table class="wikitable garliccustom" style="text-align:center">
 
  <tr>
 
  <tr>
 
  <th colspan=5>Round 1</th>
 
  <th colspan=5>Round 1</th>
Line 923: Line 923:
 
-->{{#if:{{{R2G1/A|}}}{{{R2G1/B|}}}|
 
-->{{#if:{{{R2G1/A|}}}{{{R2G1/B|}}}|
 
{{Box|break|padding=2em}}
 
{{Box|break|padding=2em}}
<table class="wikitable" style="text-align:center">
+
<table class="wikitable garliccustom" style="text-align:center">
 
  <tr>
 
  <tr>
 
  <th colspan=5>Round 2</th>
 
  <th colspan=5>Round 2</th>
Line 952: Line 952:
 
-->{{#if:{{{R3G1/A|}}}{{{R3G1/B|}}}|
 
-->{{#if:{{{R3G1/A|}}}{{{R3G1/B|}}}|
 
{{Box|break|padding=2em}}
 
{{Box|break|padding=2em}}
<table class="wikitable" style="text-align:center">
+
<table class="wikitable garliccustom" style="text-align:center">
 
  <tr>
 
  <tr>
 
  <th colspan=5>Round 3</th>
 
  <th colspan=5>Round 3</th>
Line 981: Line 981:
 
-->{{#if:{{{R4G1/A|}}}{{{R4G1/B|}}}|
 
-->{{#if:{{{R4G1/A|}}}{{{R4G1/B|}}}|
 
{{Box|break|padding=2em}}
 
{{Box|break|padding=2em}}
<table class="wikitable" style="text-align:center">
+
<table class="wikitable garliccustom" style="text-align:center">
 
  <tr>
 
  <tr>
 
  <th colspan=5>Round 4</th>
 
  <th colspan=5>Round 4</th>
Line 1,010: Line 1,010:
 
-->{{#if:{{{R5G1/A|}}}{{{R5G1/B|}}}|
 
-->{{#if:{{{R5G1/A|}}}{{{R5G1/B|}}}|
 
{{Box|break|padding=2em}}
 
{{Box|break|padding=2em}}
<table class="wikitable" style="text-align:center">
+
<table class="wikitable garliccustom" style="text-align:center">
 
  <tr>
 
  <tr>
 
  <th colspan=5>Round 5</th>
 
  <th colspan=5>Round 5</th>
Line 1,039: Line 1,039:
 
-->{{#if:{{{R6G1/A|}}}{{{R6G1/B|}}}|
 
-->{{#if:{{{R6G1/A|}}}{{{R6G1/B|}}}|
 
{{Box|break|padding=2em}}
 
{{Box|break|padding=2em}}
<table class="wikitable" style="text-align:center">
+
<table class="wikitable garliccustom" style="text-align:center">
 
  <tr>
 
  <tr>
 
  <th colspan=5>Round 6</th>
 
  <th colspan=5>Round 6</th>
Line 1,068: Line 1,068:
 
-->{{#if:{{{R7G1/A|}}}{{{R7G1/B|}}}|
 
-->{{#if:{{{R7G1/A|}}}{{{R7G1/B|}}}|
 
{{Box|break|padding=2em}}
 
{{Box|break|padding=2em}}
<table class="wikitable" style="text-align:center">
+
<table class="wikitable garliccustom" style="text-align:center">
 
  <tr>
 
  <tr>
 
  <th colspan=5>Round 7</th>
 
  <th colspan=5>Round 7</th>
Line 1,097: Line 1,097:
 
-->{{#if:{{{R8G1/A|}}}{{{R8G1/B|}}}|
 
-->{{#if:{{{R8G1/A|}}}{{{R8G1/B|}}}|
 
{{Box|break|padding=2em}}
 
{{Box|break|padding=2em}}
<table class="wikitable" style="text-align:center">
+
<table class="wikitable garliccustom" style="text-align:center">
 
  <tr>
 
  <tr>
 
  <th colspan=5>Round 8</th>
 
  <th colspan=5>Round 8</th>
Line 1,126: Line 1,126:
 
-->{{#if:{{{R9G1/A|}}}{{{R9G1/B|}}}|
 
-->{{#if:{{{R9G1/A|}}}{{{R9G1/B|}}}|
 
{{Box|break|padding=2em}}
 
{{Box|break|padding=2em}}
<table class="wikitable" style="text-align:center">
+
<table class="wikitable garliccustom" style="text-align:center">
 
  <tr>
 
  <tr>
 
  <th colspan=5>Round 9</th>
 
  <th colspan=5>Round 9</th>
Line 1,155: Line 1,155:
 
-->{{#if:{{{R10G1/A|}}}{{{R10G1/B|}}}|
 
-->{{#if:{{{R10G1/A|}}}{{{R10G1/B|}}}|
 
{{Box|break|padding=2em}}
 
{{Box|break|padding=2em}}
<table class="wikitable" style="text-align:center">
+
<table class="wikitable garliccustom" style="text-align:center">
 
  <tr>
 
  <tr>
 
  <th colspan=5>Round 10</th>
 
  <th colspan=5>Round 10</th>
Line 1,184: Line 1,184:
 
-->{{#if:{{{R11G1/A|}}}{{{R11G1/B|}}}|
 
-->{{#if:{{{R11G1/A|}}}{{{R11G1/B|}}}|
 
{{Box|break|padding=2em}}
 
{{Box|break|padding=2em}}
<table class="wikitable" style="text-align:center">
+
<table class="wikitable garliccustom" style="text-align:center">
 
  <tr>
 
  <tr>
 
  <th colspan=5>Round 11</th>
 
  <th colspan=5>Round 11</th>
Line 1,213: Line 1,213:
 
-->{{#if:{{{R12G1/A|}}}{{{R12G1/B|}}}|
 
-->{{#if:{{{R12G1/A|}}}{{{R12G1/B|}}}|
 
{{Box|break|padding=2em}}
 
{{Box|break|padding=2em}}
<table class="wikitable" style="text-align:center">
+
<table class="wikitable garliccustom" style="text-align:center">
 
  <tr>
 
  <tr>
 
  <th colspan=5>Round 12</th>
 
  <th colspan=5>Round 12</th>
Line 1,242: Line 1,242:
 
-->{{#if:{{{R13G1/A|}}}{{{R13G1/B|}}}|
 
-->{{#if:{{{R13G1/A|}}}{{{R13G1/B|}}}|
 
{{Box|break|padding=2em}}
 
{{Box|break|padding=2em}}
<table class="wikitable" style="text-align:center">
+
<table class="wikitable garliccustom" style="text-align:center">
 
  <tr>
 
  <tr>
 
  <th colspan=5>Round 13</th>
 
  <th colspan=5>Round 13</th>
Line 1,271: Line 1,271:
 
-->{{#if:{{{R14G1/A|}}}{{{R14G1/B|}}}|
 
-->{{#if:{{{R14G1/A|}}}{{{R14G1/B|}}}|
 
{{Box|break|padding=2em}}
 
{{Box|break|padding=2em}}
<table class="wikitable" style="text-align:center">
+
<table class="wikitable garliccustom" style="text-align:center">
 
  <tr>
 
  <tr>
 
  <th colspan=5>Round 14</th>
 
  <th colspan=5>Round 14</th>
Line 1,300: Line 1,300:
 
-->{{#if:{{{R15G1/A|}}}{{{R15G1/B|}}}|
 
-->{{#if:{{{R15G1/A|}}}{{{R15G1/B|}}}|
 
{{Box|break|padding=2em}}
 
{{Box|break|padding=2em}}
<table class="wikitable" style="text-align:center">
+
<table class="wikitable garliccustom" style="text-align:center">
 
  <tr>
 
  <tr>
 
  <th colspan=5>Round 15</th>
 
  <th colspan=5>Round 15</th>
Line 1,329: Line 1,329:
 
-->{{#if:{{{R16G1/A|}}}{{{R16G1/B|}}}|
 
-->{{#if:{{{R16G1/A|}}}{{{R16G1/B|}}}|
 
{{Box|break|padding=2em}}
 
{{Box|break|padding=2em}}
<table class="wikitable" style="text-align:center">
+
<table class="wikitable garliccustom" style="text-align:center">
 
  <tr>
 
  <tr>
 
  <th colspan=5>Round 16</th>
 
  <th colspan=5>Round 16</th>

Revision as of 15:59, 6 May 2020

Pos Team W D L