Template:PrizePool/doc: Difference between revisions
From TwogPedia
(Created page with "===PrizePool parameters:=== {|class="wikitable" !Parameter !Description |- |'''unnamed''' |Use the Template:PrizeRow as unnamed parameters in the proper order |- |'''percent''' |If it has any value, then the prize distribution percentage is shown in an extra column - you have to enter |percent= to the PrizeRow templates |- |'''prize''' |Number of full prize pool in the main currency |- |'''currency''' |3 letter currency code in caps - EUR, RUB etc |- |'''rate''' |Con...") |
mNo edit summary |
||
| Line 6: | Line 6: | ||
|'''unnamed''' | |'''unnamed''' | ||
|Use the [[Template:PrizeRow]] as unnamed parameters in the proper order | |Use the [[Template:PrizeRow]] as unnamed parameters in the proper order | ||
|- | |||
|'''solo''' | |||
|If it's a 1v1 tournament, then add anything to this, usually just a "y", so '''solo=y''' | |||
|- | |- | ||
|'''percent''' | |'''percent''' | ||
|If it has any value, then the prize distribution percentage is shown in an extra column - you have to enter | |If it has any value, then the prize distribution percentage is shown in an extra column - you have to enter percent parameter to the PrizeRow templates | ||
|- | |- | ||
|'''prize''' | |'''prize''' | ||
| Line 17: | Line 20: | ||
|- | |- | ||
|'''rate''' | |'''rate''' | ||
|Conversion rate. Ideally from the date of the end of the tournament | |Conversion rate of how many USD units per the currency parameter. Ideally from the date of the end of the tournament. | ||
|- | |- | ||
|'''columns''' | |'''columns''' | ||
| Line 33: | Line 36: | ||
|{{PrizeRow|place=5-6|percent=3.25|participants=liquid,betboom}} | |{{PrizeRow|place=5-6|percent=3.25|participants=liquid,betboom}} | ||
|{{PrizeRow|place=7-8|percent=2.5|participants=nouns,vp}} | |{{PrizeRow|place=7-8|percent=2.5|participants=nouns,vp}} | ||
}} | }} | ||
</pre> | </pre> | ||
Latest revision as of 20:37, 14 February 2024
PrizePool parameters:[edit]
| Parameter | Description |
|---|---|
| unnamed | Use the Template:PrizeRow as unnamed parameters in the proper order |
| solo | If it's a 1v1 tournament, then add anything to this, usually just a "y", so solo=y |
| percent | If it has any value, then the prize distribution percentage is shown in an extra column - you have to enter percent parameter to the PrizeRow templates |
| prize | Number of full prize pool in the main currency |
| currency | 3 letter currency code in caps - EUR, RUB etc |
| rate | Conversion rate of how many USD units per the currency parameter. Ideally from the date of the end of the tournament. |
| columns | List of additional columns to be added to the table, separated by String |
Example[edit]
==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}}
}}
Will look like this:
No categories
