|
|
| (11 intermediate revisions by the same user not shown) |
| Line 1: |
Line 1: |
| <noinclude>
| | <includeonly>{{#invoke:Team|history|team={{{team|{{PAGENAME}}}}}}}</includeonly> |
| Adds an automatic Tournament History table to a team page.
| |
| Usage: Place {{TeamHistory}} at the bottom of the page.
| |
| </noinclude><includeonly>
| |
| == Tournament Statistics ==
| |
| {{#cargo_query: | |
| |tables=Match_Data | |
| |fields=''=Rank, tournament, stage, COUNT(match_no)=Matches, SUM(wwcd)=WWCD, SUM(kill_pts)=Eliminations, SUM(total_pts)=Points | |
| |where=team='{{PAGENAME}}' | |
| |group by=tournament, stage
| |
| |order by=date DESC
| |
| |format=table
| |
| |headers=Rank, Tournament, Stage, Matches, WWCD, Eliminations, Total
| |
| |named args=yes
| |
| |default=<p>''No match data available for this team yet.''</p>
| |
| }}</includeonly> | |