Template:Division champions block: Difference between revisions

Include TeamID in champions query
Use stored podium metadata in champions query
 
Line 7: Line 7:
   tables=Podiums
   tables=Podiums
   |where=Tournament = "{{PAGENAME}}" AND Division = "{{{Division}}}"
   |where=Tournament = "{{PAGENAME}}" AND Division = "{{{Division}}}"
   |fields=Place, Team, TeamID
   |fields=Place, Team, TeamName, ShortPlayers
   |order by=Place
   |order by=Place
   |format=template
   |format=template