Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:ParticipantTeam: Difference between revisions

Template page
Created page with "<noinclude> Displays a Team Card for the participants list. Hovering reveals the roster. Usage: {{ParticipantTeam |team=Team Name |p1=Player1 |p2=Player2 ... |coach=CoachName}} == Cargo Declaration == {{#cargo_declare: _table = Tournament_Teams |tournament = String |team = String |p1 = String |p2 = String |p3 = String |p4 = String |p5 = String |coach = String }} </noinclude><includeonly> {{#cargo_store: _table = Tournament_Teams |tournament = {{#titleparts:{{PAGENAME}}|1..."
 
No edit summary
Line 1: Line 1:
<noinclude>
<noinclude>
Displays a Team Card for the participants list. Hovering reveals the roster.
Displays a Team Card for the participants list. Hovering reveals the roster.
Usage: {{ParticipantTeam |team=Team Name |p1=Player1 |p2=Player2 ... |coach=CoachName}}
Usage: {{ParticipantTeam |team=Team Name |p1=Player1 |p2=Player2 ... |coach=CoachName |analyst=AnalystName}}
== Cargo Declaration ==
== Cargo Declaration ==
{{#cargo_declare:
{{#cargo_declare:
Line 13: Line 13:
|p5 = String
|p5 = String
|coach = String
|coach = String
|analyst = String
}}
}}
</noinclude><includeonly>
</noinclude><includeonly>
Line 25: Line 26:
|p5 = {{{p5|}}}
|p5 = {{{p5|}}}
|coach = {{{coach|}}}
|coach = {{{coach|}}}
|analyst = {{{analyst|}}}
}}
}}
<div class="team-card">
<div class="team-card">
Line 34: Line 36:
}}
}}
</div>
</div>
<div style="font-size:1.1em; line-height:1.2;">[[{{{team}}}]]</div>
<div style="font-size:0.95em; line-height:1.2; font-weight:bold;">[[{{{team}}}]]</div>
</div>
</div>
    
    
Line 45: Line 47:
{{#if:{{{p5|}}}|<li>[[{{{p5}}}]]</li>}}
{{#if:{{{p5|}}}|<li>[[{{{p5}}}]]</li>}}
{{#if:{{{coach|}}}|<li><small>C: [[{{{coach}}}]]</small></li>}}
{{#if:{{{coach|}}}|<li><small>C: [[{{{coach}}}]]</small></li>}}
{{#if:{{{analyst|}}}|<li><small>A: [[{{{analyst}}}]]</small></li>}}
</ul>
</ul>
</div>
</div>
</div>
</div>
</includeonly>
</includeonly>

Revision as of 16:31, 14 January 2026

Displays a Team Card for the participants list. Hovering reveals the roster. Usage:

Cargo Declaration

This template defines the table "Tournament_Teams". View table.