Template:Infobox Team: Difference between revisions
Template page
More actions
Esportsamaze (talk | contribs) No edit summary Tag: Reverted |
Esportsamaze (talk | contribs) No edit summary Tag: Manual revert |
||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
This is the Infobox Team template. | |||
== Cargo Declaration == | == Cargo Declaration == | ||
{{#cargo_declare: | {{#cargo_declare: | ||
| Line 5: | Line 6: | ||
|name = String | |name = String | ||
|short_code = String | |short_code = String | ||
|other_team = String | |||
|image = File | |image = File | ||
|country = String | |country = String | ||
|sponsors = List (,) of String | |sponsors = List (,) of String | ||
|earnings = Integer | |earnings = Integer | ||
}} | }} | ||
</noinclude><includeonly>{{# | </noinclude><includeonly>{{#cargo_store: | ||
_table = Teams | |||
|name = {{{name|{{PAGENAME}}}}} | |||
|short_code = {{{short_code|}}} | |||
|other_team = {{{other_team|}}} | |||
|image = {{{image|}}} | |||
|country = {{{country|}}} | |||
|sponsors = {{{sponsors|}}} | |||
|earnings = {{{earnings|}}} | |||
}}<div class="infobox"> | |||
<div class="infobox-header">{{{name|{{PAGENAME}}}}}</div> | |||
{{#if:{{{image|}}}| | |||
<div class="infobox-image">[[File:{{{image}}}|200px]]</div> | |||
}} | |||
<div class="infobox-data-container"> | |||
{{#if:{{{other_team|}}}| | |||
<div class="infobox-row"> | |||
<div class="infobox-label">Name</div> | |||
<div class="infobox-data">{{{other_team}}}</div> | |||
</div> | |||
}} | |||
{{#if:{{{short_code|}}}| | |||
<div class="infobox-row"> | |||
<div class="infobox-label">Short Code</div> | |||
<div class="infobox-data">{{{short_code}}}</div> | |||
</div> | |||
}} | |||
{{#if:{{{country|}}}| | |||
<div class="infobox-row"> | |||
<div class="infobox-label">Country</div> | |||
<div class="infobox-data">{{{country}}}</div> | |||
</div> | |||
}} | |||
{{#if:{{{sponsors|}}}| | |||
<div class="infobox-row"> | |||
<div class="infobox-label">Sponsors</div> | |||
<div class="infobox-data">{{{sponsors}}}</div> | |||
</div> | |||
}} | |||
<div class="infobox-row"> | |||
<div class="infobox-label">Total Earnings</div> | |||
<div class="infobox-data"><span class="indian-currency">{{#cargo_query:|tables=Tournament_Prizes|fields=SUM(money)=TotalPrize|where=team='{{PAGENAME}}'|format=list|default=0|no html}}</span></div> | |||
</div> | |||
</div> | |||
</div> | |||
[[Category:Teams]]</includeonly> | |||
Revision as of 22:15, 10 January 2026
This is the Infobox Team template.
Cargo Declaration
This template defines the table "Teams". View table.