Difference between revisions of "Template:6sTeamCard2"

From comp.tf
Jump to navigation Jump to search
Line 6: Line 6:
 
  | style="text-align:left; padding:1px 5px; border:1px solid rgba(170,170,170,0.9)" | {{#if:{{{scout1|}}}|{{flag|{{{scout1flag|}}}}} [[{{{scout1link|{{{scout1|}}}}}}|{{{scout1|}}}]]|{{#if:{{{scout1flag|}}}|{{flag|{{{scout1flag|}}}}} |}}'''{{abbr|TBD|To be determined}}'''}}
 
  | style="text-align:left; padding:1px 5px; border:1px solid rgba(170,170,170,0.9)" | {{#if:{{{scout1|}}}|{{flag|{{{scout1flag|}}}}} [[{{{scout1link|{{{scout1|}}}}}}|{{{scout1|}}}]]|{{#if:{{{scout1flag|}}}|{{flag|{{{scout1flag|}}}}} |}}'''{{abbr|TBD|To be determined}}'''}}
 
|-
 
|-
{{#if:{{{scout1role|}}}{{{scout2role|}}}||{{!}} style="padding:1px 2px; width:24px; border:1px solid rgba(170,170,170,0.9)" {{!}} {{#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>}}}}
+
{{#if:{{{scout1role|}}}{{{scout2role|}}}|{{!}} style="padding:1px 2px; width:24px; border:1px solid rgba(170,170,170,0.9)" {{!}} {{#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; border:1px solid rgba(170,170,170,0.9)" | {{#if:{{{scout2|}}}|{{flag|{{{scout2flag|}}}}} [[{{{scout2link|{{{scout2|}}}}}}|{{{scout2|}}}]]|{{#if:{{{scout2flag|}}}|{{flag|{{{scout2flag|}}}}}&nbsp;|}}'''{{abbr|TBD|To be determined}}'''}}
 
  | style="text-align:left; padding:1px 5px; border:1px solid rgba(170,170,170,0.9)" | {{#if:{{{scout2|}}}|{{flag|{{{scout2flag|}}}}} [[{{{scout2link|{{{scout2|}}}}}}|{{{scout2|}}}]]|{{#if:{{{scout2flag|}}}|{{flag|{{{scout2flag|}}}}}&nbsp;|}}'''{{abbr|TBD|To be determined}}'''}}
 
|-
 
|-

Revision as of 23:39, 20 April 2020

(view - edit) Documentation

Template:6sTeamCard2/doc