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

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

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

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

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

{{!}} rowspan="1" valign="middle" {{!}} {{#ifeq:{{{pointprize|}}}|0|-|{{#ifeq:{{{pointprize|}}}|q|[[File:GreenCheck.png|link={{#if:{{{link|}}}|{{{link}}}}}]]|{{{pointprize}}}}}}}}}
+
{{!}} rowspan="1" 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}}}}}}}}<!--
-->{{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}}}}}<!--
 
--></includeonly><noinclude>[[Category:Prize pool templates]]</noinclude>
 
--></includeonly><noinclude>[[Category:Prize pool templates]]</noinclude>

Latest revision as of 17:43, 21 January 2018