Difference between revisions of "Template:Prize pool slot"

From comp.tf
Jump to navigation Jump to search
m
 
Line 16: Line 16:
 
-->|pointprize={{#if:{{#var:points}}|{{{points|0}}}}}<!--
 
-->|pointprize={{#if:{{#var:points}}|{{{points|0}}}}}<!--
 
-->|link={{{link|}}}<!--
 
-->|link={{{link|}}}<!--
-->|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}<!--
+
-->|{{lc:{{{1|}}}}}|{{lc:{{{2|}}}}}|{{lc:{{{3|}}}}}|{{lc:{{{4|}}}}}<!--
-->|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}<!--
+
-->|{{lc:{{{5|}}}}}|{{lc:{{{6|}}}}}|{{lc:{{{7|}}}}}|{{lc:{{{8|}}}}}<!--
-->|{{{9|}}}|{{{10|}}}|{{{11|}}}|{{{12|}}}<!--
+
-->|{{lc:{{{9|}}}}}|{{lc:{{{10|}}}}}|{{lc:{{{11|}}}}}|{{lc:{{{12|}}}}}<!--
-->|{{{13|}}}|{{{14|}}}|{{{15|}}}|{{{16|}}}<!--
+
-->|{{lc:{{{13|}}}}}|{{lc:{{{14|}}}}}|{{lc:{{{15|}}}}}|{{lc:{{{16|}}}}}<!--
-->|{{{17|}}}|{{{18|}}}|{{{19|}}}|{{{20|}}}<!--
+
-->|{{lc:{{{17|}}}}}|{{lc:{{{18|}}}}}|{{lc:{{{19|}}}}}|{{lc:{{{20|}}}}}<!--
-->|{{{21|}}}|{{{22|}}}|{{{23|}}}|{{{24|}}}<!--
+
-->|{{lc:{{{21|}}}}}|{{lc:{{{22|}}}}}|{{lc:{{{23|}}}}}|{{lc:{{{24|}}}}}<!--
-->|{{{25|}}}|{{{26|}}}|{{{27|}}}|{{{28|}}}<!--
+
-->|{{lc:{{{25|}}}}}|{{lc:{{{26|}}}}}|{{lc:{{{27|}}}}}|{{lc:{{{28|}}}}}<!--
-->|{{{29|}}}|{{{30|}}}|{{{31|}}}|{{{32|}}}<!--
+
-->|{{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|}}}<!--

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
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}}