Template:ParticipantTeam: Difference between revisions
Template page
More actions
Esportsamaze (talk | contribs) No edit summary |
Esportsamaze (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
Displays a 3D Flip Card for teams. | |||
Usage: {{ParticipantTeam |team=Team Name |p1=Player1 ...}} | |||
== Cargo Declaration == | |||
{{#cargo_declare: | |||
_table = Tournament_Teams | |||
|tournament = String | |||
|team = String | |||
|p1 = String | |||
|p2 = String | |||
|p3 = String | |||
|p4 = String | |||
|p5 = String | |||
|coach = String | |||
|analyst = String | |||
}} | |||
</noinclude><includeonly> | </noinclude><includeonly> | ||
{{#cargo_store: | |||
_table = Tournament_Teams | |||
|tournament = {{#titleparts:{{PAGENAME}}|1}} | |||
|team = {{{team|}}} | |||
|p1 = {{{p1|}}} | |||
|p2 = {{{p2|}}} | |||
|p3 = {{{p3|}}} | |||
|p4 = {{{p4|}}} | |||
|p5 = {{{p5|}}} | |||
|coach = {{{coach|}}} | |||
|analyst = {{{analyst|}}} | |||
}} | |||
<div class="flip-card-container" style="width: 100%; height: 200px;" onclick=""> | |||
<div class="flip-card-inner"> | |||
<div class="flip-card-front"> | |||
<div class="img-fit" style="width:90px; height:90px; margin-bottom:10px;"> | |||
<div style="font- | {{#ifexist: File:{{{team}}}.png | [[File:{{{team}}}.png|link=]] | [[File:Shield_team.png|link=]] }} | ||
<div style=" | </div> | ||
</div> | <div style="font-weight:900; font-size:1.1em; text-transform:uppercase; line-height:1.2;">[[{{{team}}}]]</div> | ||
<div style="font-size:0.75em; opacity:0.6; margin-top:8px;"> | |||
<i class="fa-solid fa-hand-pointer"></i> Tap to view | |||
</div> | |||
</div> | |||
<div class="flip-card-back"> | |||
<div style="font-weight:bold; color:#fbbf24; border-bottom:1px solid #4a5568; padding-bottom:5px; margin-bottom:8px; font-size:0.9em; text-transform:uppercase;"> | |||
<div style=" | Active Roster | ||
</div> | |||
<div style="display:grid; grid-template-columns: 1fr 1fr; gap:4px; font-size:0.85em; text-align:left; padding-left:5px;"> | |||
{{#if:{{{p1|}}}|<div>• [[{{{p1}}}|<span style="color:#e2e8f0;">{{{p1}}}</span>]]</div>}} | |||
{{#if:{{{p2|}}}|<div>• [[{{{p2}}}|<span style="color:#e2e8f0;">{{{p2}}}</span>]]</div>}} | |||
{{#if:{{{p3|}}}|<div>• [[{{{p3}}}|<span style="color:#e2e8f0;">{{{p3}}}</span>]]</div>}} | |||
{{#if:{{{p4|}}}|<div>• [[{{{p4}}}|<span style="color:#e2e8f0;">{{{p4}}}</span>]]</div>}} | |||
{{#if:{{{p5|}}}|<div>• [[{{{p5}}}|<span style="color:#e2e8f0;">{{{p5}}}</span>]]</div>}} | |||
</div> | |||
{{#if:{{{coach|}}}{{{analyst|}}}| | |||
<div style="margin-top:10px; padding-top:5px; border-top:1px solid #4a5568; font-size:0.75em; color:#94a3b8;"> | |||
{{#if:{{{coach|}}}|<div>Coach: [[{{{coach}}}|<span style="color:#cbd5e1">{{{coach}}}</span>]]</div>}} | |||
</div> | |||
}} | |||
</div> | |||
</div> | |||
</div> | </div> | ||
</div> | </div> | ||
</includeonly> | </includeonly> | ||
Revision as of 18:56, 18 January 2026
Displays a 3D Flip Card for teams. Usage:
Cargo Declaration
This template defines the table "Tournament_Teams". View table.
