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
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
Displays an Ultra-Compact 3D Flip Card (150x200).
Displays a Responsive Roster Card (Mobile Friendly).
Usage: {{ParticipantTeam |team=Team Name |p1=Player1 ...}}
Usage: {{ParticipantTeam |team=Team Name |seeding=Invited |p1=Player1 ...}}
== Cargo Declaration ==
== Cargo Declaration ==
{{#cargo_declare:
{{#cargo_declare:
Line 7: Line 7:
|tournament = String
|tournament = String
|team = String
|team = String
|seeding = String
|p1 = String
|p1 = String
|p2 = String
|p2 = String
Line 12: Line 13:
|p4 = String
|p4 = String
|p5 = String
|p5 = String
|p6 = String
|coach = String
|coach = String
|analyst = String
|analyst = String
}}
}}
</noinclude><includeonly>
</noinclude><includeonly>{{#cargo_store:
{{#cargo_store:
_table = Tournament_Teams
_table = Tournament_Teams
|tournament = {{#titleparts:{{PAGENAME}}|1}}
|tournament = {{{tournament|{{#titleparts:{{PAGENAME}}|1|3}} }}}
|team = {{{team|}}}
|team = {{{team|}}}
|seeding = {{{seeding|}}}
|p1 = {{{p1|}}}
|p1 = {{{p1|}}}
|p2 = {{{p2|}}}
|p2 = {{{p2|}}}
Line 25: Line 27:
|p4 = {{{p4|}}}
|p4 = {{{p4|}}}
|p5 = {{{p5|}}}
|p5 = {{{p5|}}}
|p6 = {{{p6|}}}
|coach = {{{coach|}}}
|coach = {{{coach|}}}
|analyst = {{{analyst|}}}
|analyst = {{{analyst|}}}
}}
}}{{#invoke:Participant|card|team={{{team|}}}|seeding={{{seeding|}}}|p1={{{p1|}}}|p2={{{p2|}}}|p3={{{p3|}}}|p4={{{p4|}}}|p5={{{p5|}}}|p6={{{p6|}}}|coach={{{coach|}}}|analyst={{{analyst|}}}}}</includeonly>
 
<div class="flip-card-container" onclick="this.classList.toggle('flipped')">
<div class="flip-card-inner">
   
<div class="flip-card-front">
<div class="img-fit" style="width:65px; height:65px; margin-bottom:8px;">
{{#ifexist: File:{{{team}}}.png | [[File:{{{team}}}.png|link=]] | [[File:Shield_team.png|link=]] }}
</div>
<div style="font-weight:900; font-size:0.9em; text-transform:uppercase; line-height:1.1; padding:0 5px; word-wrap:break-word;">[[{{{team}}}]]</div>
<div style="font-size:0.65em; opacity:0.6; margin-top:5px; color:var(--text-muted);">
<i class="fa-solid fa-hand-pointer"></i> Tap
</div>
</div>
 
<div class="flip-card-back">
     
<div style="font-weight:bold; color:var(--text-header); border-bottom:1px solid var(--border-light); padding-bottom:3px; width:95%; text-align:center; font-size:0.7em; text-transform:uppercase;">
Active Roster
</div>
     
<div style="display:flex; flex-direction:column; justify-content:center; gap:0px; font-size:0.8em; width:100%; text-align:center; flex-grow:1; overflow:hidden; white-space:nowrap;">
{{#if:{{{p1|}}}|<div>[[{{{p1}}}]]</div>}}
{{#if:{{{p2|}}}|<div>[[{{{p2}}}]]</div>}}
{{#if:{{{p3|}}}|<div>[[{{{p3}}}]]</div>}}
{{#if:{{{p4|}}}|<div>[[{{{p4}}}]]</div>}}
{{#if:{{{p5|}}}|<div>[[{{{p5}}}]]</div>}}
</div>
 
{{#if:{{{coach|}}}{{{analyst|}}}|
<div style="border-top:1px solid var(--border-light); padding-top:2px; font-size:0.7em; width:98%; color:var(--text-muted); text-align:center; line-height:1.2; overflow:hidden; white-space:nowrap;">
{{#if:{{{coach|}}}|<div>C: [[{{{coach}}}]]</div>}}
{{#if:{{{analyst|}}}|<div>A: [[{{{analyst}}}]]</div>}}
</div>
}}
     
</div>
 
</div>
</div>
</includeonly>

Latest revision as of 01:42, 25 January 2026

Displays a Responsive Roster Card (Mobile Friendly).

Usage:

Cargo Declaration

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