Difference between revisions of "Template:Player matches table/row"
Jump to navigation
Jump to search
(24 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{#vardefine:team| | + | <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}} {{#explode:{{{12|}}}|,|3}} {{#explode:{{{12|}}}|,|4}}| {{#var:player}} }} = -1 | |
− | + | {{!}}- | |
− | + | {{!}} {{#ifexpr: {{#len:{{{2|}}}}}>10 | {{#sub:{{{2|}}}|0|-9}} | {{{2|}}}}} | |
− | {{{{{ | + | {{!}} style="text-align:left" {{!}} {{Template:LeagueIconSmall/{{lc:{{{13}}}}}}}<!-- {{#if: {{{10}}} | [[File:{{{10}}}|25px|link={{{7}}}]] ||}} --> [[{{{7}}}|{{{8}}}]] |
− | {{{{{!}}}} {{#switch: {{{11|}}} | + | {{!}} 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|}}}]]}}}} |
− | | 1 = {{#ifeq: {{lc:{{#var:team}}}} | {{lc:{{{3}}}}} | style="background-color:# | + | {{!}} {{#switch: {{{11|}}} |
− | | 2 = {{#ifeq: {{lc:{{#var:team}}}} | {{lc:{{{3}}}}} | style="background-color:# | + | | 1 = {{#ifeq: {{lc:{{#var:team}}}} | {{lc:{{{3}}}}} | style="background-color:#bfb" {{!}} {{Abbr/DW}} | style="background-color:#ffbbbb" {{!}} {{Abbr/DL}}}} |
− | | #default = {{#ifeq: {{lc:{{#var:team}}}} | {{lc:{{{3}}}}} | {{#ifexpr: {{{5}}}>{{{6}}}| style="background-color:# | + | | 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:#bfb" {{!}} | {{#ifexpr: {{{5}}}<{{{6}}} | style="background-color:#ffbbbb" {{!}}| style="background-color:#ffffbb" {{!}}}}}} '''{{{5}}}'''−{{{6}}} | {{#ifexpr: {{{6}}}>{{{5}}}| style="background-color:#bfb" {{!}} | {{#ifexpr: {{{6}}}<{{{5}}} | style="background-color:#ffbbbb" {{!}}| style="background-color:#ffffbb" {{!}}}} }} '''{{{6}}}'''−{{{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|}}}]]}}}} | |
− | + | |{{!}}-}} | |
− | + | </includeonly><noinclude>{{Player all matches table|player=b4nny}}</noinclude> | |
− | </ |
Latest revision as of 08:35, 15 June 2017
This template is temporarily suspended due to formatting issues