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

From comp.tf
Jump to navigation Jump to search
m (Undo revision 50400 by Garlic (talk))
m
Line 6: Line 6:
 
{{!}} 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|}}}]]}}}}
 
{{!}} 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" {{!}} {{Abbr/DW}} | style="background-color:#ffcccc" {{!}} {{Abbr/DL}}}}
+
   | 1 = {{#ifeq: {{lc:{{#var:team}}}} | {{lc:{{{3}}}}} | style="background-color:#bfb" {{!}} {{Abbr/DW}} | style="background-color:#ffbbbb" {{!}} {{Abbr/DL}}}}
   | 2 = {{#ifeq: {{lc:{{#var:team}}}} | {{lc:{{{3}}}}} | style="background-color:#ffcccc" {{!}} {{Abbr/DL}} | style="background-color:#cfc" {{!}} {{Abbr/DW}}}}
+
   | 2 = {{#ifeq: {{lc:{{#var:team}}}} | {{lc:{{{3}}}}} | style="background-color:#ffbbbb" {{!}} {{Abbr/DL}} | style="background-color:#bfb" {{!}} {{Abbr/DW}}}}
   | #default = {{#ifeq: {{lc:{{#var:team}}}} | {{lc:{{{3}}}}} | {{#ifexpr: {{{5}}}>{{{6}}}| style="background-color:#cfc" {{!}} | {{#ifexpr: {{{5}}}<{{{6}}} | style="background-color:#ffcccc" {{!}}| style="background-color:#FFFFBB" {{!}}}}}} '''{{{5}}}''' &minus; {{{6}}} | {{#ifexpr: {{{6}}}>{{{5}}}| style="background-color:#cfc" {{!}} | {{#ifexpr: {{{6}}}<{{{5}}} | style="background-color:#ffcccc" {{!}}| style="background-color:#FFFFBB" {{!}}}} }} '''{{{6}}}''' &minus; {{{5}}}}}
+
   | #default = {{#ifeq: {{lc:{{#var:team}}}} | {{lc:{{{3}}}}} | {{#ifexpr: {{{5}}}>{{{6}}}| style="background-color:#bfb" {{!}} | {{#ifexpr: {{{5}}}<{{{6}}} | style="background-color:#ffbbbb" {{!}}| style="background-color:#ffffbb" {{!}}}}}} '''{{{5}}}'''&minus;{{{6}}} | {{#ifexpr: {{{6}}}>{{{5}}}| style="background-color:#bfb" {{!}} | {{#ifexpr: {{{6}}}<{{{5}}} | style="background-color:#ffbbbb" {{!}}| style="background-color:#ffffbb" {{!}}}} }} '''{{{6}}}'''&minus;{{{5}}}}}
 
   }}
 
   }}
 
{{!}} style="text-align:left" {{!}} {{#ifeq: {{lc:{{#var:team}}}} | {{lc:{{{3}}}}} | {{#ifexist:Template:Team/{{lc:{{{4|}}}}} | {{Team/{{lc:{{{4|}}}}}}} | [[File:TF_icon.png|link={{{4|}}}]] [[{{{4|}}}]]}} | {{#ifexist:Template:Team/{{lc:{{{3|}}}}}|{{Team/{{lc:{{{3|}}}}}}} | [[File:TF_icon.png|link={{{3|}}}]] [[{{{3|}}}]]}}}}
 
{{!}} style="text-align:left" {{!}} {{#ifeq: {{lc:{{#var:team}}}} | {{lc:{{{3}}}}} | {{#ifexist:Template:Team/{{lc:{{{4|}}}}} | {{Team/{{lc:{{{4|}}}}}}} | [[File:TF_icon.png|link={{{4|}}}]] [[{{{4|}}}]]}} | {{#ifexist:Template:Team/{{lc:{{{3|}}}}}|{{Team/{{lc:{{{3|}}}}}}} | [[File:TF_icon.png|link={{{3|}}}]] [[{{{3|}}}]]}}}}
 
|{{!}}-}}
 
|{{!}}-}}
 
</includeonly><noinclude>{{Player all matches table|player=b4nny}}</noinclude>
 
</includeonly><noinclude>{{Player all matches table|player=b4nny}}</noinclude>

Revision as of 10:20, 18 March 2017

This template is temporarily suspended due to formatting issues