Difference between revisions of "Template:Prize pool slot"
Jump to navigation
Jump to search
(Created page with "<includeonly><!-- -->{{prize pool row <!-- -->{{#expr:{{#if:{{{1|}}}|1|0}}+{{#if:{{{2|}}}|1|0}}+{{#if:{{{3|}}}|1|0}}+{{#if:{{{4|}}}|1|0}}<!-- -->+{{#if:{{{5|}}}|1|0}}+{{#if:{{...") |
m |
||
(5 intermediate revisions by one other user not shown) | |||
Line 10: | Line 10: | ||
-->+{{#if:{{{29|}}}|1|0}}+{{#if:{{{30|}}}|1|0}}+{{#if:{{{31|}}}|1|0}}+{{#if:{{{32|}}}|1|0}}}}<!-- | -->+{{#if:{{{29|}}}|1|0}}+{{#if:{{{30|}}}|1|0}}+{{#if:{{{31|}}}|1|0}}+{{#if:{{{32|}}}|1|0}}}}<!-- | ||
-->|place={{{place|}}}<!-- | -->|place={{{place|}}}<!-- | ||
+ | -->|date={{{date|}}}<!-- | ||
-->|usdprize={{{usdprize|}}}<!-- | -->|usdprize={{{usdprize|}}}<!-- | ||
-->|localprize={{#if:{{#var:localcurrencysymbol}}|{{{localprize|0}}}}}<!-- | -->|localprize={{#if:{{#var:localcurrencysymbol}}|{{{localprize|0}}}}}<!-- | ||
+ | -->|gearprize={{{gearprize|}}}<!-- | ||
-->|pointprize={{#if:{{#var:points}}|{{{points|0}}}}}<!-- | -->|pointprize={{#if:{{#var:points}}|{{{points|0}}}}}<!-- | ||
− | -->|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}<!-- | + | -->|link={{{link|}}}<!-- |
− | -->|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}<!-- | + | -->|{{lc:{{{1|}}}}}|{{lc:{{{2|}}}}}|{{lc:{{{3|}}}}}|{{lc:{{{4|}}}}}<!-- |
− | -->|{{{9|}}}|{{{10|}}}|{{{11|}}}|{{{12|}}}<!-- | + | -->|{{lc:{{{5|}}}}}|{{lc:{{{6|}}}}}|{{lc:{{{7|}}}}}|{{lc:{{{8|}}}}}<!-- |
− | -->|{{{13|}}}|{{{14|}}}|{{{15|}}}|{{{16|}}}<!-- | + | -->|{{lc:{{{9|}}}}}|{{lc:{{{10|}}}}}|{{lc:{{{11|}}}}}|{{lc:{{{12|}}}}}<!-- |
− | -->|{{{17|}}}|{{{18|}}}|{{{19|}}}|{{{20|}}}<!-- | + | -->|{{lc:{{{13|}}}}}|{{lc:{{{14|}}}}}|{{lc:{{{15|}}}}}|{{lc:{{{16|}}}}}<!-- |
− | -->|{{{21|}}}|{{{22|}}}|{{{23|}}}|{{{24|}}}<!-- | + | -->|{{lc:{{{17|}}}}}|{{lc:{{{18|}}}}}|{{lc:{{{19|}}}}}|{{lc:{{{20|}}}}}<!-- |
− | -->|{{{25|}}}|{{{26|}}}|{{{27|}}}|{{{28|}}}<!-- | + | -->|{{lc:{{{21|}}}}}|{{lc:{{{22|}}}}}|{{lc:{{{23|}}}}}|{{lc:{{{24|}}}}}<!-- |
− | -->|{{{29|}}}|{{{30|}}}|{{{31|}}}|{{{32|}}}<!-- | + | -->|{{lc:{{{25|}}}}}|{{lc:{{{26|}}}}}|{{lc:{{{27|}}}}}|{{lc:{{{28|}}}}}<!-- |
+ | -->|{{lc:{{{29|}}}}}|{{lc:{{{30|}}}}}|{{lc:{{{31|}}}}}|{{lc:{{{32|}}}}}<!-- | ||
-->|literal1={{{literal1|}}}|literal2={{{literal2|}}}|literal3={{{literal3|}}}|literal4={{{literal4|}}}<!-- | -->|literal1={{{literal1|}}}|literal2={{{literal2|}}}|literal3={{{literal3|}}}|literal4={{{literal4|}}}<!-- | ||
-->|literal5={{{literal5|}}}|literal6={{{literal6|}}}|literal7={{{literal7|}}}|literal8={{{literal8|}}}<!-- | -->|literal5={{{literal5|}}}|literal6={{{literal6|}}}|literal7={{{literal7|}}}|literal8={{{literal8|}}}<!-- | ||
Line 61: | Line 64: | ||
-->|wdl25={{{wdl25|}}}|wdl26={{{wdl26|}}}|wdl27={{{wdl27|}}}|wdl28={{{wdl28|}}}<!-- | -->|wdl25={{{wdl25|}}}|wdl26={{{wdl26|}}}|wdl27={{{wdl27|}}}|wdl28={{{wdl28|}}}<!-- | ||
-->|wdl29={{{wdl29|}}}|wdl30={{{wdl30|}}}|wdl31={{{wdl31|}}}|wdl32={{{wdl32|}}}<!-- | -->|wdl29={{{wdl29|}}}|wdl30={{{wdl30|}}}|wdl31={{{wdl31|}}}|wdl32={{{wdl32|}}}<!-- | ||
− | --> | + | -->|date1={{{date1|}}}|date2={{{date2|}}}|date3={{{date3|}}}|date4={{{date4|}}}<!-- |
-->|date5={{{date5|}}}|date6={{{date6|}}}|date7={{{date7|}}}|date8={{{date8|}}}<!-- | -->|date5={{{date5|}}}|date6={{{date6|}}}|date7={{{date7|}}}|date8={{{date8|}}}<!-- | ||
-->|date9={{{date9|}}}|date10={{{date10|}}}|date11={{{date11|}}}|date12={{{date12|}}}<!-- | -->|date9={{{date9|}}}|date10={{{date10|}}}|date11={{{date11|}}}|date12={{{date12|}}}<!-- |
Latest revision as of 20:59, 5 May 2018
(view - edit) Documentation
All credit to Liquipedia.
It is highly recommended to use this instead of a simple table because it saves tournament results semantically so that we can reuse them on team results pages.
Usage
Prize Pool Start
|localcurrency=
- (Optional) Specify the local currency if the prize pool is not specified in US Dollar. See {{local currency}} for possible currency codes.
|points=
- (Optional) Specify the points (eg qualification points). See {{points}} for possible currency codes.
|cutafter=
- (Optional) Specify after how many result rows the cut should be (default: 4).
|noprize=
- (Optional) True if the tournament only awards points and/or seeds, no monetary prizes (eg most qualifiers). Note that {{Prize pool slot}} must not contain any
|usdprize=
. |gear=
- (Optional) True if there are some sort of gear up for grabs.
Prize Pool Slot
Each rank gets his own {{prize pool slot}}. There can be up to 32 teams within one slot.
|place=
- The place for all teams of this slot.
|usdprize=
- The prize money for teams of this slot nominated in US Dollar.
|X=
- One to 32 teams sharing a common place.
|literalX=
- (discouraged) Any value, only needed when there is no team template. It will use {{team/tf}} instead.
|localprize=
- (Optional) The prize money for teams of this slot nominated in the local currency.
|gearprize=
- (Optional) The gear for teams of this slot.
|points=
- (Optional) The amount of points for teams of this slot.
|lastvsX=
- (Heavily encouraged) The last opponent the team played against in that tournament. (Brackets only)
|lastscoreX=
- (Heavily encouraged) The score the team had in their last match in that tournament. (Brackets only)
|lastvsscoreX=
- (Heavily encouraged) The score the opponent had in the team's last match in that tournament. (Brackets only)
|wdlX=
- (Heavily encouraged) If the team went out of that tournament in a group stage, use this parameter with the values for W/D/L.
|defaulttoX=
- If the team went out by default, set this to the opponent that they forfeited the last match against.
|defaultfromX=
- Ditto, but if the team won by default.
|dateX=
- If the team went out on a date different from the last day of the tournament, add it here.
Prize Pool End
Closes the prize pool table.
Example
{{prize pool start}} {{prize pool slot|place=1|usdprize=50|froyotech }} {{prize pool slot|place=2|usdprize=20|nerdRage }} {{prize pool slot|place=3-4|usdprize=10 |Reason Gaming |Ascent }} {{Prize pool end}}
Place | $ USD | Team |
---|---|---|
1st | $50 | froyotech |
2nd | $20 | nerdRage |
3rd-4th | $10 | Reason Gaming |
Ascent |
Copy/paste
4 Teams, no bronze match
{{prize pool start}} {{prize pool slot|place=1|usdprize=0|tbd |lastvs1= |lastscore1= |lastvsscore1= }} {{prize pool slot|place=2|usdprize=0|tbd |lastvs1= |lastscore1= |lastvsscore1= }} {{prize pool slot|place=3-4|usdprize=0 |tbd |lastvs1= |lastscore1= |lastvsscore1= |date1= |tbd |lastvs2= |lastscore2= |lastvsscore2= |date2= }} {{Prize pool end}}
4 Teams, bronze match
{{prize pool start}} {{prize pool slot|place=1|usdprize=0|TBD |lastvs1= |lastscore1= |lastvsscore1= }} {{prize pool slot|place=2|usdprize=0|TBD |lastvs1= |lastscore1= |lastvsscore1= }} {{prize pool slot|place=3|usdprize=0|TBD |lastvs1= |lastscore1= |lastvsscore1= }} {{prize pool slot|place=4|usdprize=0|TBD |lastvs1= |lastscore1= |lastvsscore1= }} {{Prize pool end}}
8 Teams, no bronze match
{{prize pool start }} {{prize pool slot|place=1 |usdprize=0 |tbd |lastvs1= |lastscore1= |lastvsscore1= }} {{prize pool slot|place=2 |usdprize=0 |tbd |lastvs1= |lastscore1= |lastvsscore1= }} {{prize pool slot|place=3-4 |usdprize=0 |tbd |lastvs1= |lastscore1= |lastvsscore1= |date1= |tbd |lastvs2= |lastscore2= |lastvsscore2= |date2= }} {{prize pool slot|place=5-8|usdprize=0 |tbd |lastvs1= |lastscore1= |lastvsscore1= |date1= |tbd |lastvs2= |lastscore2= |lastvsscore2= |date2= |tbd |lastvs3= |lastscore3= |lastvsscore3= |date3= |tbd |lastvs4= |lastscore4= |lastvsscore4= |date4= }} {{Prize pool end}}
8 Teams, no bronze match, with local currency
{{prize pool start |localcurrency=eur}} {{prize pool slot|place=1 |usdprize=0 |localprize=0 |tbd |lastvs1= |lastscore1= |lastvsscore1= }} {{prize pool slot|place=2 |usdprize=0 |localprize=0 |tbd |lastvs1= |lastscore1= |lastvsscore1= }} {{prize pool slot|place=3-4 |usdprize=0 |localprize=0 |tbd |lastvs1= |lastscore1= |lastvsscore1= |date1= |tbd |lastvs2= |lastscore2= |lastvsscore2= |date2= }} {{prize pool slot|place=5-8|usdprize=0 |localprize=0 |tbd |lastvs1= |lastscore1= |lastvsscore1= |date1= |tbd |lastvs2= |lastscore2= |lastvsscore2= |date2= |tbd |lastvs3= |lastscore3= |lastvsscore3= |date3= |tbd |lastvs4= |lastscore4= |lastvsscore4= |date4= }} {{Prize pool end}}