Difference between revisions of "Template:PrizepoolSEnoprize"

From QWiki
m (Fix for broken Prize col showing with |number=4 |bronzematch=false)
m (Patched explicit case when players=8, bronzematch=true, finalmatch=false - works to show shared first price)
Line 153: Line 153:
 
!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|1}};"
 
{{!}}-style="background-color:{{MedalColour|1}};"
 
{{!}}align="center"{{!}}{{medal|1}} '''1st'''
 
{{!}}align="center"{{!}}{{medal|1}} '''1st'''
Line 162: Line 173:
 
{{#if:{{{currency2|}}}|{{!}}align="center"{{!}}{{{symbol2}}}{{{c2}}}}}
 
{{#if:{{{currency2|}}}|{{!}}align="center"{{!}}{{{symbol2}}}{{{c2}}}}}
 
{{!}} style="text-align:left;"{{!}}'''{{player|flag={{{f2}}}|race={{{r2}}}|{{{p2}}}}}'''
 
{{!}} style="text-align:left;"{{!}}'''{{player|flag={{{f2}}}|race={{{r2}}}|{{{p2}}}}}'''
{{ #ifeq: true|{{{withteams}}}|{{!}}{{Team|{{{t2}}}}}}}
+
{{ #ifeq: true|{{{withteams}}}|{{!}}{{Team|{{{t2}}}}}}}}}
 
{{!}}-style="background-color:{{MedalColour|3}};"
 
{{!}}-style="background-color:{{MedalColour|3}};"
 
{{!}}align="center"{{!}}{{medal|3}} '''3rd'''
 
{{!}}align="center"{{!}}{{medal|3}} '''3rd'''
Line 170: Line 181:
 
{{!}}-style="background-color:{{MedalColour|4}};"
 
{{!}}-style="background-color:{{MedalColour|4}};"
 
{{!}}align="center"{{!}}{{medal|4}} '''4th'''
 
{{!}}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}}}}}}}
 +
{{!}}-
 +
{{!}} rowspan="2" align="center"{{!}} '''5th-6th'''
 +
{{#if:{{{currency2|}}}|{{!}}align="left"{{!}}{{{symbol2}}}{{{c5}}}}}
 +
{{!}} style="text-align:left;"{{!}}'''{{player|flag={{{f5}}}|race={{{r5}}}|{{{p5}}}}}'''
 +
{{ #ifeq: true|{{{withteams}}}|{{!}}{{Team|{{{t5}}}}}}}
 +
{{!}}-
 +
{{#if:{{{currency2|}}}|{{!}}align="left"{{!}}{{{symbol2}}}{{{c6}}}}}
 +
{{!}} style="text-align:left;"{{!}}'''{{player|flag={{{f6}}}|race={{{r6}}}|{{{p6}}}}}'''
 +
{{ #ifeq: true|{{{withteams}}}|{{!}}{{Team|{{{t6}}}}}}}
 +
{{!}}-
 +
{{!}} rowspan="2" align="center"{{!}} '''7th-8th'''
 +
{{#if:{{{currency2|}}}|{{!}}align="left"{{!}}{{{symbol2}}}{{{c7}}}}}
 +
{{!}} style="text-align:left;"{{!}}'''{{player|flag={{{f7}}}|race={{{r7}}}|{{{p7}}}}}'''
 +
{{ #ifeq: true|{{{withteams}}}|{{!}}{{Team|{{{t7}}}}}}}
 +
{{!}}-
 +
{{#if:{{{currency2|}}}|{{!}}align="left"{{!}}{{{symbol2}}}{{{c8}}}}}
 +
{{!}} style="text-align:left;"{{!}}'''{{player|flag={{{f8}}}|race={{{r8}}}|{{{p8}}}}}'''
 +
{{ #ifeq: true|{{{withteams}}}|{{!}}{{Team|{{{t8}}}}}}}
 +
{{!}}}
 +
|
 +
{{{!}} class="table table-bordered prizepooltable collapsed" style="text-align:center;" data-cutafter="{{{cutafter|4}}}" {{#if:{{{tablestyle|}}}|style="{{{tablestyle|}}}"}}
 +
!width=80px{{!}}Place
 +
!style="text-align:left;" width={{{playerwidth|200px}}}{{!}}Winner
 +
{{ #ifeq: true|{{{withteams}}}|!width=190px{{!}}Team}}
 +
{{!}}-style="background-color:{{MedalColour|1}};"
 +
{{!}}align="center"{{!}}{{medal|1}} '''1st'''
 +
{{#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|2}};"
 +
{{!}}align="center"{{!}}{{medal|2}} '''2nd'''
 +
{{#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}};"
 +
{{!}}rowspan="2" align="center"{{!}}{{medal|sf}}'''3rd/4th'''
 +
{{#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|3}};"
 
{{#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}}}}}'''

Revision as of 20:37, 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
}}