Benutzer:Cutter/tabelle 34

Aus chessmail Wiki
Wechseln zu: Navigation, Suche
{{#vardefine: TurnierID|34}}
Eingabe der TurnierdatenEingabe der Spielergebnisse

{{#vardefine: Team1SumPts | 0 }}{{#vardefine: Team2SumPts | 0 }}{{#arraydefine: team1|{{MidCLUBLIGA_{{#var:TurnierID}}}}}}{{#vardefine: sumTeam1 | 0}}{{#vardefine: sumTeam2 | 0}}{{#arraydefine: gamesplayed | {{MidCLUBLIGA_{{#var:TurnierID}}played}}}}

{{

 #loop: i
 | 0                     
 | {{#arraysize: team1}} 
 | 

{{#arraydefine: val | {{#arrayindex: team1 | {{#var:i}} }} | ;}} {{#arraydefine: res | {{#arrayindex: gamesplayed | {{#var:i}} }} | ;}} {{#arrayindex: val | 0}} {{#arrayindex: val | 1}} {{#arrayindex: val | 2}} {{#vardefine: sumTeam1 | {{#expr: ({{#var: sumTeam1}} + {{#arrayindex: val | 2}}) }} }} {{#arrayindex: val | 3}} {{#arrayindex: val | 4}} {{#arrayindex: val | 5}} {{#vardefine: sumTeam2 | {{#expr: ({{#var: sumTeam2}} + {{#arrayindex: val | 5}}) }} }} {{#arrayindex: val | 6}} {{#arrayindex: val | 7}} {{#arrayindex: val | 8}} {{#arrayindex: val | 9}} {{#arrayindex: val |10}} {{#arrayindex: val |11}} {{#arrayindex: val |12}} {{#arrayindex: res | 0}} {{#arrayindex: res | 1}}


}}

{{

 #loop: i
 | 0                     
 | {{#arraysize: team1}} 
 | 

{{#arraydefine: val | {{#arrayindex: team1| {{#var:i}} }} | ;}} {{#arraydefine: res | {{#arrayindex: gamesplayed | {{#var:i}} }} | ;}} {{#ifexpr: {{#var: i}} mod 2 = 0 | {{#vardefine: bgcolor|AliceBlue;}} | {{#vardefine: bgcolor|Snow;}}}}

{{#vardefine: Team1SumPts | {{#expr: {{#var:Team1SumPts}}+{{#arrayindex: res |0}} }} }}{{#vardefine: Team2SumPts | {{#expr: {{#var:Team2SumPts}}+{{#arrayindex: res |1}} }} }} }}
Turnierplan #34
{{#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 = Freundschaftsspiel | 1 = Wertungsspiel | Unbekannter Modus }} val |10}} RS {{#arrayindex: val |12}} {{#switch: {{#arrayindex: val | 11}} | 0 = Freundschaftsspiel | 1 = Wertungsspiel | Unbekannter Modus }} {{#arrayindex: res |0}}{{#arrayindex: res |1}} {{#vardefineecho: curgames1| {{#expr: {{#arrayindex: res |0}} + {{#arrayindex: res |1}}}} }} {{#ifexpr: {{#var: curgames1}} = 2 | Bullet black.png | Bullet pink.png }}
{{#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}}  
Meine Werkzeuge
Namensräume

Varianten
Aktionen
chessmail Wiki
Schachserver
Informationen
Werkzeuge