Template:TeamHistory: Difference between revisions
Template page
More actions
Esportsamaze (talk | contribs) No edit summary |
Esportsamaze (talk | contribs) No edit summary |
||
| Line 6: | Line 6: | ||
{{#cargo_query: | {{#cargo_query: | ||
|tables=Match_Data | |tables=Match_Data | ||
|fields=tournament, stage, COUNT(match_no)=Matches, SUM(wwcd)=WWCD, SUM(kill_pts)= | |fields=''=Rank, tournament, stage, COUNT(match_no)=Matches, SUM(wwcd)=WWCD, SUM(kill_pts)=Eliminations, SUM(total_pts)=Points | ||
|where=team='{{PAGENAME}}' | |where=team='{{PAGENAME}}' | ||
|group by=tournament, stage | |group by=tournament, stage | ||
| Line 12: | Line 12: | ||
|format=template | |format=template | ||
|template=TeamHistoryRow | |template=TeamHistoryRow | ||
|format=table | |||
|headers=Rank, Tournament, Stage, Matches, WWCD, Eliminations, Total | |||
|named args=yes | |named args=yes | ||
|default=<p>''No match data available for this team yet.''</p> | |default=<p>''No match data available for this team yet.''</p> | ||
}}</includeonly> | }}</includeonly> | ||
Revision as of 19:35, 9 January 2026
Adds an automatic Tournament History table to a team page. Usage: Place
Tournament Statistics
Error: Table Match_Data not found.
at the bottom of the page.