Difference between revisions of "Template:Prize pool row 3"

From comp.tf
Jump to navigation Jump to search
m (attempting to fix an issue, changes will be reverted if they don't fix the problem)
Line 1: Line 1:
<includeonly>|- {{PrizePoolRowColor|{{{place}}}}}
+
<includeonly>{{#vardefine:a|{{#explode:{{{place|}}}|-|0}}}}{{#vardefine:b|{{#explode:{{{place|}}}|-|1}}}}|- {{PrizePoolRowColor|{{#var:a}}}}
 
| rowspan="3" valign="middle" | '''{{Prize pool place|{{{place|}}}}}'''{{#if: {{{usdprize|}}}|&#10;
 
| rowspan="3" valign="middle" | '''{{Prize pool place|{{{place|}}}}}'''{{#if: {{{usdprize|}}}|&#10;
 
{{!}} rowspan="3" valign="middle" {{!}} {{#ifeq:{{{usdprize|}}}|0|&#045;|${{{usdprize|}}}}}}}{{#if: {{{localprize|}}}|&#10;
 
{{!}} rowspan="3" valign="middle" {{!}} {{#ifeq:{{{usdprize|}}}|0|&#045;|${{{usdprize|}}}}}}}{{#if: {{{localprize|}}}|&#10;

Revision as of 06:24, 26 February 2017