Difference between revisions of "Template:6sTeamCard2"

From comp.tf
Jump to navigation Jump to search
Line 10: Line 10:
 
|-
 
|-
 
  | 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="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" | {{#if:{{{roamer|}}}|{{flag|{{{romaerflag|}}}}} [[{{{roamerlink|{{{roamer|}}}}}}|{{{roamer|}}}]]|{{#if:{{{roamerflag|}}}|{{flag|{{{roamerflag|}}}}}&nbsp|}}'''{{abbr|TBD|To be determined}}'''}}
+
  | style="text-align:left; padding:1px 5px" | {{#if:{{{roamer|}}}|{{flag|{{{roamerflag|}}}}} [[{{{roamerlink|{{{roamer|}}}}}}|{{{roamer|}}}]]|{{#if:{{{roamerflag|}}}|{{flag|{{{roamerflag|}}}}}&nbsp|}}'''{{abbr|TBD|To be determined}}'''}}
 
|-
 
|-
 
  | 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="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>}}

Revision as of 20:35, 19 April 2020

(view - edit) Documentation

Template:6sTeamCard2/doc