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

From comp.tf
Jump to navigation Jump to search
(Created page with "<includeonly>{{#vardefine:a|{{#explode:{{{place|}}}|-|0}}}}{{#vardefine:b|{{#explode:{{{place|}}}|-|1}}}}|- {{PrizePoolRowColor|{{#var:a}}}} | rowspan="2" valign="middle" | ''...")
 
 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
| rowspan="2" valign="middle" | '''{{Prize pool place|{{{place|}}}}}'''{{#if: {{{usdprize|}}}|&#10;
 
| rowspan="2" valign="middle" | '''{{Prize pool place|{{{place|}}}}}'''{{#if: {{{usdprize|}}}|&#10;
 
{{!}} rowspan="2" valign="middle" {{!}} {{#ifeq:{{{usdprize|}}}|0|&#045;|${{{usdprize|}}}}}}}{{#if: {{{localprize|}}}|&#10;
 
{{!}} rowspan="2" valign="middle" {{!}} {{#ifeq:{{{usdprize|}}}|0|&#045;|${{{usdprize|}}}}}}}{{#if: {{{localprize|}}}|&#10;
{{!}} rowspan="2" valign="middle" {{!}} {{#ifeq:{{{localprize|}}}|0|&#045;|{{#var:localcurrencysymbol}}{{{localprize}}}}}}}{{#if: {{{pointprize|}}}|&#10;
+
{{!}} rowspan="2" valign="middle" {{!}} {{#ifeq:{{{localprize|}}}|0|&#045;|{{#var:localcurrencysymbol}}{{{localprize}}}}}}}{{#if: {{{gearprize|}}}|&#10;
{{!}} rowspan="2" valign="middle" {{!}} {{#ifeq:{{{pointprize|}}}|0|&#045;|{{{pointprize}}}}}}}
+
{{!}} rowspan="2" valign="middle" {{!}} {{#ifeq:{{{gearprize|}}}|0|&#045;|{{{gearprize}}}}}}}{{#if: {{{pointprize|}}}|&#10;
 +
{{!}} rowspan="2" 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|{{#var:a}}}}
 
|-  {{PrizePoolRowColor|{{#var:a}}}}
 
| align="left" style="height:26px;" |{{#if:{{{literal2|}}}|{{Team/tf|{{{2|}}}}}|{{#ifeq:{{{2|}}}|noteam|{{Team/noteam}}|{{#if:{{{2|}}}|{{Team/{{{2}}}}}|{{Team/noteam}}}}}}}}<!--
 
| align="left" style="height:26px;" |{{#if:{{{literal2|}}}|{{Team/tf|{{{2|}}}}}|{{#ifeq:{{{2|}}}|noteam|{{Team/noteam}}|{{#if:{{{2|}}}|{{Team/{{{2}}}}}|{{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}}}}}<!--
 
--></includeonly><noinclude>[[Category:Prize pool templates]]</noinclude>
 
--></includeonly><noinclude>[[Category:Prize pool templates]]</noinclude>

Latest revision as of 17:45, 21 January 2018