Difference between revisions of "Template:7sTeamCard"
Jump to navigation
Jump to search
m |
m |
||
Line 7: | Line 7: | ||
{| class="wikitable list" style="width: 250px; height: {{#expr: 166+{{#if:{{{placement|}}}|33|0}}+{{#if:{{{preview|}}}|27|0}}}}px;" | {| class="wikitable list" style="width: 250px; height: {{#expr: 166+{{#if:{{{placement|}}}|33|0}}+{{#if:{{{preview|}}}|27|0}}}}px;" | ||
|- | |- | ||
− | !width=95px|<div style="text-align: left;">[[File:{{{oneclass | + | !width=95px|<div style="text-align: left;">[[File:{{{oneclass}}}icon.png|20px|link={{{oneclass}}}]] [[{{{oneclass}}}]]</div> |
| {{flag|{{#if:{{{oneflag|}}}|{{{oneflag|filler flag}}}|filler flag}}}} {{#if:{{{one|}}}|[[{{{onelink|{{{one}}}}}}|{{{one}}}]]|<abbr title="To Be Determined">TBD</abbr>}} {{#if:{{{p1preview|}}}| | | {{flag|{{#if:{{{oneflag|}}}|{{{oneflag|filler flag}}}|filler flag}}}} {{#if:{{{one|}}}|[[{{{onelink|{{{one}}}}}}|{{{one}}}]]|<abbr title="To Be Determined">TBD</abbr>}} {{#if:{{{p1preview|}}}| | ||
[[Image:Writers_icon.png|20px|15px|link={{{p1preview}}}|Preview]]}} | [[Image:Writers_icon.png|20px|15px|link={{{p1preview}}}|Preview]]}} | ||
|- | |- | ||
− | <div style="text-align: left;">[[File:{{{twoclass | + | <div style="text-align: left;">[[File:{{{twoclass}}}icon.png|20px|link={{{twoclass}}}]] [[{{{twoclass}}}]]</div> |
| {{flag|{{#if:{{{twoflag|}}}|{{{twoflag|filler flag}}}|filler flag}}}} {{#if:{{{two|}}}|[[{{{twolink|{{{two}}}}}}|{{{two}}}]]|<abbr title="To Be Determined">TBD</abbr>}} | | {{flag|{{#if:{{{twoflag|}}}|{{{twoflag|filler flag}}}|filler flag}}}} {{#if:{{{two|}}}|[[{{{twolink|{{{two}}}}}}|{{{two}}}]]|<abbr title="To Be Determined">TBD</abbr>}} | ||
|- | |- | ||
− | <div style="text-align: left;">[[File:{{{threeclass | + | <div style="text-align: left;">[[File:{{{threeclass}}}icon.png|20px|link={{{threeclass}}}]] [[{{{threeclass}}}]]</div> |
| {{flag|{{#if:{{{threeflag|}}}|{{{threeflag|filler flag}}}|filler flag}}}} {{#if:{{{three|}}}|[[{{{threelink|{{{three}}}}}}|{{{three}}}]]|<abbr title="To Be Determined">TBD</abbr>}} | | {{flag|{{#if:{{{threeflag|}}}|{{{threeflag|filler flag}}}|filler flag}}}} {{#if:{{{three|}}}|[[{{{threelink|{{{three}}}}}}|{{{three}}}]]|<abbr title="To Be Determined">TBD</abbr>}} | ||
|- | |- | ||
− | <div style="text-align: left;">[[File:{{{fourclass | + | <div style="text-align: left;">[[File:{{{fourclass}}}icon.png|20px|link={{{fourclass}}}]] [[{{{fourclass}}}]]</div> |
| {{flag|{{#if:{{{fourflag|}}}|{{{fourflag|filler flag}}}|filler flag}}}} {{#if:{{{four|}}}|[[{{{fourlink|{{{four}}}}}}|{{{four}}}]]|<abbr title="To Be Determined">TBD</abbr>}} | | {{flag|{{#if:{{{fourflag|}}}|{{{fourflag|filler flag}}}|filler flag}}}} {{#if:{{{four|}}}|[[{{{fourlink|{{{four}}}}}}|{{{four}}}]]|<abbr title="To Be Determined">TBD</abbr>}} | ||
|- | |- | ||
− | <div style="text-align: left;">[[File:{{{fiveclass | + | <div style="text-align: left;">[[File:{{{fiveclass}}}icon.png|20px|link={{{fiveclass}}}]] [[{{{fiveclass}}}]]</div> |
− | | {{flag|{{#if:{{{fiveflag | + | | {{flag|{{#if:{{{fiveflag}}}|{{{fiveflag|filler flag}}}|filler flag}}}} {{#if:{{{five|}}}|[[{{{fivelink|{{{five}}}}}}|{{{five}}}]]|<abbr title="To Be Determined">TBD</abbr>}} |
|- | |- | ||
− | <div style="text-align: left;">[[File:{{{sixclass | + | <div style="text-align: left;">[[File:{{{sixclass}}}icon.png|20px|link={{{sixclass}}}]] [[{{{sixclass}}}]]</div> |
| {{flag|{{#if:{{{sixflag|}}}|{{{sixflag|filler flag}}}|filler flag}}}} {{#if:{{{six|}}}|[[{{{sixlink|{{{six}}}}}}|{{{six}}}]]|<abbr title="To Be Determined">TBD</abbr>}} | | {{flag|{{#if:{{{sixflag|}}}|{{{sixflag|filler flag}}}|filler flag}}}} {{#if:{{{six|}}}|[[{{{sixlink|{{{six}}}}}}|{{{six}}}]]|<abbr title="To Be Determined">TBD</abbr>}} | ||
|- | |- | ||
− | <div style="text-align: left;">[[File:{{{sevenclass | + | <div style="text-align: left;">[[File:{{{sevenclass}}}icon.png|20px|link={{{sevenclass}}}]] [[{{{sevenclass}}}]]</div> |
| {{flag|{{#if:{{{sevenflag|}}}|{{{sevenflag|filler flag}}}|filler flag}}}} {{#if:{{{seven|}}}|[[{{{sevenlink|{{{seven}}}}}}|{{{seven}}}]]|<abbr title="To Be Determined">TBD</abbr>}} | | {{flag|{{#if:{{{sevenflag|}}}|{{{sevenflag|filler flag}}}|filler flag}}}} {{#if:{{{seven|}}}|[[{{{sevenlink|{{{seven}}}}}}|{{{seven}}}]]|<abbr title="To Be Determined">TBD</abbr>}} | ||
{{!}}-{{#if:{{{placement|}}}|style="height: 29px;"}} | {{!}}-{{#if:{{{placement|}}}|style="height: 29px;"}} |
Revision as of 17:40, 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= }}