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

Template:TeamPrizeHistory: Difference between revisions

Template page
No edit summary
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<includeonly>{{#invoke:PrizePool|history|team={{{team|{{PAGENAME}}}}}}}</includeonly>
Displays a team's prize money history and total earnings.
Usage: {{TeamPrizeHistory}}
</noinclude><includeonly>
== Earnings History ==
{{#cargo_query:
|table=Tournament_Prizes
|fields=SUM(money)=TotalWinnings
|where=team='{{PAGENAME}}'
|format=template
|template=TotalEarningsDisplay
}}
 
{{#cargo_query:
|table=Tournament_Prizes
|fields=tournament, place, money
|where=team='{{PAGENAME}}'
|order by=money DESC
|limit=10
|format=template
|template=TeamPrizeHistoryRow
|named args=yes  <-- THIS WAS MISSING!
|intro=<table class="wikitable flat-table" style="width:100%; text-align:center;">
<tr>
  <th style="text-align:left;">Tournament</th>
  <th>Place</th>
  <th style="text-align:right;">Prize Money</th>
</tr>
|outro=</table>
|default=<p>''No prize data recorded for this team.''</p>
}}
</includeonly>

Latest revision as of 00:32, 25 January 2026