Difference between revisions of "Template:Prize pool slot"

From comp.tf
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:{{...")
 
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}}}}}<!--
 
-->|pointprize={{#if:{{#var:points}}|{{{points|0}}}}}<!--
 
-->|pointprize={{#if:{{#var:points}}|{{{points|0}}}}}<!--
 +
-->|link={{{link|}}}<!--
 
-->|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}<!--
 
-->|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}<!--
 
-->|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}<!--
 
-->|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}<!--

Revision as of 22:50, 25 January 2017

(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
First Place 1st $50 Froyotech icon.png froyotech
Second Place 2nd $20 Nerdrage Icon.png nerdRage
Semifinalist(s) 3rd-4th $10 Reason Gaming Icon.png Reason Gaming
Ascent Icon.png 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}}