Difference between revisions of "Template:6sTeamCard2"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
| class="comptf-cardbg" style="width:172px; height:172px" | [[File:{{#if:{{{image|}}}|{{{image|}}}|{{#show:{{#if:{{{link|}}}|{{{link|}}}|{{{team|}}}}}|?has teamcard image|default={{#show:{{#if:{{{link|}}}|{{{link|}}}|{{{team|}}}}}|?has image|default=File:Generic_Logo2.png|link=none}}|link=none}}}}|146x146px|center|link=]] | | class="comptf-cardbg" style="width:172px; height:172px" | [[File:{{#if:{{{image|}}}|{{{image|}}}|{{#show:{{#if:{{{link|}}}|{{{link|}}}|{{{team|}}}}}|?has teamcard image|default={{#show:{{#if:{{{link|}}}|{{{link|}}}|{{{team|}}}}}|?has image|default=File:Generic_Logo2.png|link=none}}|link=none}}}}|146x146px|center|link=]] | ||
{| class="wikitable comptf-cardfg" style="height:176px; width:176px; margin:0; position:absolute; bottom:-1px; left:-1px; display:none; text-align:center" | {| class="wikitable comptf-cardfg" style="height:176px; width:176px; margin:0; position:absolute; bottom:-1px; left:-1px; display:none; text-align:center" | ||
− | | style="padding:1px 2px; width:24px" | {{#if:{{{scout1role|}}}|{{#switch:{{lc:{{{scout1role|}}}}}|pyro=< | + | | style="padding:1px 2px; width:24px" | {{#if:{{{scout1role|}}}|{{#switch:{{lc:{{{scout1role|}}}}}|pyro=<div style="transform:translateY(-1px)">{{icon|pyro|Pyro|middle=true}}</div>|heavy=<div style="transform:translateY(-1px)">{{icon|heavy|Heavy|middle=true}}</div>|engineer=<div style="transform:translateY(-1px)">{{icon|engineer|Engineer|middle=true}}</div>|sniper=<div style="transform:translateY(-1px)">{{icon|sniper|Sniper|middle=true}}</div>|spy=<div style="transform:translateY(-1px)">{{icon|spy|Spy|middle=true}}</div>|#default={{{scout1role|}}}}}|<div style="transform:translateY(-1px)">{{icon|scout|Scout|middle=true}}</div>}} |
| style="text-align:left; padding:1px 5px" | {{flag|{{{scout1flag|}}}}} [[{{{scout1|}}}]] | | style="text-align:left; padding:1px 5px" | {{flag|{{{scout1flag|}}}}} [[{{{scout1|}}}]] | ||
|- | |- | ||
− | | style="padding:1px 2px; width:24px" | {{#if:{{{scout2role|}}}|{{#switch:{{lc:{{{scout2role|}}}}}|pyro=< | + | | style="padding:1px 2px; width:24px" | {{#if:{{{scout2role|}}}|{{#switch:{{lc:{{{scout2role|}}}}}|pyro=<div style="transform:translateY(-1px)">{{icon|pyro|Pyro|middle=true}}</div>|heavy=<div style="transform:translateY(-1px)">{{icon|heavy|Heavy|middle=true}}</div>|engineer=<div style="transform:translateY(-1px)">{{icon|engineer|Engineer|middle=true}}</div>|sniper=<div style="transform:translateY(-1px)">{{icon|sniper|Sniper|middle=true}}</div>|spy=<div style="transform:translateY(-1px)">{{icon|spy|Spy|middle=true}}</div>|#default={{{scout2role|}}}}}|<div style="transform:translateY(-1px)">{{icon|scout|Scout|middle=true}}</div>}} |
| style="text-align:left; padding:1px 5px" | {{flag|{{{scout2flag|}}}}} [[{{{scout2|}}}]] | | style="text-align:left; padding:1px 5px" | {{flag|{{{scout2flag|}}}}} [[{{{scout2|}}}]] | ||
|- | |- | ||
− | | style="padding:1px 2px; width:24px" | {{#if:{{{roamerrole|}}}|{{#switch:{{lc:{{{roamerrole|}}}}}|soldier=< | + | | style="padding:1px 2px; width:24px" | {{#if:{{{roamerrole|}}}|{{#switch:{{lc:{{{roamerrole|}}}}}|soldier=<div style="transform:translateY(-1px)">{{icon|soldier|Soldier|middle=true}}</div>|pyro=<div style="transform:translateY(-1px)">{{icon|pyro|Pyro|middle=true}}</div>|heavy=<div style="transform:translateY(-1px)">{{icon|heavy|Heavy|middle=true}}</div>|engineer=<div style="transform:translateY(-1px)">{{icon|engineer|Engineer|middle=true}}</div>|sniper=<div style="transform:translateY(-1px)">{{icon|sniper|Sniper|middle=true}}</div>|spy=<div style="transform:translateY(-1px)">{{icon|spy|Spy|middle=true}}</div>|#default={{{roamerrole|}}}}}|<div style="transform:translateY(-1px)">{{icon|roamer|Roaming Soldier|middle=true}}</div>}} |
| style="text-align:left; padding:1px 5px" | {{flag|{{{roamerflag|}}}}} [[{{{roamer|}}}]] | | style="text-align:left; padding:1px 5px" | {{flag|{{{roamerflag|}}}}} [[{{{roamer|}}}]] | ||
|- | |- | ||
− | | style="padding:1px 2px; width:24px" | {{#if:{{{pocketrole|}}}|{{#switch:{{lc:{{{pocketrole|}}}}}|soldier=< | + | | style="padding:1px 2px; width:24px" | {{#if:{{{pocketrole|}}}|{{#switch:{{lc:{{{pocketrole|}}}}}|soldier=<div style="transform:translateY(-1px)">{{icon|soldier|Soldier|middle=true}}</div>|pyro=<div style="transform:translateY(-1px)">{{icon|pyro|Pyro|middle=true}}</div>|heavy=<div style="transform:translateY(-1px)">{{icon|heavy|Heavy|middle=true}}</div>|engineer=<div style="transform:translateY(-1px)">{{icon|engineer|Engineer|middle=true}}</div>|sniper=<div style="transform:translateY(-1px)">{{icon|sniper|Sniper|middle=true}}</div>|spy=<div style="transform:translateY(-1px)">{{icon|spy|Spy|middle=true}}</div>|#default={{{pocketrole|}}}}}|<div style="transform:translateY(-1px)">{{icon|pocket|Pocket|middle=true}}</div>}} |
| style="text-align:left; padding:1px 5px" | {{flag|{{{pocketflag|}}}}} [[{{{pocket|}}}]] | | style="text-align:left; padding:1px 5px" | {{flag|{{{pocketflag|}}}}} [[{{{pocket|}}}]] | ||
|- | |- | ||
− | | style="padding:1px 2px; width:24px" | {{#if:{{{demomanrole|}}}|{{#switch:{{lc:{{{demomanrole|}}}}}|pyro=< | + | | style="padding:1px 2px; width:24px" | {{#if:{{{demomanrole|}}}|{{#switch:{{lc:{{{demomanrole|}}}}}|pyro=<div style="transform:translateY(-1px)">{{icon|pyro|Pyro|middle=true}}</div>|heavy=<div style="transform:translateY(-1px)">{{icon|heavy|Heavy|middle=true}}</div>|engineer=<div style="transform:translateY(-1px)">{{icon|engineer|Engineer|middle=true}}</div>|sniper=<div style="transform:translateY(-1px)">{{icon|sniper|Sniper|middle=true}}</div>|spy=<div style="transform:translateY(-1px)">{{icon|spy|Spy|middle=true}}</div>|#default={{{demomanrole|}}}}}|<div style="transform:translateY(-1px)">{{icon|demoman|Demoman|middle=true}}</div>}} |
| style="text-align:left; padding:1px 5px" | {{flag|{{{demomanflag|}}}}} [[{{{demoman|}}}]] | | style="text-align:left; padding:1px 5px" | {{flag|{{{demomanflag|}}}}} [[{{{demoman|}}}]] | ||
|- | |- | ||
− | | style="padding:1px 2px; width:24px" | {{#if:{{{medicrole|}}}|{{#switch:{{lc:{{{medicrole|}}}}}|pyro=< | + | | style="padding:1px 2px; width:24px" | {{#if:{{{medicrole|}}}|{{#switch:{{lc:{{{medicrole|}}}}}|pyro=<div style="transform:translateY(-1px)">{{icon|pyro|Pyro|middle=true}}</div>|heavy=<div style="transform:translateY(-1px)">{{icon|heavy|Heavy|middle=true}}</div>|engineer=<div style="transform:translateY(-1px)">{{icon|engineer|Engineer|middle=true}}</div>|sniper=<div style="transform:translateY(-1px)">{{icon|sniper|Sniper|middle=true}}</div>|spy=<div style="transform:translateY(-1px)">{{icon|spy|Spy|middle=true}}</div>|#default={{{medicrole|}}}}}|<div style="transform:translateY(-1px)">{{icon|medic|Medic|middle=true}}</div>}} |
| style="text-align:left; padding:1px 5px" | {{flag|{{{medicflag|}}}}} [[{{{medic}}}]] | | style="text-align:left; padding:1px 5px" | {{flag|{{{medicflag|}}}}} [[{{{medic}}}]] | ||
|- | |- |