Difference between revisions of "Template:Prize pool row"

From QWiki
m
m
Line 3: Line 3:
  
 
-->{{#ifeq:{{NAMESPACE}}||<!--
 
-->{{#ifeq:{{NAMESPACE}}||<!--
 
-->{{#subobject:ranking_{{lc:{{#var:team|TBD}}}}
 
|has tournament page={{PAGENAME}}
 
|has game={{#var:tournament_game}}
 
|has date={{#if:{{{date|}}}|{{{date}}}|{{#var:tournament_date}}}}
 
|is tier={{#var:tournament_tier}}
 
|is valve premier={{#var:tournament_valve_premier}}
 
|has placement={{{place|}}}
 
|has team page={{#if:{{{storefor|}}}|{{{storefor}}}|{{#var:team|TBD}}}}
 
|has prizemoney={{{usdprize|}}}
 
|has last opponent={{#if:{{{lastvs|}}}|{{#explode:{{#explode:{{#explode:{{Team/{{{lastvs|}}}}}|link=|1}}|]]|0}}|{{!}}|0}}}}
 
|has last opponent={{#if:{{{walkoverto|}}}|{{#explode:{{#explode:{{#explode:{{Team/{{{walkoverto|}}}}}|link=|1}}|]]|0}}|{{!}}|0}}}}
 
|has last opponent={{#if:{{{walkoverfrom|}}}|{{#explode:{{#explode:{{#explode:{{Team/{{{walkoverfrom|}}}}}|link=|1}}|]]|0}}|{{!}}|0}}}}
 
|has last score={{{lastscore|}}}
 
|has last opponent score={{{lastvsscore|}}}
 
|has last wdl={{{wdl|}}}
 
|has walkover to={{{walkoverto|}}}
 
|has walkover from={{{walkoverfrom|}}}
 
|is part of series={{#var:tournament_series}}
 
|has weight={{Weight|{{{usdprize|0}}}|{{#var:tournament_tier|default}}|{{{place}}}}}
 
|qualified={{#ifeq:{{{pointprize|}}}|q|True}}
 
}}<!--
 
 
----- SEMANTIC DEFINITIONS -----
 
-->{{#ifeq:{{{place|}}}|dq||{{#vardefine:a|{{#explode:{{{place|}}}|-|0}}}}<!--
 
-->{{#set:
 
|has {{OrdinalWritten/{{#var:a}}}}{{{number|}}} place page={{#var:team|TBD}}
 
}}}}<!--
 
  
 
-->}}<!--
 
-->}}<!--
 
--></includeonly><noinclude>[[Category:Prize pool templates]]</noinclude>
 
--></includeonly><noinclude>[[Category:Prize pool templates]]</noinclude>

Revision as of 20:40, 20 May 2017