Benutzer:Cutter/tabelle 34
Aus chessmail Wiki
{{#vardefine: TurnierID|34}}
{{#vardefine: Team1SumPts | 0 }}{{#vardefine: Team2SumPts | 0 }}{{#arraydefine: team1|{{MidCLUBLIGA_{{#var:TurnierID}}}}}}{{#vardefine: sumTeam1 | 0}}{{#vardefine: sumTeam2 | 0}}{{#arraydefine: gamesplayed | {{MidCLUBLIGA_{{#var:TurnierID}}played}}}}
{{#vardefine: Team1SumPts | 0 }}{{#vardefine: Team2SumPts | 0 }}{{#arraydefine: team1|{{MidCLUBLIGA_{{#var:TurnierID}}}}}}{{#vardefine: sumTeam1 | 0}}{{#vardefine: sumTeam2 | 0}}{{#arraydefine: gamesplayed | {{MidCLUBLIGA_{{#var:TurnierID}}played}}}}
Turnierplan #33 | ||||||||||||||
{{#arrayindex: val | 0}} | val | 1}} {{#arrayindex: val | 1}} | {{#number_format: {{#arrayindex: val | 2}}|0|,|.|}} | val | 4}} {{#arrayindex: val | 4}} | {{#number_format: {{#arrayindex: val | 5}} |0|,|.}} | val | 7}} HS | {{#arrayindex: val | 9}} | {{#switch: {{#arrayindex: val | 8}} | 0 = | 1 = | }} | val |10}} RS | {{#arrayindex: val |12}} | {{#switch: {{#arrayindex: val | 11}} | 0 = | 1 = | }} | {{#arrayindex: res |0}} | {{#vardefine: Team1SumPts | {{#expr: {{#var:Team1SumPts}}+{{#arrayindex: res |0}} }} }}{{#vardefine: Team2SumPts | {{#expr: {{#var:Team2SumPts}}+{{#arrayindex: res |1}} }} }}{{#arrayindex: res |1}} | {{#vardefineecho: curgames1| {{#expr: {{#arrayindex: res |0}} + {{#arrayindex: res |1}}}} }} | {{#ifexpr: {{#var: curgames1}} = 2 | | }} |
{{#arraysize: team1}} | {{#number_format: {{#var: sumTeam1}}|0|,|.|}} | {{#number_format: {{#var: sumTeam2}} |0|,|.}} | {{#number_format: {{#var:Team1SumPts}} |0|,|.}} | {{#number_format: {{#var: Team2SumPts}} |0|,|.}} | {{#vardefineecho: PtsSoFar|{{#expr: {{#var:Team1SumPts}}+{{#var:Team2SumPts}}}}}} | {{#expr: 2 * {{#arraysize: team1}} }} | ||||||||
{{#number_format: {{#expr: {{#var: sumTeam1}}-{{#var: sumTeam2}} }} |0|,|.}} | {{#expr: abs( {{#var: sumTeam1}} div ({{#var: sumTeam1}} + {{#var: sumTeam2}})) round 2}} |