Difference between revisions of "Template:7sTeamCard"

From comp.tf
Jump to navigation Jump to search
m
m
Line 13: Line 13:
 
|&nbsp;{{flag|fixed-width=1|{{#if:{{{twoflag|}}}|{{{twoflag|filler flag}}}|filler flag}}}}&nbsp;{{#if:{{{two|}}}|[[{{{twolink|{{{two}}}}}}|{{{two}}}]]|<abbr title="To Be Determined">TBD</abbr>}}
 
|&nbsp;{{flag|fixed-width=1|{{#if:{{{twoflag|}}}|{{{twoflag|filler flag}}}|filler flag}}}}&nbsp;{{#if:{{{two|}}}|[[{{{twolink|{{{two}}}}}}|{{{two}}}]]|<abbr title="To Be Determined">TBD</abbr>}}
 
|-
 
|-
!{{{roleroamer|<div style="text-align: left;">[[File:Soldiericon.png|20px|link=]] [[Roamer]]}}}</div>
+
!<div style="text-align: left;">[[File:{{{threeclass}}}icon.png|20px|link=]] [[{{{threeclass}}}]]</div>
{{!}}&nbsp;{{flag|fixed-width=1|{{#if:{{{roamerflag|}}}|{{{roamerflag|filler flag}}}|filler flag}}}}&nbsp;{{#if:{{{roamer|}}}|[[{{{roamerlink|{{{roamer}}}}}}|{{{roamer}}}]]|<abbr title="To Be Determined">TBD</abbr>}}
+
{{!}}&nbsp;{{flag|fixed-width=1|{{#if:{{{threeflag|}}}|{{{threeflag|filler flag}}}|filler flag}}}}&nbsp;{{#if:{{{three|}}}|[[{{{threelink|{{{three}}}}}}|{{{three}}}]]|<abbr title="To Be Determined">TBD</abbr>}}
 
|-
 
|-
!{{{rolepocket|<div style="text-align: left;">[[File:Soldiericon.png|20px|link=]] [[Pocket]]}}}</div>
+
!<div style="text-align: left;">[[File:{{{fourclass}}}icon.png|20px|link=]] [[{{{fourclass}}}]]</div>
{{!}}&nbsp;{{flag|fixed-width=1|{{#if:{{{pocketflag|}}}|{{{pocketflag|filler flag}}}|filler flag}}}}&nbsp;{{#if:{{{pocket|}}}|[[{{{pocketlink|{{{pocket}}}}}}|{{{pocket}}}]]|<abbr title="To Be Determined">TBD</abbr>}}
+
{{!}}&nbsp;{{flag|fixed-width=1|{{#if:{{{fourflag|}}}|{{{fourflag|filler flag}}}|filler flag}}}}&nbsp;{{#if:{{{four|}}}|[[{{{fourlink|{{{four}}}}}}|{{{four}}}]]|<abbr title="To Be Determined">TBD</abbr>}}
 
|-
 
|-
!{{{roledemoman|<div style="text-align: left;">[[File:Demomanicon.png|20px|link=]] [[Demoman]]}}}</div>
+
!<div style="text-align: left;">[[File:{{{fiveclass}}}icon.png|20px|link=]] [[{{{fiveclass}}}]]</div>
{{!}}&nbsp;{{flag|fixed-width=1|{{#if:{{{demomanflag|}}}|{{{demomanflag|filler flag}}}|filler flag}}}}&nbsp;{{#if:{{{demoman|}}}|[[{{{demomanlink|{{{demoman}}}}}}|{{{demoman}}}]]|<abbr title="To Be Determined">TBD</abbr>}}
+
{{!}}&nbsp;{{flag|fixed-width=1|{{#if:{{{fiveflag|}}}|{{{fiveflag|filler flag}}}|filler flag}}}}&nbsp;{{#if:{{{five|}}}|[[{{{fivelink|{{{five}}}}}}|{{{five}}}]]|<abbr title="To Be Determined">TBD</abbr>}}
 
|-
 
|-
!{{{rolemedic|<div style="text-align: left;">[[File:Medicicon.png|20px|link=]] [[Medic]]}}}</div>
+
!<div style="text-align: left;">[[File:{{{sixclass}}}icon.png|20px|link=]] [[{{{sixclass}}}]]</div>
{{!}} &nbsp;{{flag|fixed-width=1|{{#if:{{{medicflag|}}}|{{{medicflag|filler flag}}}|filler flag}}}}&nbsp;{{#if:{{{medic|}}}|[[{{{mediclink|{{{medic}}}}}}|{{{medic}}}]]|<abbr title="To Be Determined">TBD</abbr>}}
+
{{!}} &nbsp;{{flag|fixed-width=1|{{#if:{{{sixflag|}}}|{{{sixflag|filler flag}}}|filler flag}}}}&nbsp;{{#if:{{{six|}}}|[[{{{sixlink|{{{six}}}}}}|{{{six}}}]]|<abbr title="To Be Determined">TBD</abbr>}}
 
|-
 
|-
!{{{rolesniper|<div style="text-align: left;">[[File:Snipericon.png|20px|link=]] [[Medic]]}}}</div>
+
!<div style="text-align: left;">[[File:{{{sevenclass}}}icon.png|20px|link=]] [[{{{sevenclass}}}]]</div>
{{!}} &nbsp;{{flag|fixed-width=1|{{#if:{{{sniperflag|}}}|{{{sniperflag|filler flag}}}|filler flag}}}}&nbsp;{{#if:{{{sniper|}}}|[[{{{sniperlink|{{{sniper}}}}}}|{{{sniper}}}]]|<abbr title="To Be Determined">TBD</abbr>}}
+
{{!}} &nbsp;{{flag|fixed-width=1|{{#if:{{{sevenflag|}}}|{{{sevenflag|filler flag}}}|filler flag}}}}&nbsp;{{#if:{{{seven|}}}|[[{{{sevenlink|{{{seven}}}}}}|{{{seven}}}]]|<abbr title="To Be Determined">TBD</abbr>}}
 
{{!}}-{{#if:{{{placement|}}}|style="height: 29px;"}}
 
{{!}}-{{#if:{{{placement|}}}|style="height: 29px;"}}
 
{{#if:{{{placement|}}}|{{!}}colspan="2" {{Placement|{{{placement}}}}}{{#if:{{{placementicon|}}}|&nbsp;{{{placementicon}}}}}}}
 
{{#if:{{{placement|}}}|{{!}}colspan="2" {{Placement|{{{placement}}}}}{{#if:{{{placementicon|}}}|&nbsp;{{{placementicon}}}}}}}

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