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

From comp.tf
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly>{{#vardefine:team|{{{#explode:{{{userparam}}}|*|0}}}}}{{#vardefine:player|{{#explode:{{{userparam}}}|*|1}}}}
+
<includeonly>{{#vardefine:team|{{{#explode:{{{userparam}}}|*|0}}}}}{{#vardefine:player|{{#explode:{{{userparam}}}|*|1}}}}<!--
{{#ifexpr: {{#rpos: {{#explode:{{{12|}}}|,|0}} {{#explode:{{{12|}}}|,|1}} {{#explode:{{{12|}}}|,|2}} | {{#var:player}} }} = -1 |
+
-->{{#ifexpr: {{#rpos: {{#explode:{{{12|}}}|,|0}} {{#explode:{{{12|}}}|,|1}} {{#explode:{{{12|}}}|,|2}} | {{#var:player}} }} = -1 |
 
{{!}}-
 
{{!}}-
 
{{!}} {{#ifexpr: {{#len:{{{2|}}}}}>10 | {{#sub:{{{2|}}}|0|-9}} | {{{2|}}}}}
 
{{!}} {{#ifexpr: {{#len:{{{2|}}}}}>10 | {{#sub:{{{2|}}}|0|-9}} | {{{2|}}}}}
Line 6: Line 6:
 
{{!}} {{{6}}}:{{{5}}}
 
{{!}} {{{6}}}:{{{5}}}
 
{{!}} {{#ifeq: {{lc:{{#var:team}}}} | {{lc:{{{3}}}}} | {{#ifexist:Template:Team/{{lc:{{{3|}}}}} | {{Team/{{lc:{{{3|}}}}}}} | [[File:TF_icon.png|link={{{3|}}}]] [[{{{3|}}}]]}} | {{#ifexist:Template:Team/{{lc:{{{4|}}}}}|{{Team/{{lc:{{{4|}}}}}}} | [[File:TF_icon.png|link={{{4|}}}]] [[{{{4|}}}]]}}}}
 
{{!}} {{#ifeq: {{lc:{{#var:team}}}} | {{lc:{{{3}}}}} | {{#ifexist:Template:Team/{{lc:{{{3|}}}}} | {{Team/{{lc:{{{3|}}}}}}} | [[File:TF_icon.png|link={{{3|}}}]] [[{{{3|}}}]]}} | {{#ifexist:Template:Team/{{lc:{{{4|}}}}}|{{Team/{{lc:{{{4|}}}}}}} | [[File:TF_icon.png|link={{{4|}}}]] [[{{{4|}}}]]}}}}
{{!}} {{#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|}}}]]}}}}
+
{{!}} {{#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>
 
</includeonly>

Revision as of 16:27, 28 February 2017