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
Line 8: Line 8:
|table=Tournament_Prizes
|table=Tournament_Prizes
|fields=tournament, place, money
|fields=tournament, place, money
|where=team='{{PAGENAME}}'
|where=team='{{#titleparts:{{PAGENAME}}|1|-1}}'
|order by=money DESC
|order by=money DESC
|limit=10
|limit=10
|format=template
|format=template
|template=TeamPrizeHistoryRow
|template=TeamPrizeHistoryRow
|intro=<table class="wikitable flat-table" style="width:500px; text-align:center;"><tr><th style="text-align:left;">Tournament</th><th>Ranked</th><th style="text-align:right;">Prize Money</th></tr>
|named args=yes
|intro=<table class="wikitable flat-table" style="width:100%; max-width:600px; text-align:center;"><tr><th style="text-align:left;">Tournament</th><th>Ranked</th><th style="text-align:right;">Prize Money</th></tr>
|outro=</table>
|outro=</table>
|default=<p>''No prize data recorded for this team.''</p>}}</includeonly>
|default=<div style="padding:15px; color:#666;">No prize data recorded for this team yet.</div>
}}
</includeonly>

Revision as of 04:13, 13 January 2026

Displays a team's prize money history and total earnings. Usage:

Earnings History

Error 1054: Unknown column 'team' in 'WHERE'

Function: CargoSQLQuery::run Query: SELECT `Tournament_Prizes`.`_pageID` AS `cargo_backlink_page_id_Tournament_Prizes`,`tournament` AS `tournament`,`place` AS `place`,`money` AS `money` FROM `cargo__Tournament_Prizes` `Tournament_Prizes` WHERE team='TeamPrizeHistory' ORDER BY `money` DESC LIMIT 100