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

From comp.tf
Jump to navigation Jump to search
(Created page with "<includeonly>|- {{PrizePoolRowColor|{{{place}}}}} | rowspan="3" valign="middle" | '''{{Prize pool place|{{{place|}}}}}'''{{#if: {{{usdprize|}}}| {{!}} rowspan="3" valign=...")
 
 
(7 intermediate revisions by 2 users not shown)
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;
{{!}} rowspan="3" valign="middle" {{!}} {{#ifeq:{{{localprize|}}}|0|&#045;|{{#var:localcurrencysymbol}}{{{localprize}}}}}}}{{#if: {{{pointprize|}}}|&#10;
+
{{!}} rowspan="3" valign="middle" {{!}} {{#ifeq:{{{localprize|}}}|0|&#045;|{{#var:localcurrencysymbol}}{{{localprize}}}}}}}{{#if: {{{gearprize|}}}|&#10;
{{!}} rowspan="3" valign="middle" {{!}} {{#ifeq:{{{pointprize|}}}|0|&#045;|{{{pointprize}}}}}}}
+
{{!}} rowspan="3" valign="middle" {{!}} {{#ifeq:{{{gearprize|}}}|0|&#045;|{{{gearprize}}}}}}}{{#if: {{{pointprize|}}}|&#10;
 +
{{!}} rowspan="3" valign="middle" {{!}} {{#switch:{{{pointprize|}}}
 +
|0=&#045;
 +
|q=[[File:CorrectIcon.png|19px|link={{#if:{{{link|}}}|{{{link}}}}}]]
 +
|n=[[File:IncorrectIcon.png|19px|link={{#if:{{{link|}}}|{{{link}}}}}]]
 +
|{{{pointprize}}}}}}}
 
| align="left" style="height:26px;" |{{#if:{{{literal1|}}}|{{Team/tf|{{{1|}}}}}|{{#ifeq:{{{1|}}}|noteam|{{Team/noteam}}|{{#if:{{{1|}}}|{{Team/{{{1}}}}}|{{Team/noteam}}}}}}}}
 
| align="left" style="height:26px;" |{{#if:{{{literal1|}}}|{{Team/tf|{{{1|}}}}}|{{#ifeq:{{{1|}}}|noteam|{{Team/noteam}}|{{#if:{{{1|}}}|{{Team/{{{1}}}}}|{{Team/noteam}}}}}}}}
 
|-  {{PrizePoolRowColor|{{{place}}}}}
 
|-  {{PrizePoolRowColor|{{{place}}}}}
Line 9: Line 14:
 
|-  {{PrizePoolRowColor|{{{place}}}}}
 
|-  {{PrizePoolRowColor|{{{place}}}}}
 
| align="left" style="height:26px;" |{{#if:{{{literal3|}}}|{{Team/tf|{{{3|}}}}}|{{#ifeq:{{{3|}}}|noteam|{{Team/noteam}}|{{#if:{{{3|}}}|{{Team/{{{3}}}}}|{{Team/noteam}}}}}}}}<!--
 
| align="left" style="height:26px;" |{{#if:{{{literal3|}}}|{{Team/tf|{{{3|}}}}}|{{#ifeq:{{{3|}}}|noteam|{{Team/noteam}}|{{#if:{{{3|}}}|{{Team/{{{3}}}}}|{{Team/noteam}}}}}}}}<!--
-->{{Prize pool row|place={{{place|}}}|usdprize={{#if:{{{usdprize|}}}|{{{usdprize}}}|0}}|literal={{{literal1|}}}|date={{#if:{{{date|}}}|{{{date}}}|{{{date1|}}}}}|lastvs={{{lastvs1|}}}|lastscore={{{lastscore1|}}}|lastvsscore={{{lastvsscore1|}}}|wdl={{{wdl1|}}}|defaultto={{{defaultto1|}}}|defaultfrom={{{defaultfrom1|}}}|{{{1}}}}}<!--
+
-->{{Prize pool row|place={{{place|}}}|usdprize={{#if:{{{usdprize|}}}|{{{usdprize}}}|0}}|pointprize={{#ifeq:{{{pointprize|}}}|q|true|{{#ifeq:{{{pointprize|}}}|n|false}}}}|literal={{{literal1|}}}|date={{#if:{{{date|}}}|{{{date}}}|{{{date1|}}}}}|lastvs={{{lastvs1|}}}|lastscore={{{lastscore1|}}}|lastvsscore={{{lastvsscore1|}}}|wdl={{{wdl1|}}}|defaultto={{{defaultto1|}}}|defaultfrom={{{defaultfrom1|}}}|{{{1}}}}}<!--
  
-->{{Prize pool row|number=2|place={{{place|}}}|usdprize={{#if:{{{usdprize|}}}|{{{usdprize}}}|0}}|literal={{{literal2|}}}|date={{#if:{{{date|}}}|{{{date}}}|{{{date2|}}}}}|lastvs={{{lastvs2|}}}|lastscore={{{lastscore2|}}}|lastvsscore={{{lastvsscore2|}}}|wdl={{{wdl2|}}}|defaultto={{{defaultto2|}}}|defaultfrom={{{defaultfrom2|}}}|{{{2}}}}}<!--
+
-->{{Prize pool row|number=2|place={{{place|}}}|usdprize={{#if:{{{usdprize|}}}|{{{usdprize}}}|0}}|pointprize={{#ifeq:{{{pointprize|}}}|q|true|{{#ifeq:{{{pointprize|}}}|n|false}}}}|literal={{{literal2|}}}|date={{#if:{{{date|}}}|{{{date}}}|{{{date2|}}}}}|lastvs={{{lastvs2|}}}|lastscore={{{lastscore2|}}}|lastvsscore={{{lastvsscore2|}}}|wdl={{{wdl2|}}}|defaultto={{{defaultto2|}}}|defaultfrom={{{defaultfrom2|}}}|{{{2}}}}}<!--
  
-->{{Prize pool row|number=3|place={{{place|}}}|usdprize={{#if:{{{usdprize|}}}|{{{usdprize}}}|0}}|literal={{{literal3|}}}|date={{#if:{{{date|}}}|{{{date}}}|{{{date3|}}}}}|lastvs={{{lastvs3|}}}|lastscore={{{lastscore3|}}}|lastvsscore={{{lastvsscore3|}}}|wdl={{{wdl3|}}}|defaultto={{{defaultto3|}}}|defaultfrom={{{defaultfrom3|}}}|{{{3}}}}}<!--
+
-->{{Prize pool row|number=3|place={{{place|}}}|usdprize={{#if:{{{usdprize|}}}|{{{usdprize}}}|0}}|pointprize={{#ifeq:{{{pointprize|}}}|q|true|{{#ifeq:{{{pointprize|}}}|n|false}}}}|literal={{{literal3|}}}|date={{#if:{{{date|}}}|{{{date}}}|{{{date3|}}}}}|lastvs={{{lastvs3|}}}|lastscore={{{lastscore3|}}}|lastvsscore={{{lastvsscore3|}}}|wdl={{{wdl3|}}}|defaultto={{{defaultto3|}}}|defaultfrom={{{defaultfrom3|}}}|{{{3}}}}}<!--
 
--></includeonly><noinclude>[[Category:Prize pool templates]]</noinclude>
 
--></includeonly><noinclude>[[Category:Prize pool templates]]</noinclude>

Latest revision as of 17:46, 21 January 2018