Difference between revisions of "Template:7sTeamCard"

From comp.tf
Jump to navigation Jump to search
(Created page with "<includeonly><div class="teamcard" style="position:relative; width:250px; height:{{#expr:279+{{#if:{{{placement|}}}|33|0}}+{{#if:{{{preview|}}}|27|0}}}}px;"> <center>{{#if:{{{...")
 
m
Line 1: Line 1:
<includeonly><div class="teamcard" style="position:relative; width:250px; height:{{#expr:279+{{#if:{{{placement|}}}|33|0}}+{{#if:{{{preview|}}}|27|0}}}}px;">
+
<includeonly><div class="teamcard" style="position:relative; width:250px; height:{{#expr:187+{{#if:{{{placement|}}}|33|0}}+{{#if:{{{preview|}}}|27|0}}}}px;">
 
<center>{{#if:{{{team|}}}|'''[[{{{link|{{{team}}}}}}|{{{team}}}]]'''|'''TBD'''}}{{#if:{{{notes|}}}|<sup>{{{notes|&nbsp;}}}</sup>}}{{{ref|}}}</center>
 
<center>{{#if:{{{team|}}}|'''[[{{{link|{{{team}}}}}}|{{{team}}}]]'''|'''TBD'''}}{{#if:{{{notes|}}}|<sup>{{{notes|&nbsp;}}}</sup>}}{{{ref|}}}</center>
{| class="wikitable logo" style="width: 250px; height: {{#expr: 249+{{#if:{{{placement|}}}|33|0}}+{{#if:{{{preview|}}}|27|0}}}}px;"
+
{| class="wikitable logo" style="width: 250px; height: {{#expr: 193+{{#if:{{{placement|}}}|33|0}}+{{#if:{{{preview|}}}|27|0}}}}px;"
 
|-
 
|-
 
|[[{{#if:{{{image|}}}|File:{{#ifeq:{{{image|}}}| |Generic_Logo.png|{{{image}}}}}|{{#ifeq:{{{team|}}}||File:Generic_Logo.png|{{#show: {{{team}}}|?has image|default=File:Generic_Logo.png|link=none}}}}}}|{{#if:{{{imagesize|}}}|{{{imagesize}}}|140x140px}}|center|link=]]
 
|[[{{#if:{{{image|}}}|File:{{#ifeq:{{{image|}}}| |Generic_Logo.png|{{{image}}}}}|{{#ifeq:{{{team|}}}||File:Generic_Logo.png|{{#show: {{{team}}}|?has image|default=File:Generic_Logo.png|link=none}}}}}}|{{#if:{{{imagesize|}}}|{{{imagesize}}}|140x140px}}|center|link=]]

Revision as of 17:26, 26 November 2016

(view - edit) Documentation

Example

{{7sTeamCard
|team=froyotech
|image=Froyotech Logo.png
|imagesize=140x140px
|one=b4nny |oneflag=us |oneclass=Scout
|two=blaze |fourflag=ca|fourclass=Soldier
|three=Hassassin |sixflag=us |sixclass=Demoman
|four=Freestate |fiveflag=us |fiveclass=Heavy
|five=CookieJake |sevenflag=us |sevenclass=Medic
|six=corsa|twoflag=us |twoclass=Sniper
|seven=paddie |threeflag=ca|threeclass=Spy
|notes=
}}


Code

Typical
{{7sTeamCard
|team=
|image=
|one= |oneflag= |oneclass=
|two= |twoflag= |twoclass=
|three= |threeflag= |threeclass=
|four= |fourflag= |fourclass=
|five= |fiveflag= |fiveclass=
|six= |sixflag= |sixclass=
|seven= |sevenflag= |sevenclass=
|qualifier=
}}