Difference between revisions of "Template:Player matches table/row"

From comp.tf
Jump to navigation Jump to search
Line 4: Line 4:
 
{{!}} {{#ifexpr: {{#len:{{{2|}}}}}>10 | {{#sub:{{{2|}}}|0|-9}} | {{{2|}}}}}
 
{{!}} {{#ifexpr: {{#len:{{{2|}}}}}>10 | {{#sub:{{{2|}}}|0|-9}} | {{{2|}}}}}
 
{{!}} {{#if: {{{10}}} | [[File:{{{10}}}|25px|link={{{7}}}]] ||}}  [[{{{7}}}|{{{8}}}]]
 
{{!}} {{#if: {{{10}}} | [[File:{{{10}}}|25px|link={{{7}}}]] ||}}  [[{{{7}}}|{{{8}}}]]
{{!}} style="text-align:right" {{!}} {{#ifeq: {{lc:{{#var:team}}}} | {{lc:{{{3}}}}} | [[{{{3|}}}]] {{#ifexist:Template:Team/{{lc:{{{3|}}}}}|[[File:{{#explode:{{#explode:{{Team/{{lc:{{{3|}}}}}}}|{{!}}link=|0}}|File:|1}}|link={{{3|}}}]]|[[File:TF_icon.png|link={{{3|}}}]]}} | [[{{{3|}}}]] {{#ifexist:Template:Team/{{lc:{{{4|}}}}}|[[File:{{#explode:{{#explode:{{Team/{{lc:{{{4|}}}}}}}|{{!}}link=|0}}|File:|1}}|link={{{4|}}}]]|[[File:TF_icon.png|link={{{4|}}}]]}}}}
+
{{!}} style="text-align:right" {{!}} {{#ifeq: {{lc:{{#var:team}}}} | {{lc:{{{3}}}}} | [[{{{3|}}}]] {{#ifexist:Template:Team/{{lc:{{{3|}}}}}|[[File:{{#explode:{{#explode:{{Team/{{lc:{{{3|}}}}}}}|{{!}}link=|0}}|File:|1}}|link={{{3|}}}]]|[[File:TF_icon.png|link={{{3|}}}]]}} | [[{{{4|}}}]] {{#ifexist:Template:Team/{{lc:{{{4|}}}}}|[[File:{{#explode:{{#explode:{{Team/{{lc:{{{4|}}}}}}}|{{!}}link=|0}}|File:|1}}|link={{{4|}}}]]|[[File:TF_icon.png|link={{{4|}}}]]}}}}
 
{{!}} {{#switch: {{{11|}}}
 
{{!}} {{#switch: {{{11|}}}
 
   | 1 = {{#ifeq: {{lc:{{#var:team}}}} | {{lc:{{{3}}}}} | style="background-color:#cfc" {{!}} Default Win | style="background-color:#ffcccc" {{!}} Default Loss}}
 
   | 1 = {{#ifeq: {{lc:{{#var:team}}}} | {{lc:{{{3}}}}} | style="background-color:#cfc" {{!}} Default Win | style="background-color:#ffcccc" {{!}} Default Loss}}

Revision as of 22:46, 1 March 2017

This template is temporarily suspended due to formatting issues