Template:PrizeRow/doc

Template page
< Template:PrizeRow
Revision as of 21:37, 14 February 2024 by Couchor (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

PrizePool parameters:

Parameter Description
percent 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 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

Example

==Prize pool ==
{{PrizePool|percent=y|prize=3142933|currency=EUR|rate=1.0719050831921992|columns=First,Second
|{{PrizeRow|percent=45|participants=spirit}}
|{{PrizeRow|percent=12|participants=gaimin}} 
|{{PrizeRow|percent=8|participants=lgd}}
|{{PrizeRow|percent=5.5|participants=azure}}
|{{PrizeRow|place=5-6|percent=3.25|participants=liquid,betboom}}
|{{PrizeRow|place=7-8|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}}
}}

Will look like this:

PrizePool example.png