Template:TeamDashboard: Difference between revisions
Template page
More actions
Esportsamaze (talk | contribs) Created page with "Template:TeamDashboard <!-- Renders the full team dashboard. Place on any team page. --> <!-- Accepts optional manual roster overrides (same params as Team|roster). --> <includeonly>{{#invoke:TeamDashboard|main |player1={{{player1|}}} |name1={{{name1|}}} |role1={{{role1|}}} |image1={{{image1|}}} |player2={{{player2|}}} |name2={{{name2|}}} |role2={{{role2|}}} |image2={{{image2|}}} |player3={{{player3|}}} |name3={{{name3|}}} |role3={{{role3|}}} |image3={{{image3|}}} |playe..." |
Esportsamaze (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
<!-- Renders the full team dashboard. Place on any team page. --> | <!-- Renders the full team dashboard. Place on any team page. --> | ||
<!-- Accepts optional manual roster overrides (same params as Team|roster). --> | <!-- Accepts optional manual roster overrides (same params as Team|roster). --> | ||
Latest revision as of 03:20, 9 March 2026
Template:TeamDashboard
Renders the full-width team dashboard on a team page. All data is read from Cargo automatically using the current page name. Manual roster entries can be passed as parameters (same as Template:Team).
Usage
Basic (auto roster from DB):
{{TeamDashboard}}
With manual roster overrides:
{{TeamDashboard
|player1=Aurum |name1=Pratik Mehra |role1=Coach |image1=Defaultplayer.png
|player2=Nub |name2=- |role2=Analyst
}}
What it displays
- Hero: team logo, display name, status/game/rank tags, total earnings
- Left panel: country, game, tag, rank, earnings, sponsors, socials
- Right panel:
- Active Roster (player cards, same design as existing roster)
- Former Players (tabbed by year of departure)
- Achievements (date/tier/tournament/place/prize table)
Migration from existing sections
Replace these two sections on your team page:
== Active Roster ==
{{#invoke:Team|roster|player1=...|role1=...}}
== Former Players ==
{{#invoke:Team|formerPlayers}}
With:
{{TeamDashboard|player1=...|role1=...}}