|
|
| (13 intermediate revisions by the same user not shown) |
| Line 1: |
Line 1: |
| <noinclude> | | <noinclude> |
| INNOVATIVE: Game Lobby Style. Players appearing as vertical operator cards.
| | Displays a Responsive Roster Card (Mobile Friendly). |
| </noinclude><includeonly> | | Usage: {{ParticipantTeam |team=Team Name |seeding=Invited |p1=Player1 ...}} |
| <div class="lobby-card" style="background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-header) 100%); border: 1px solid var(--border-light); border-radius: 12px; margin-bottom: 20px; overflow: hidden; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);">
| | == Cargo Declaration == |
|
| | {{#cargo_declare: |
| <div style="padding: 10px 15px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border-light);">
| | _table = Tournament_Teams |
| <div style="font-weight: 900; font-size: 1.1em;">[[{{{team}}}]]</div>
| | |tournament = String |
| <div style="width: 30px;">[[File:{{{team}}}.png|30px|link=]]</div>
| | |team = String |
| </div>
| | |seeding = String |
| | | |p1 = String |
| <div style="display: flex; gap: 4px; padding: 10px; overflow-x: auto; scrollbar-width: none;">
| | |p2 = String |
|
| | |p3 = String |
| {{#if:{{{p1|}}}|
| | |p4 = String |
| <div style="flex: 1; min-width: 60px; height: 80px; background: #3b82f6; border-radius: 6px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 5px; position: relative;">
| | |p5 = String |
| <div style="font-size: 0.8em; font-weight: bold; color: white; text-shadow: 0 1px 2px rgba(0,0,0,0.8); z-index: 2;">[[{{{p1}}}|<span style="color:white">{{{p1}}}</span>]]</div>
| | |p6 = String |
| <div style="position:absolute; top:0; left:0; right:0; height:100%; background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.6) 100%); border-radius:6px;"></div>
| | |coach = String |
| </div>}}
| | |analyst = String |
| | | }} |
| {{#if:{{{p2|}}}|
| | </noinclude><includeonly>{{#cargo_store: |
| <div style="flex: 1; min-width: 60px; height: 80px; background: #6366f1; border-radius: 6px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 5px; position: relative;">
| | _table = Tournament_Teams |
| <div style="font-size: 0.8em; font-weight: bold; color: white; text-shadow: 0 1px 2px rgba(0,0,0,0.8); z-index: 2;">[[{{{p2}}}|<span style="color:white">{{{p2}}}</span>]]</div>
| | |tournament = {{{tournament|{{#titleparts:{{PAGENAME}}|1|3}} }}} |
| <div style="position:absolute; top:0; left:0; right:0; height:100%; background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.6) 100%); border-radius:6px;"></div>
| | |team = {{{team|}}} |
| </div>}}
| | |seeding = {{{seeding|}}} |
| | | |p1 = {{{p1|}}} |
| {{#if:{{{p3|}}}|
| | |p2 = {{{p2|}}} |
| <div style="flex: 1; min-width: 60px; height: 80px; background: #8b5cf6; border-radius: 6px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 5px; position: relative;">
| | |p3 = {{{p3|}}} |
| <div style="font-size: 0.8em; font-weight: bold; color: white; text-shadow: 0 1px 2px rgba(0,0,0,0.8); z-index: 2;">[[{{{p3}}}|<span style="color:white">{{{p3}}}</span>]]</div>
| | |p4 = {{{p4|}}} |
| <div style="position:absolute; top:0; left:0; right:0; height:100%; background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.6) 100%); border-radius:6px;"></div>
| | |p5 = {{{p5|}}} |
| </div>}}
| | |p6 = {{{p6|}}} |
| | | |coach = {{{coach|}}} |
| {{#if:{{{p4|}}}|
| | |analyst = {{{analyst|}}} |
| <div style="flex: 1; min-width: 60px; height: 80px; background: #ec4899; border-radius: 6px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 5px; position: relative;">
| | }}{{#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 style="font-size: 0.8em; font-weight: bold; color: white; text-shadow: 0 1px 2px rgba(0,0,0,0.8); z-index: 2;">[[{{{p4}}}|<span style="color:white">{{{p4}}}</span>]]</div>
| |
| <div style="position:absolute; top:0; left:0; right:0; height:100%; background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.6) 100%); border-radius:6px;"></div>
| |
| </div>}}
| |
| | |
| </div>
| |
| </div>
| |
| </includeonly> | |
Displays a Responsive Roster Card (Mobile Friendly).
Usage:
Cargo Declaration
This template defines the table "Tournament_Teams". View table.