Difference between revisions of "Template:PrizepoolSE/doc"
From QWiki
(Created page with ":''See Manual of Style for currency formatting rules and a list of currencies, their symbols, and their shortenings.'' Template for a prizep...") |
m (Updated doc to apply to modernised template) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | __NOTOC__ | |
+ | Template for a prizepool table for tournaments. See also {{Tl|PrizepoolSEnoprize}} and {{Tl|PrizepoolSEnoprizeNolink}}. | ||
+ | |||
− | |||
==Example== | ==Example== | ||
The code: | The code: | ||
<pre>{{PrizepoolSE | <pre>{{PrizepoolSE | ||
− | |number= | + | |number=8 |
+ | |width= | ||
+ | |playerwidth=200 | ||
|bronzematch=true | |bronzematch=true | ||
− | + | |symbol= | |
− | |symbol= | + | |currency=USD |
− | + | |p1=Zepp |f1=ru |m1=$3,000 | |
− | |currency | + | |p2=Lordlame |f2=ie |m2=$1,500 |
− | + | |p3=Avenger |f3=pl |m3=$1,000 | |
− | + | |p4=Blixem |f4=nl |m4=$500 | |
− | + | |p5=carapace |f5=se |m5=$350 | |
− | + | |p6=Rock |f6=fi |m6=$250 | |
− | |p1= | + | |p7=Milton |f7=fi |m7=$200 |
− | |p2= | + | |p8=blAze |f8=fi |m8= |
− | |p3= | ||
− | |p4= | ||
− | |p5= | ||
− | |p6= | ||
− | |p7= | ||
− | |p8= | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}}</pre> | }}</pre> | ||
Gives us: | Gives us: | ||
{{PrizepoolSE | {{PrizepoolSE | ||
− | |number= | + | |number=8 |
+ | |width= | ||
+ | |playerwidth=200 | ||
|bronzematch=true | |bronzematch=true | ||
− | + | |symbol= | |
− | |symbol= | + | |currency=USD |
− | + | |p1=Zepp |f1=ru |m1=$3,000 | |
− | |currency | + | |p2=Lordlame |f2=ie |m2=$1,500 |
− | + | |p3=Avenger |f3=pl |m3=$1,000 | |
− | + | |p4=Blixem |f4=nl |m4=$500 | |
− | + | |p5=carapace |f5=se |m5=$350 | |
− | + | |p6=Rock |f6=fi |m6=$250 | |
− | |p1= | + | |p7=Milton |f7=fi |m7=$200 |
− | |p2= | + | |p8=blAze |f8=fi |m8= |
− | |p3= | ||
− | |p4= | ||
− | |p5= | ||
− | |p6= | ||
− | |p7= | ||
− | |p8= | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
==Parameters== | ==Parameters== | ||
− | |||
;|number= | ;|number= | ||
− | : | + | :Sets number of players. Allowed inputs are 1,2,3,4,6,8,16. |
+ | ;|cutafter= | ||
+ | :Caps when the toggle appears (default 4). | ||
;|bronzematch= | ;|bronzematch= | ||
− | :set to "true" | + | :Must be set to "true" in all cases except <mark>number=4</mark>. |
;|currency= | ;|currency= | ||
:Currency of the prizes. Is displayed in the title line. | :Currency of the prizes. Is displayed in the title line. | ||
;|symbol= | ;|symbol= | ||
− | : | + | :Ignore this, and manually add symbol for each value. |
;|pX= | ;|pX= | ||
− | : | + | :Name of the Xth player. Leave empty for {{abbr|TBD|To Be Decided}}. |
;|fX= | ;|fX= | ||
− | : | + | :Flag of the Xth player. Leave empty for default flag {{Flag/tbd}}. |
− | |||
− | |||
;|tX= | ;|tX= | ||
− | : | + | :Team of the Xth player. Probably shouldn't use this. |
;|mX= | ;|mX= | ||
− | : | + | :Amount of prizemoney for the Xth player. |
===Optional=== | ===Optional=== | ||
;|tablestyle= | ;|tablestyle= | ||
Line 97: | Line 73: | ||
;|cX= | ;|cX= | ||
:Amount of the converted prize for the Xth player. | :Amount of the converted prize for the Xth player. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Copy/Paste== | ==Copy/Paste== | ||
Line 113: | Line 83: | ||
|currency= | |currency= | ||
|currency2= | |currency2= | ||
− | + | |p1= |f1=|m1=|t1=|c1= | |
− | + | |p2= |f2=|m2=|t2=|c2= | |
− | + | |p3= |f3=|m3=|t3=|c3= | |
− | |p1 | + | |p4= |f4=|m4=|t4=|c4= |
− | |p2 | + | |p5= |f5=|m5=|t5=|c5= |
− | |p3 | + | |p6= |f6=|m6=|t6=|c6= |
− | |p4 | + | |p7= |f7=|m7=|t7=|c7= |
− | |p5 | + | |p8= |f8=|m8=|t8=|c8= |
− | |p6 | + | |p9= |f9=|m9=|t9=|c9= |
− | |p7 | + | |p10= |f10=|m10=|t10=|c10= |
− | |p8 | + | |p11= |f11=|m11=|t11=|c11= |
− | |p9 | + | |p12= |f12=|m12=|t12=|c12= |
− | |p10 | + | |p13= |f13=|m13=|t13=|c13= |
− | |p11 | + | |p14= |f14=|m14=|t14=|c14= |
− | |p12 | + | |p15= |f15=|m15=|t15=|c15= |
− | |p13 | + | |p16= |f16=|m16=|t16=|c16= |
− | |p14 | ||
− | |p15 | ||
− | |p16 | ||
}}</pre> | }}</pre> | ||
<noinclude>[[Category:Template Documentation Pages]]</noinclude> | <noinclude>[[Category:Template Documentation Pages]]</noinclude> | ||
+ | |||
+ | Adapted from [http://wiki.teamliquid.net/starcraft2/Template:PrizepoolSE Liquipedia] |
Latest revision as of 22:08, 27 January 2021
Template for a prizepool table for tournaments. See also {{PrizepoolSEnoprize}} and {{PrizepoolSEnoprizeNolink}}.
Example
The code:
{{PrizepoolSE |number=8 |width= |playerwidth=200 |bronzematch=true |symbol= |currency=USD |p1=Zepp |f1=ru |m1=$3,000 |p2=Lordlame |f2=ie |m2=$1,500 |p3=Avenger |f3=pl |m3=$1,000 |p4=Blixem |f4=nl |m4=$500 |p5=carapace |f5=se |m5=$350 |p6=Rock |f6=fi |m6=$250 |p7=Milton |f7=fi |m7=$200 |p8=blAze |f8=fi |m8= }}
Gives us:
Place | Prize (USD) | Winner |
---|---|---|
1st | $3,000 | Zepp |
2nd | $1,500 | Lordlame |
3rd | $1,000 | Avenger |
4th | $500 | Blixem |
5th-6th | $350 | carapace |
Rock | ||
7th-8th | $200 | Milton |
blAze |
Parameters
- |number=
- Sets number of players. Allowed inputs are 1,2,3,4,6,8,16.
- |cutafter=
- Caps when the toggle appears (default 4).
- |bronzematch=
- Must be set to "true" in all cases except number=4.
- |currency=
- Currency of the prizes. Is displayed in the title line.
- |symbol=
- Ignore this, and manually add symbol for each value.
- |pX=
- Name of the Xth player. Leave empty for TBD.
- |fX=
- Flag of the Xth player. Leave empty for default flag .
- |tX=
- Team of the Xth player. Probably shouldn't use this.
- |mX=
- Amount of prizemoney for the Xth player.
Optional
- |tablestyle=
- This declares additional table CSS styling.
- |withteams=
- Parameter "true" enables the 'Team' column. Shall this parameter be missing or assigned a value other than "true", the column 'Team' will not appear in the table.
- |width=
- Sets a different width for the first prize column. Default value is 85px.
- |playerwidth=
- Sets a different width for the player column. Default value is 200px.
- |currency2=
- 2nd currency, in which prizes are converted for simpler reading. Most likely "USD".
- |symbol2=
- Symbol of the converted currency. Most likely "$".
- |cX=
- Amount of the converted prize for the Xth player.
Copy/Paste
{{PrizepoolSE |number= |bronzematch= |withteams= |symbol= |symbol2= |currency= |currency2= |p1= |f1=|m1=|t1=|c1= |p2= |f2=|m2=|t2=|c2= |p3= |f3=|m3=|t3=|c3= |p4= |f4=|m4=|t4=|c4= |p5= |f5=|m5=|t5=|c5= |p6= |f6=|m6=|t6=|c6= |p7= |f7=|m7=|t7=|c7= |p8= |f8=|m8=|t8=|c8= |p9= |f9=|m9=|t9=|c9= |p10= |f10=|m10=|t10=|c10= |p11= |f11=|m11=|t11=|c11= |p12= |f12=|m12=|t12=|c12= |p13= |f13=|m13=|t13=|c13= |p14= |f14=|m14=|t14=|c14= |p15= |f15=|m15=|t15=|c15= |p16= |f16=|m16=|t16=|c16= }}
Adapted from Liquipedia