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

Template:TeamCard: Difference between revisions

Template page
No edit summary
Tag: Reverted
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="team-card">
<includeonly>{{#invoke:TeamCard|get|team={{{name|{{PAGENAME}}}}}|image={{{image|}}}|page={{{Page|{{{page|}}}}}}}}</includeonly>
<div class="team-card-header">{{#if:{{{image|}}}|[[File:{{{image}}}|50px|link={{{team}}}]]}}[[{{{team|}}}]]
</div>
  <div class="team-card-players">
    {{#if:{{{p1|}}}|<div class="player-row">1. [[{{{p1}}}]]</div>}}
    {{#if:{{{p2|}}}|<div class="player-row">2. [[{{{p2}}}]]</div>}}
    {{#if:{{{p3|}}}|<div class="player-row">3. [[{{{p3}}}]]</div>}}
    {{#if:{{{p4|}}}|<div class="player-row">4. [[{{{p4}}}]]</div>}}
    {{#if:{{{sub|}}}|<div class="player-row" style="color:#888; font-size:0.9em;">''Sub:'' [[{{{sub}}}]]</div>}}
  </div>
</div><noinclude>[[Category:Templates]]</noinclude>
 
 
<includeonly>
<div style="width: 150px; border: 1px solid #ddd; border-radius: 8px; padding: 10px; text-align: center; box-shadow: 0 2px 4px rgba(0,0,0,0.1);">
[[File:{{#replace:{{#titleparts:{{{Page}}}|1|-1}}| |_}}.png|80px|link={{{Page}}}]]
<div style="margin-top: 10px; font-weight: bold; font-size: 1.1em;">
[[{{{Page}}}|{{#titleparts:{{{Page}}}|1|-1}}]]
</div>
</div>
</includeonly>

Latest revision as of 02:58, 25 January 2026