Template:TeamHistory: Difference between revisions
Template page
More actions
Esportsamaze (talk | contribs) No edit summary |
Esportsamaze (talk | contribs) No edit summary |
||
| Line 5: | Line 5: | ||
== Tournament Statistics == | == Tournament Statistics == | ||
{{#cargo_query: | {{#cargo_query: | ||
|tables= | |tables=Stage_Standings | ||
|fields=tournament, stage, | |fields=tournament, stage, rank, matches_played=Matches, wins=WWCD, kill_pts=Eliminations, total_pts=Points | ||
|where=team='{{PAGENAME}}' | |where=team='{{PAGENAME}}' | ||
|order by=date DESC | |order by=date DESC | ||
|format=template | |format=template | ||
|template=TeamHistoryRow | |template=TeamHistoryRow | ||
|named args=yes | |named args=yes | ||
|intro=<table class="wikitable | |intro=<table class="wikitable flat-table" style="width:100%; text-align:center;"> | ||
<tr> | <tr> | ||
<th style="text-align:left;">Tournament</th> | <th style="text-align:left;">Tournament</th> | ||
<th>Stage</th> | <th>Stage</th> | ||
<th>Rank</th> | |||
<th>Matches</th> | <th>Matches</th> | ||
<th>WWCD</th> | <th>WWCD</th> | ||
| Line 24: | Line 23: | ||
</tr> | </tr> | ||
|outro=</table> | |outro=</table> | ||
|default=<p>''No | |default=<p>''No data available for this team yet.''</p> | ||
}}</includeonly> | }}</includeonly> | ||
Revision as of 05:10, 11 January 2026
Adds an automatic Tournament History table to a team page. Usage: Place
Tournament Statistics
Error: Table Stage_Standings not found.
at the bottom of the page.