Difference between revisions of "Template:7sTeamCard"

From comp.tf
Jump to navigation Jump to search
m
m
Line 7: Line 7:
 
{| class="wikitable list" style="width: 250px; height: {{#expr: 192+{{#if:{{{placement|}}}|33|0}}+{{#if:{{{preview|}}}|27|0}}}}px;"  
 
{| class="wikitable list" style="width: 250px; height: {{#expr: 192+{{#if:{{{placement|}}}|33|0}}+{{#if:{{{preview|}}}|27|0}}}}px;"  
 
|-
 
|-
!width=95px|<div style="text-align: left;">{{{rolescout1|[[File:Scouticon.png|20px|link=]] [[Scout]]}}}</div>
+
!width=95px|<div style="text-align: left;">{{{rolescout1|[[File:{{{oneclass}}}icon.png|20px|link=]] [[{{{oneclass}}}]]}}}</div>
|&nbsp;{{flag|fixed-width=1|{{#if:{{{scout1flag|}}}|{{{scout1flag|filler flag}}}|filler flag}}}}&nbsp;{{#if:{{{scout1|}}}|[[{{{scout1link|{{{scout1}}}}}}|{{{scout1}}}]]|<abbr title="To Be Determined">TBD</abbr>}}&nbsp;{{#if:{{{scout1preview|}}}|[[Image:Writers_icon.png|20px|15px|link={{{scout1preview}}}|Preview]]}}
+
|&nbsp;{{flag|fixed-width=1|{{#if:{{{oneflag|}}}|{{{oneflag|filler flag}}}|filler flag}}}}&nbsp;{{#if:{{{one|}}}|[[{{{onelink|{{{one}}}}}}|{{{one}}}]]|<abbr title="To Be Determined">TBD</abbr>}}&nbsp;{{#if:{{{scout1preview|}}}|[[Image:Writers_icon.png|20px|15px|link={{{scout1preview}}}|Preview]]}}
 
|-
 
|-
 
!{{{rolescout2|<div style="text-align: left;">[[File:Scouticon.png|20px|link=]] [[Scout]]}}} </div>
 
!{{{rolescout2|<div style="text-align: left;">[[File:Scouticon.png|20px|link=]] [[Scout]]}}} </div>

Revision as of 17:45, 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=
}}