Template:Prizepool2on2noprize/doc

From QWiki
< Template:Prizepool2on2noprize
Revision as of 10:12, 30 October 2024 by Bps (talk | contribs) (Created doc)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Example

The code:

{{Prizepool2on2noprize
|number=8
|width=
|playerwidth=200
|bronzematch=true
|symbol=
|currency=
|p1a=reppie |f1a=nl |p1b=razor |f1b=se
|p2a=Delitel |f2a=ru |p2b=Tyrannos |f2b=ru
|p3a=Bloody |f3a=ru |p3b=XN |f3b=ru
|p4a=Unknown |f4a=ru |p4b=DooM|f4b=ru
|p5a=Dao |f5a=ru |p5b=yog |f5b=ru
|p6a=TaPaKaH |f6a=ru |p6b=makc |f6b=ru
|p7a=.koval |f7a=ua |p7b=mouse |f7b=ua
|p8a=doomah|f8a=ru |p8b=tikhon|f8b=ru
}}

Gives us:

Place Winners
1st Netherlands reppie & Sweden razor
2nd Russia Delitel & Russia Tyrannos
3rd Russia Bloody & Russia XN
4th Russia Unknown & Russia DooM
5th-6th Russia Dao & Russia yog
Russia TaPaKaH & Russia makc
7th-8th Ukraine .koval & Ukraine mouse
Russia doomah & Russia tikhon


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.
|pXa=
Name of the Xth player in team A. Leave empty for TBD.
|fXa=
Flag of the Xth player in team A. Leave empty for default flag TBD.
|pXb=
Name of the Xth player in team B. Leave empty for TBD.
|fXb=
Flag of the Xth player in team B. Leave empty for default flag TBD.

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.

Copy/Paste

{{Prizepool2on2noprize
|number=8
|width=
|playerwidth=200
|bronzematch=true
|symbol=
|currency=
|p1a= |f1a= |p1b= |f1b=
|p2a= |f2a= |p2b= |f2b=
|p3a= |f3a= |p3b= |f3b=
|p4a= |f4a= |p4b= |f4b=
|p5a= |f5a= |p5b= |f5b=
|p6a= |f6a= |p6b= |f6b=
|p7a= |f7a= |p7b= |f7b=
|p8a= |f8a= |p8b= |f8b=
}}

Adapted from Liquipedia