Template:PrizeRow/doc: Difference between revisions

Template page
(Created page with "===PrizePool parameters:=== {|class="wikitable" !Parameter !Description |- |'''percent''' |% of prize to be allocated to this placement. Will automatically calculate prize based on the |prize parameter in the Template:PrizePool call |- |'''prize''' |Amount won by this placement. Will override percent calculation if both are present, but you shouldn't add prize to a row manually if percent added. |- |'''bg''' |If you want to add a background color to the row. Top 3 ge...")
 
mNo edit summary
 
Line 5: Line 5:
|-
|-
|'''percent'''
|'''percent'''
|% of prize to be allocated to this placement. Will automatically calculate prize based on the |prize parameter in the [[Template:PrizePool]] call
|% of prize to be allocated to this placement. Will automatically calculate prize based on the prize parameter value in the [[Template:PrizePool]] call
|-
|-
|'''prize'''
|'''prize'''
Line 18: Line 18:
|'''participants'''
|'''participants'''
|List of teams or players, separated by commas. Can use full names or shorthands
|List of teams or players, separated by commas. Can use full names or shorthands
|-
|'''columns'''
|List of values separated by comma. Use same order as the columns parameter in the [[Template:PrizePool]] call.
|}
|}


Line 24: Line 27:
==Prize pool ==
==Prize pool ==
{{PrizePool|percent=y|prize=3142933|currency=EUR|rate=1.0719050831921992|columns=First,Second
{{PrizePool|percent=y|prize=3142933|currency=EUR|rate=1.0719050831921992|columns=First,Second
|{{PrizeRow|percent=45|participants=spirit}}
|{{PrizeRow|percent=45|columns=1st prize,1st val|participants=spirit}}
|{{PrizeRow|percent=12|participants=gaimin}}  
|{{PrizeRow|percent=12|columns=2nd prize,2nd val|prize=20000|participants=gaimin}}  
|{{PrizeRow|percent=8|participants=lgd}}
|{{PrizeRow|percent=8|columns=3rd prize,3rd val|participants=lgd}}
|{{PrizeRow|percent=5.5|participants=azure}}
|{{PrizeRow|percent=5.5|columns=4th prize,4th val|participants=azure}}
|{{PrizeRow|place=5-6|percent=3.25|participants=liquid,betboom}}
|{{PrizeRow|place=5-6|columns=5-6 prize,5-6 val|percent=3.25|participants=liquid,betboom|bg=gold}}
|{{PrizeRow|place=7-8|percent=2.5|participants=nouns,vp}}
|{{PrizeRow|place=7-8|columns=7-8 prize,7-8 val|percent=2.5|participants=nouns,vp}}
|{{PrizeRow|place=9-12|percent=2|participants=tsm,9pandas,talon,entity}}
|{{PrizeRow|place=13-16|percent=1.5|participants=shopify,eg,keyd,tundra}}
|{{PrizeRow|place=17-20|percent=1|participants=smg,thunder,bc,quest}}
}}
}}
</pre>
</pre>

Latest revision as of 10:59, 15 February 2024

PrizePool parameters:

Parameter Description
percent % of prize to be allocated to this placement. Will automatically calculate prize based on the prize parameter value in the Template:PrizePool call
prize Amount won by this placement. Will override percent calculation if both are present, but you shouldn't add prize to a row manually if percent added.
bg If you want to add a background color to the row. Top 3 get it automatically. Currently acceptable values are gold, silver and bronze
place Placement or range of placements. If not present then it will just increment each row by 1. For range just do start-end, so 9-12
participants List of teams or players, separated by commas. Can use full names or shorthands
columns List of values separated by comma. Use same order as the columns parameter in the Template:PrizePool call.

Example

==Prize pool ==
{{PrizePool|percent=y|prize=3142933|currency=EUR|rate=1.0719050831921992|columns=First,Second
|{{PrizeRow|percent=45|columns=1st prize,1st val|participants=spirit}}
|{{PrizeRow|percent=12|columns=2nd prize,2nd val|prize=20000|participants=gaimin}} 
|{{PrizeRow|percent=8|columns=3rd prize,3rd val|participants=lgd}}
|{{PrizeRow|percent=5.5|columns=4th prize,4th val|participants=azure}}
|{{PrizeRow|place=5-6|columns=5-6 prize,5-6 val|percent=3.25|participants=liquid,betboom|bg=gold}}
|{{PrizeRow|place=7-8|columns=7-8 prize,7-8 val|percent=2.5|participants=nouns,vp}}
}}

Will look like this:

PrizePool example.png