Template:Team matches table/row: Difference between revisions

From comp.tf
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
| {{#ifexpr: {{#len:{{{2|}}}}}>10 | {{#sub:{{{2|}}}|0|-9}} | {{{2|}}}}}
| {{#ifexpr: {{#len:{{{2|}}}}}>10 | {{#sub:{{{2|}}}|0|-9}} | {{{2|}}}}}
| {{LeagueIconSmall/{{lc:{{{12|}}}}}}}
| {{LeagueIconSmall/{{lc:{{{12|}}}}}}}
| {{#switch: {{{11|}}}
| {{#ifexist: Template:LeagueIconSmall/{{lc:{{{12|}}}}} | {{LeagueIconSmall/{{lc:{{{12|}}}}}}} | {{#if: {{{10}}} | [[File:{{{10}}}|25px|link={{{7}}}]] ||}}}}  [[{{{7}}}|{{{8}}}]]
   | 1 = {{#ifeq: {{lc:{{{userparam}}}}} | {{lc:{{{3}}}}} | style="background-color:#cfc" {{!}} Default Win | style="background-color:#ffcccc" {{!}} Default Loss}}
   | 1 = {{#ifeq: {{lc:{{{userparam}}}}} | {{lc:{{{3}}}}} | style="background-color:#cfc" {{!}} Default Win | style="background-color:#ffcccc" {{!}} Default Loss}}
   | 2 = {{#ifeq: {{lc:{{{userparam}}}}} | {{lc:{{{3}}}}} | style="background-color:#ffcccc" {{!}} Default Loss | style="background-color:#cfc" {{!}} Default Win}}
   | 2 = {{#ifeq: {{lc:{{{userparam}}}}} | {{lc:{{{3}}}}} | style="background-color:#ffcccc" {{!}} Default Loss | style="background-color:#cfc" {{!}} Default Win}}

Revision as of 16:02, 5 March 2017