Difference between revisions of "Template:Prizepool2on2noprize"

From QWiki
(Creating first version)
 
m (Fixing columns)
Line 60: Line 60:
 
{{!}}-style="background-color:{{MedalColour|1}};"
 
{{!}}-style="background-color:{{MedalColour|1}};"
 
{{!}}align="center"{{!}}{{medal|1}} '''1st'''
 
{{!}}align="center"{{!}}{{medal|1}} '''1st'''
{{!}}align="center"{{!}}{{{symbol}}}{{{m1}}}
 
{{#if:{{{currency2|}}}|{{!}}align="center"{{!}}{{{symbol2}}}{{{c1}}}}}
 
 
{{!}} style="text-align:left;"{{!}}'''{{player|flag={{{f1a}}}|{{{p1a}}}}}''' & '''{{player|flag={{{f1b}}}|{{{p1b}}}}}'''
 
{{!}} style="text-align:left;"{{!}}'''{{player|flag={{{f1a}}}|{{{p1a}}}}}''' & '''{{player|flag={{{f1b}}}|{{{p1b}}}}}'''
 
{{!}}-style="background-color:{{MedalColour|2}};"
 
{{!}}-style="background-color:{{MedalColour|2}};"
 
{{!}}align="center"{{!}}{{medal|2}} '''2nd'''
 
{{!}}align="center"{{!}}{{medal|2}} '''2nd'''
{{!}}align="center"{{!}}{{{symbol}}}{{{m2}}}
 
{{#if:{{{currency2|}}}|{{!}}align="center"{{!}}{{{symbol2}}}{{{c2}}}}}
 
 
{{!}} style="text-align:left;"{{!}}'''{{player|flag={{{f2a}}}|{{{p2a}}}}}''' & '''{{player|flag={{{f2b}}}|{{{p2b}}}}}'''
 
{{!}} style="text-align:left;"{{!}}'''{{player|flag={{{f2a}}}|{{{p2a}}}}}''' & '''{{player|flag={{{f2b}}}|{{{p2b}}}}}'''
 
{{!}}-style="background-color:{{MedalColour|3}};"
 
{{!}}-style="background-color:{{MedalColour|3}};"
 
{{!}}align="center"{{!}}{{medal|3}} '''3rd'''
 
{{!}}align="center"{{!}}{{medal|3}} '''3rd'''
{{!}}align="center"{{!}}{{{symbol}}}{{{m3}}}
 
{{#if:{{{currency2|}}}|{{!}}align="center"{{!}}{{{symbol2}}}{{{c3}}}}}
 
 
{{!}} style="text-align:left;"{{!}}'''{{player|flag={{{f3a}}}|{{{p3a}}}}}''' & '''{{player|flag={{{f3b}}}|{{{p3b}}}}}'''
 
{{!}} style="text-align:left;"{{!}}'''{{player|flag={{{f3a}}}|{{{p3a}}}}}''' & '''{{player|flag={{{f3b}}}|{{{p3b}}}}}'''
 
{{!}}-style="background-color:{{MedalColour|4}};"
 
{{!}}-style="background-color:{{MedalColour|4}};"
 
{{!}}align="center"{{!}}{{medal|4}} '''4th'''
 
{{!}}align="center"{{!}}{{medal|4}} '''4th'''
{{!}}align="center"{{!}}{{{symbol}}}{{{m4}}}
 
{{#if:{{{currency2|}}}|{{!}}align="center"{{!}}{{{symbol2}}}{{{c4}}}}}
 
 
{{!}} style="text-align:left;"{{!}}'''{{player|flag={{{f4a}}}|{{{p4a}}}}}''' & '''{{player|flag={{{f4b}}}|{{{p4b}}}}}'''
 
{{!}} style="text-align:left;"{{!}}'''{{player|flag={{{f4a}}}|{{{p4a}}}}}''' & '''{{player|flag={{{f4b}}}|{{{p4b}}}}}'''
 
{{!}}}
 
{{!}}}
Line 85: Line 77:
 
{{!}}-style="background-color:{{MedalColour|1}};"
 
{{!}}-style="background-color:{{MedalColour|1}};"
 
{{!}}align="center"{{!}}{{medal|1}} '''1st'''
 
{{!}}align="center"{{!}}{{medal|1}} '''1st'''
{{!}}align="center"{{!}}{{{symbol}}}{{{m1}}}
 
{{#if:{{{currency2|}}}|{{!}}align="center"{{!}}{{{symbol2}}}{{{c1}}}}}
 
 
{{!}} style="text-align:left;"{{!}}'''{{player|flag={{{f1a}}}|{{{p1a}}}}}''' & '''{{player|flag={{{f1b}}}|{{{p1b}}}}}'''
 
{{!}} style="text-align:left;"{{!}}'''{{player|flag={{{f1a}}}|{{{p1a}}}}}''' & '''{{player|flag={{{f1b}}}|{{{p1b}}}}}'''
 
{{!}}-style="background-color:{{MedalColour|2}};"
 
{{!}}-style="background-color:{{MedalColour|2}};"
 
{{!}}align="center"{{!}}{{medal|2}} '''2nd'''
 
{{!}}align="center"{{!}}{{medal|2}} '''2nd'''
{{!}}align="center"{{!}}{{{symbol}}}{{{m2}}}
 
{{#if:{{{currency2|}}}|{{!}}align="center"{{!}}{{{symbol2}}}{{{c2}}}}}
 
 
{{!}} style="text-align:left;"{{!}}'''{{player|flag={{{f2a}}}|{{{p2a}}}}}''' & '''{{player|flag={{{f2b}}}|{{{p2b}}}}}'''
 
{{!}} style="text-align:left;"{{!}}'''{{player|flag={{{f2a}}}|{{{p2a}}}}}''' & '''{{player|flag={{{f2b}}}|{{{p2b}}}}}'''
 
{{!}}-style="background-color:{{MedalColour|3}};"
 
{{!}}-style="background-color:{{MedalColour|3}};"
 
{{!}}rowspan="2" align="center"{{!}}{{medal|sf}}'''3rd/4th'''
 
{{!}}rowspan="2" align="center"{{!}}{{medal|sf}}'''3rd/4th'''
{{!}}rowspan="2" align="center"{{!}}{{{symbol}}}{{{m3}}}
 
{{#if:{{{currency2|}}}|{{!}}rowspan="2" align="center"{{!}}{{{symbol2}}}{{{c3}}}}}
 
 
{{!}} style="text-align:left;"{{!}}'''{{player|flag={{{f3a}}}|{{{p3a}}}}}''' & '''{{player|flag={{{f3b}}}|{{{p3b}}}}}'''
 
{{!}} style="text-align:left;"{{!}}'''{{player|flag={{{f3a}}}|{{{p3a}}}}}''' & '''{{player|flag={{{f3b}}}|{{{p3b}}}}}'''
 
{{!}}-style="background-color:{{MedalColor|3}};"
 
{{!}}-style="background-color:{{MedalColor|3}};"

Revision as of 08:37, 22 May 2024

Documentation (view - edit)

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:


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