Difference between revisions of "Template:PrizepoolSEnoprize"

From QWiki
m (Patched explicit case when players=8, bronzematch=true, finalmatch=false - works to show shared first price)
m (Patched explicit case when players=4, bronzematch=true, finalmatch=false - works to show shared first price)
Line 62: Line 62:
 
!style="text-align:left;" width={{{playerwidth|200px}}}{{!}}Winner
 
!style="text-align:left;" width={{{playerwidth|200px}}}{{!}}Winner
 
{{ #ifeq: true|{{{withteams}}}|!width=190px{{!}}Team}}
 
{{ #ifeq: true|{{{withteams}}}|!width=190px{{!}}Team}}
 +
{{ #ifeq: false|{{{finalmatch}}}|
 +
{{!}}-style="background-color:{{MedalColour|1}};"
 +
{{!}}rowspan="2" align="center"{{!}}{{medal|1}} '''1st/2nd'''
 +
{{#if:{{{currency2|}}}|{{!}}align="center"{{!}}{{{symbol2}}}{{{c1}}}}}
 +
{{!}} style="text-align:left;"{{!}}'''{{player|flag={{{f1}}}|race={{{r1}}}|{{{p1}}}}}'''
 +
{{ #ifeq: true|{{{withteams}}}|{{!}}{{Team|{{{t1}}}}}}}
 +
{{!}}-style="background-color:{{MedalColour|1}};"
 +
{{#if:{{{currency2|}}}|{{!}}align="center"{{!}}{{{symbol2}}}{{{c2}}}}}
 +
{{!}} style="text-align:left;"{{!}}'''{{player|flag={{{f2}}}|race={{{r2}}}|{{{p2}}}}}'''
 +
{{ #ifeq: true|{{{withteams}}}|{{!}}{{Team|{{{t2}}}}}}}
 +
{{!}}-style="background-color:{{MedalColour|3}};"
 +
{{!}}align="center"{{!}}{{medal|3}} '''3rd'''
 +
{{#if:{{{currency2|}}}|{{!}}align="center"{{!}}{{{symbol2}}}{{{c3}}}}}
 +
{{!}} style="text-align:left;"{{!}}'''{{player|flag={{{f3}}}|race={{{r3}}}|{{{p3}}}}}'''
 +
{{ #ifeq: true|{{{withteams}}}|{{!}}{{Team|{{{t3}}}}}}}
 +
{{!}}-style="background-color:{{MedalColour|4}};"
 +
{{!}}align="center"{{!}}{{medal|4}} '''4th'''
 +
{{#if:{{{currency2|}}}|{{!}}align="center"{{!}}{{{symbol2}}}{{{c4}}}}}
 +
{{!}} style="text-align:left;"{{!}}'''{{player|flag={{{f4}}}|race={{{r4}}}|{{{p4}}}}}'''
 +
{{ #ifeq: true|{{{withteams}}}|{{!}}{{Team|{{{t4}}}}}}}
 +
|
 
{{!}}-style="background-color:{{MedalColour|1}};"
 
{{!}}-style="background-color:{{MedalColour|1}};"
 
{{!}}align="center"{{!}}{{medal|1}} '''1st'''
 
{{!}}align="center"{{!}}{{medal|1}} '''1st'''
Line 81: Line 102:
 
{{#if:{{{currency2|}}}|{{!}}align="center"{{!}}{{{symbol2}}}{{{c4}}}}}
 
{{#if:{{{currency2|}}}|{{!}}align="center"{{!}}{{{symbol2}}}{{{c4}}}}}
 
{{!}} style="text-align:left;"{{!}}'''{{player|flag={{{f4}}}|race={{{r4}}}|{{{p4}}}}}'''
 
{{!}} style="text-align:left;"{{!}}'''{{player|flag={{{f4}}}|race={{{r4}}}|{{{p4}}}}}'''
{{ #ifeq: true|{{{withteams}}}|{{!}}{{Team|{{{t4}}}}}}}
+
{{ #ifeq: true|{{{withteams}}}|{{!}}{{Team|{{{t4}}}}}}}}}
 
{{!}}}
 
{{!}}}
 
|
 
|

Revision as of 21:14, 14 March 2021

Documentation (view - edit)

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


Place Winner
1st France speedball
2nd Russia VVD
3rd Finland kip


{{PrizepoolSEnoprize
|number=3
|width=
|playerwidth=140
|bronzematch=true
|date=September 17, 2017 - 20:00 {{Abbr|CEST|(UTC+2)}}
|p1=speedball|f1=fr
|p2=VVD|f2=ru
|p3=kip|f3=fi
|p4=rasta|f4=nl
}}