Difference between revisions of "Template:PrizepoolSE/doc"

From QWiki
m
m (Cleanup doc)
Line 1: Line 1:
:''See [[Help:Manual_of_Style#Currency|Manual of Style]] for currency formatting rules and a list of currencies, their symbols, and their shortenings.''
+
__NOTOC__
 +
Template for a prizepool table for tournaments. See also {{Tl|PrizepoolSEnoprize}} and {{Tl|PrizepoolSEnoprizeNolink}}.
 +
 
  
Template for a prizepool table for single elimination tournaments.<br>
 
 
==Example==
 
==Example==
 
The code:
 
The code:
 
<pre>{{PrizepoolSE
 
<pre>{{PrizepoolSE
|number=16
+
|number=4
 
|bronzematch=true
 
|bronzematch=true
|withteams=true
+
|withteams=false
 
|symbol=€
 
|symbol=€
 
|symbol2=$
 
|symbol2=$
 
|currency=EUR
 
|currency=EUR
 
|currency2=USD
 
|currency2=USD
|source=http://www.xe.com/
+
|p1=Mutilator|f1=se|m1=5,000|t1=skt|c1=4,000
|rate=1,30522
+
|p2=blAze|f2=fi|m2=2,222|t2=kt|c2=2,000
|date= April 12th, 2014
+
|p3=sane|f3=us|m3=5|t3=hwaseung|c3=53
|p1=Bisu|r1=p|f1=kr|m1=5,000|t1=skt|c1=4,000
+
|p4=GT|f4=br|m4=5|t4=khan|c4=54
|p2=YellOw|r2=z|f2=kr|m2=2,222|t2=kt|c2=2,000
 
|p3=Jaedong|r3=z|f3=kr|m3=5|t3=hwaseung|c3=53
 
|p4=Stork|r4=p|f4=kr|m4=5|t4=khan|c4=54
 
|p5=Tossgirl|r5=t|f5=kr|m5=50|t5=stx|c5=5
 
|p6=Reach|r6=p|f6=kr|m6=5|t6=kt|c6=5
 
|p7=BoxeR|r7=t|f7=kr|m7=5|t7=skt|c7=5
 
|p8=NonY|r8=p|f8=us|m8=5|t8=estro|c8=55
 
|p9=Flash|r9=t|f9=kr|m9=3000|t9=kt|c9=12345
 
|p10=firebathero|r10=t|f10=kr|m10=200|t10=khan|c10=5
 
|p11=Nal_rA|r11=p|f11=kr|m11=5|t11=kt|c11=5
 
|p12=Iris|r12=t|f12=kr|m12=5|t12=cj|c12=5
 
|p13=July|r13=z|f13=kr|m13=50|t13=pos|c13=5
 
|p14=NaDa|r14=t|f14=kr|m14=5|t14=pantech|c14=5
 
|p15=Horang2|r15=p|f15=kr|m15=5|t15=cj|c15=5
 
|p16=IdrA|r16=p|f16=us|m16=5|t16=cj|c16=5
 
 
}}</pre>
 
}}</pre>
  
 
Gives us:
 
Gives us:
 
{{PrizepoolSE
 
{{PrizepoolSE
|number=16
+
|number=4
 
|bronzematch=true
 
|bronzematch=true
|withteams=true
+
|withteams=false
 
|symbol=€
 
|symbol=€
 
|symbol2=$
 
|symbol2=$
 
|currency=EUR
 
|currency=EUR
 
|currency2=USD
 
|currency2=USD
|source=http://www.xe.com/
+
|p1=Mutilator|f1=se|m1=5,000|t1=skt|c1=4,000
|rate=1,30522
+
|p2=blAze|f2=fi|m2=2,222|t2=kt|c2=2,000
|date= April 12th, 2014
+
|p3=sane|f3=us|m3=5|t3=hwaseung|c3=53
|p1=Bisu|r1=p|f1=kr|m1=5,000|t1=skt|c1=4,000
+
|p4=GT|f4=br|m4=5|t4=khan|c4=54
|p2=YellOw|r2=z|f2=kr|m2=2,222|t2=kt|c2=2,000
 
|p3=Jaedong|r3=z|f3=kr|m3=5|t3=hwaseung|c3=53
 
|p4=Stork|r4=p|f4=kr|m4=5|t4=khan|c4=54
 
|p5=Tossgirl|r5=t|f5=kr|m5=50|t5=stx|c5=5
 
|p6=Reach|r6=p|f6=kr|m6=5|t6=kt|c6=5
 
|p7=BoxeR|r7=t|f7=kr|m7=5|t7=skt|c7=5
 
|p8=NonY|r8=p|f8=us|m8=5|t8=estro|c8=55
 
|p9=Flash|r9=t|f9=kr|m9=3000|t9=kt|c9=12345
 
|p10=firebathero|r10=t|f10=kr|m10=200|t10=khan|c10=5
 
|p11=Nal_rA|r11=p|f11=kr|m11=5|t11=kt|c11=5
 
|p12=Iris|r12=t|f12=kr|m12=5|t12=cj|c12=5
 
|p13=July|r13=z|f13=kr|m13=50|t13=pos|c13=5
 
|p14=NaDa|r14=t|f14=kr|m14=5|t14=pantech|c14=5
 
|p15=Horang2|r15=p|f15=kr|m15=5|t15=cj|c15=5
 
|p16=IdrA|r16=p|f16=us|m16=5|t16=cj|c16=5
 
 
}}
 
}}
 
==Parameters==
 
==Parameters==
===Necessary===
 
 
;|number=
 
;|number=
 
:sets number of players. Allowed inputs are 1,2,3,4,6,8,16.
 
:sets number of players. Allowed inputs are 1,2,3,4,6,8,16.
Line 76: Line 46:
 
;|fX=
 
;|fX=
 
:flag of the Xth player.
 
:flag of the Xth player.
;|rX=
 
:race of the Xth player.
 
 
;|tX=
 
;|tX=
 
:team of the Xth player.
 
:team of the Xth player.
Line 97: Line 65:
 
;|cX=
 
;|cX=
 
:Amount of the converted prize for the Xth player.
 
:Amount of the converted prize for the Xth player.
;|rate=
 
:Conversion rate.
 
;|source=
 
:Source for conversion rate. Internet site expected, for example http://www.xe.com.
 
;|date=
 
:Date of conversion.
 
  
 
==Copy/Paste==
 
==Copy/Paste==
Line 113: Line 75:
 
|currency=
 
|currency=
 
|currency2=
 
|currency2=
|source=http://www.xe.com/
+
|p1= |f1=|m1=|t1=|c1=
|rate=
+
|p2= |f2=|m2=|t2=|c2=
|date=
+
|p3= |f3=|m3=|t3=|c3=
|p1= |r1=|f1=|m1=|t1=|c1=
+
|p4= |f4=|m4=|t4=|c4=
|p2= |r2=|f2=|m2=|t2=|c2=
+
|p5= |f5=|m5=|t5=|c5=
|p3= |r3=|f3=|m3=|t3=|c3=
+
|p6= |f6=|m6=|t6=|c6=
|p4= |r4=|f4=|m4=|t4=|c4=
+
|p7= |f7=|m7=|t7=|c7=
|p5= |r5=|f5=|m5=|t5=|c5=
+
|p8= |f8=|m8=|t8=|c8=
|p6= |r6=|f6=|m6=|t6=|c6=
+
|p9= |f9=|m9=|t9=|c9=
|p7= |r7=|f7=|m7=|t7=|c7=
+
|p10= |f10=|m10=|t10=|c10=
|p8= |r8=|f8=|m8=|t8=|c8=
+
|p11= |f11=|m11=|t11=|c11=
|p9= |r9=|f9=|m9=|t9=|c9=
+
|p12= |f12=|m12=|t12=|c12=
|p10= |r10=|f10=|m10=|t10=|c10=
+
|p13= |f13=|m13=|t13=|c13=
|p11= |r11=|f11=|m11=|t11=|c11=
+
|p14= |f14=|m14=|t14=|c14=
|p12= |r12=|f12=|m12=|t12=|c12=
+
|p15= |f15=|m15=|t15=|c15=
|p13= |r13=|f13=|m13=|t13=|c13=
+
|p16= |f16=|m16=|t16=|c16=
|p14= |r14=|f14=|m14=|t14=|c14=
 
|p15= |r15=|f15=|m15=|t15=|c15=
 
|p16= |r16=|f16=|m16=|t16=|c16=
 
 
}}</pre>
 
}}</pre>
  

Revision as of 11:26, 23 November 2020

Template for a prizepool table for tournaments. See also {{PrizepoolSEnoprize}} and {{PrizepoolSEnoprizeNolink}}.


Example

The code:

{{PrizepoolSE
|number=4
|bronzematch=true
|withteams=false
|symbol=€
|symbol2=$
|currency=EUR
|currency2=USD
|p1=Mutilator|f1=se|m1=5,000|t1=skt|c1=4,000
|p2=blAze|f2=fi|m2=2,222|t2=kt|c2=2,000
|p3=sane|f3=us|m3=5|t3=hwaseung|c3=53
|p4=GT|f4=br|m4=5|t4=khan|c4=54
}}

Gives us:

Place Prize (EUR) ~Prize (USD)* Winner
1st €5,000 $4,000 Sweden Mutilator
2nd €2,222 $2,000 Finland blAze
3rd €5 $53 United States sane
4th €5 $54 Brazil GT


Parameters

|number=
sets number of players. Allowed inputs are 1,2,3,4,6,8,16.
|bronzematch=
set to "true" if there's a bronzematch, which means different prizepool for 3rd and 4th place. Only needed if player number is >3.
|currency=
Currency of the prizes. Is displayed in the title line.
|symbol=
Symbol for currency, for example €,$,£. Is displayed before the prize value.
|pX=
ID of the Xth player.
|fX=
flag of the Xth player.
|tX=
team of the Xth player.
|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