Template:TeamData: Difference between revisions
Template page
More actions
Esportsamaze (talk | contribs) Created page with "Template:TeamData <!-- Stores team data to Cargo. No display output. --> <!-- Identical parameters to {{Infobox Team}} for easy migration. --> <includeonly> {{DISPLAYTITLE:{{SUBPAGENAME}}}} {{#cargo_store: _table = Teams |name = {{{name|{{PAGENAME}}}}} |display_name = {{{display_name|}}} |short_code = {{{short_code|}}} |game = {{{game|}}} |image = {{{image|}}} |image_dark = {{{image_dark|}}} |country = {{{country|}}} |status =..." |
Esportsamaze (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
<!-- Stores team data to Cargo. No display output. --> | <!-- Stores team data to Cargo. No display output. --> | ||
<!-- Identical parameters to {{Infobox Team}} for easy migration. --> | <!-- Identical parameters to {{Infobox Team}} for easy migration. --> | ||
Latest revision as of 03:20, 9 March 2026
Template:TeamData
Stores team data to the Teams Cargo table. Produces no visible output. Place this at the top of a team page, followed by
TeamData
Team Info
👥 Active Roster
No active roster data found.
🏆 Achievements
No achievements recorded.
.
Migration from Infobox Team
Replace:
{{Infobox Team
|name = Team SouL
|display_name = iQOO SouL
...
}}
With:
{{TeamData
|name = Team SouL
|display_name = iQOO SouL
...
}}
{{TeamDashboard}}
Parameters
All parameters are identical to Infobox Team.
| Parameter | Description | Example |
|---|---|---|
| name | Page key for Cargo lookups. Defaults to TeamData | Team SouL |
| display_name | Shown name (sponsor prefix etc.) | iQOO SouL |
| short_code | Team abbreviation/tag | SOL |
| game | Primary game | BGMI |
| image | Light mode logo filename | TeamSoul.png |
| image_dark | Dark mode logo filename | TeamSoul_dark.png |
| country | Country name | India |
| status | Active / Inactive / Disbanded | Active |
| sponsors | Comma separated sponsor names | iQOO, boAt |
| Handle or full URL | teamsoul | |
| Handle or full URL | TeamSouL | |
| youtube | Handle or full URL | TeamSouL |
| Handle or full URL | TeamSouL | |
| discord | Invite code or full URL | teamsoul |
| website | Full URL | https://teamsoul.in |
Notes
- The #cargo_declare for the Teams table remains in
— do not delete that template.
- Never use
and
on the same page — they both write to the same Cargo table.
- After creating this template, null-save a few team pages to repopulate Cargo.