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

From comp.tf
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
 
{{!}} rowspan="3" valign="middle" {{!}} {{#ifeq:{{{localprize|}}}|0|-|{{#var:localcurrencysymbol}}{{{localprize}}}}}}}{{#if: {{{gearprize|}}}|

 
{{!}} rowspan="3" valign="middle" {{!}} {{#ifeq:{{{localprize|}}}|0|-|{{#var:localcurrencysymbol}}{{{localprize}}}}}}}{{#if: {{{gearprize|}}}|

 
{{!}} rowspan="3" valign="middle" {{!}} {{#ifeq:{{{gearprize|}}}|0|-|{{{gearprize}}}}}}}{{#if: {{{pointprize|}}}|

 
{{!}} rowspan="3" valign="middle" {{!}} {{#ifeq:{{{gearprize|}}}|0|-|{{{gearprize}}}}}}}{{#if: {{{pointprize|}}}|

{{!}} rowspan="3" valign="middle" {{!}} {{#ifeq:{{{pointprize|}}}|0|-|{{#ifeq:{{{pointprize|}}}|q|[[File:GreenCheck.png|link={{#if:{{{link|}}}|{{{link}}}}}]]|{{{pointprize}}}}}}}}}
+
{{!}} rowspan="3" valign="middle" {{!}} {{#switch:{{{pointprize|}}}
 +
|0=-
 +
|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 10: 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}}|pointprize={{#ifeq:{{{pointprize|}}}|q|true}}|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}}|pointprize={{#ifeq:{{{pointprize|}}}|q|true}}|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}}|pointprize={{#ifeq:{{{pointprize|}}}|q|true}}|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