Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:TeamHistory: Difference between revisions

Template page
No edit summary
No edit summary
 
(14 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=tournament, stage, COUNT(match_no)=Matches, SUM(wwcd)=WWCD, SUM(kill_pts)=Kills, SUM(total_pts)=Points
|where=team='{{PAGENAME}}'
|group by=tournament, stage
|order by=date DESC
|format=template
|template=TeamHistoryRow
|named args=yes
|intro=<table class="wikitable" style="width:100%; text-align:center;">
<thead>
<tr>
  <th style="text-align:left;">Tournament</th>
  <th>Stage</th>
  <th>Matches</th>
  <th>WWCD</th>
  <th>Kills</th>
  <th>Total Pts</th>
</tr>
</thead>
<tbody>
|outro=</tbody></table>
|default=<p>''No match data available for this team yet.''</p>
}}</includeonly>

Latest revision as of 00:37, 25 January 2026