Template:Team matches table/row: Difference between revisions

From comp.tf
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
| {{#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|}}}]]}}}}
| {{#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|}}}]]}}}}
| <div align="center" valign="middle">{{#ifeq: {{lc:{{{userparam}}}}} | {{lc:{{{3}}}}} | {{{6}}}:'''{{{5}}}''' | {{{5}}}:'''{{{6}}}'''}}</div>
| {{#switch: {{{11|}}}
  | 1 = {{#ifeq: {{lc:{{{userparam}}}}} | {{lc:{{{3}}}}} | Default Loss | Default Win}}
  | 2 = {{#ifeq: {{lc:{{{userparam}}}}} | {{lc:{{{3}}}}} | Default Win | Default Loss}}
  | {{#ifeq: {{lc:{{{userparam}}}}} | {{lc:{{{3}}}}} | {{{6}}}:'''{{{5}}}''' | {{{5}}}:'''{{{6}}}'''}}
  }}
</includeonly>
</includeonly>

Revision as of 13:40, 31 January 2017