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

From comp.tf
Jump to navigation Jump to search
Line 3: Line 3:
 
| {{#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}}}]]
| {{#ifeq: {{lc:{{{userparam}}}}} | {{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|}}}]]}}}}
 
 
| {{#switch: {{{11|}}}
 
| {{#switch: {{{11|}}}
 
   | 1 = {{#ifeq: {{lc:{{{userparam}}}}} | {{lc:{{{3}}}}} | Default Win | Default Loss}}
 
   | 1 = {{#ifeq: {{lc:{{{userparam}}}}} | {{lc:{{{3}}}}} | Default Win | Default Loss}}
 
   | 2 = {{#ifeq: {{lc:{{{userparam}}}}} | {{lc:{{{3}}}}} | Default Loss | Default Win}}
 
   | 2 = {{#ifeq: {{lc:{{{userparam}}}}} | {{lc:{{{3}}}}} | Default Loss | Default Win}}
   | #default = {{#ifeq: {{lc:{{{userparam}}}}} | {{lc:{{{3}}}}} | {{{6}}}:'''{{{5}}}''' | {{{5}}}:'''{{{6}}}'''}}
+
   | #default = {{#ifeq: {{lc:{{{userparam}}}}} | {{lc:{{{3}}}}} | '''{{{5}}}''':{{{6}}} | '''{{{6}}}''':{{{5}}}}}
 
   }}
 
   }}
 +
| {{#ifeq: {{lc:{{{userparam}}}}} | {{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 15:46, 31 January 2017