Benutzer:Cutter/tabelle 34: Unterschied zwischen den Versionen
Aus chessmail Wiki
K |
K |
||
Zeile 1: | Zeile 1: | ||
− | {{#vardefine: TurnierID| | + | {{#vardefine: TurnierID|33}}<!-- |
----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ||
--><div style="padding: 3px; text-align: right; border: 1px solid Gainsboro;"><span style="padding-right: 8px;">[[Datei:Table_gear.png|Eingabe der Turnierdaten | link={{mpCMI}}cmwiki/index.php?title=Vorlage:MidCLUBLIGA_{{#var:TurnierID}}&action=edit]]</span><span style="padding-right: 5px;">[[Datei:Table_link.png | Eingabe der Spielergebnisse | link={{mpCMI}}cmwiki/index.php?title=Vorlage:MidCLUBLIGA_{{#var:TurnierID}}played&action=edit]]</span> | --><div style="padding: 3px; text-align: right; border: 1px solid Gainsboro;"><span style="padding-right: 8px;">[[Datei:Table_gear.png|Eingabe der Turnierdaten | link={{mpCMI}}cmwiki/index.php?title=Vorlage:MidCLUBLIGA_{{#var:TurnierID}}&action=edit]]</span><span style="padding-right: 5px;">[[Datei:Table_link.png | Eingabe der Spielergebnisse | link={{mpCMI}}cmwiki/index.php?title=Vorlage:MidCLUBLIGA_{{#var:TurnierID}}played&action=edit]]</span> |
Version vom 26. Mai 2013, 16:32 Uhr
{{#vardefine: TurnierID|33}}{{#vardefine: Team1SumPts | 0 }}{{#vardefine: Team2SumPts | 0 }}{{#arraydefine: team1|{{MidCLUBLIGA_{{#var:TurnierID}}}}}}{{#vardefine: sumTeam1 | 0}}{{#vardefine: sumTeam2 | 0}}{{#arraydefine: gamesplayed | {{MidCLUBLIGA_{{#var:TurnierID}}played}}}}
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 = | 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}} |