Difference between revisions of "Template:Prizepool2on2"

From QWiki
(Creating new prizepool table holding 2 players on each row)
 
m (Fixed so currency is non-mandatory for all number of winners)
 
Line 5: Line 5:
 
{{{!}} class="table table-bordered" style="text-align:center;" data-cutafter="{{{cutafter|4}}}" {{#if:{{{tablestyle|}}}|style="{{{tablestyle|}}}"}}
 
{{{!}} class="table table-bordered" style="text-align:center;" data-cutafter="{{{cutafter|4}}}" {{#if:{{{tablestyle|}}}|style="{{{tablestyle|}}}"}}
 
!width=80px{{!}}Place
 
!width=80px{{!}}Place
!width={{{width|85px}}}{{!}}Prize ({{{currency}}})
+
!width={{{width|85px}}}{{!}}Prize{{#if:{{{currency}}}| ({{{currency}}})| }}
 
{{#if:{{{currency2|}}}|!width=95px {{!}}~Prize ({{{currency2}}})*}}
 
{{#if:{{{currency2|}}}|!width=95px {{!}}~Prize ({{{currency2}}})*}}
 
!style="text-align:left;" width={{{playerwidth|200px}}}{{!}}Winners
 
!style="text-align:left;" width={{{playerwidth|200px}}}{{!}}Winners
Line 20: Line 20:
 
{{{!}} class="table table-bordered" style="text-align:center;" data-cutafter="{{{cutafter|4}}}" {{#if:{{{tablestyle|}}}|style="{{{tablestyle|}}}"}}
 
{{{!}} class="table table-bordered" style="text-align:center;" data-cutafter="{{{cutafter|4}}}" {{#if:{{{tablestyle|}}}|style="{{{tablestyle|}}}"}}
 
!width=80px{{!}}Place
 
!width=80px{{!}}Place
!width={{{width|85px}}}{{!}}Prize ({{{currency}}})
+
!width={{{width|85px}}}{{!}}Prize{{#if:{{{currency}}}| ({{{currency}}})| }}
 
{{#if:{{{currency2|}}}|!width=95px {{!}}~Prize ({{{currency2}}})*}}
 
{{#if:{{{currency2|}}}|!width=95px {{!}}~Prize ({{{currency2}}})*}}
 
!style="text-align:left;" width={{{playerwidth|200px}}}{{!}}Winners
 
!style="text-align:left;" width={{{playerwidth|200px}}}{{!}}Winners
Line 39: Line 39:
 
{{{!}} class="table table-bordered" style="text-align:center;" data-cutafter="{{{cutafter|4}}}" {{#if:{{{tablestyle|}}}|style="{{{tablestyle|}}}"}}
 
{{{!}} class="table table-bordered" style="text-align:center;" data-cutafter="{{{cutafter|4}}}" {{#if:{{{tablestyle|}}}|style="{{{tablestyle|}}}"}}
 
!width=80px{{!}}Place
 
!width=80px{{!}}Place
!width={{{width|85px}}}{{!}}Prize ({{{currency}}})
+
!width={{{width|85px}}}{{!}}Prize{{#if:{{{currency}}}| ({{{currency}}})| }}
 
{{#if:{{{currency2|}}}|!width=95px {{!}}~Prize ({{{currency2}}})*}}
 
{{#if:{{{currency2|}}}|!width=95px {{!}}~Prize ({{{currency2}}})*}}
 
!style="text-align:left;" width={{{playerwidth|200px}}}{{!}}Winners
 
!style="text-align:left;" width={{{playerwidth|200px}}}{{!}}Winners
Line 63: Line 63:
 
{{{!}} class="table table-bordered" style="text-align:center;" data-cutafter="{{{cutafter|4}}}" {{#if:{{{tablestyle|}}}|style="{{{tablestyle|}}}"}}
 
{{{!}} class="table table-bordered" style="text-align:center;" data-cutafter="{{{cutafter|4}}}" {{#if:{{{tablestyle|}}}|style="{{{tablestyle|}}}"}}
 
!width=80px{{!}}Place
 
!width=80px{{!}}Place
!width={{{width|85px}}}{{!}}Prize ({{{currency}}})
+
!width={{{width|85px}}}{{!}}Prize{{#if:{{{currency}}}| ({{{currency}}})| }}
 
{{#if:{{{currency2|}}}|!width=95px {{!}}~Prize ({{{currency2}}})*}}
 
{{#if:{{{currency2|}}}|!width=95px {{!}}~Prize ({{{currency2}}})*}}
 
!style="text-align:left;" width={{{playerwidth|200px}}}{{!}}Winners
 
!style="text-align:left;" width={{{playerwidth|200px}}}{{!}}Winners
Line 90: Line 90:
 
{{{!}} class="table table-bordered" style="text-align:center;" data-cutafter="{{{cutafter|4}}}" {{#if:{{{tablestyle|}}}|style="{{{tablestyle|}}}"}}
 
{{{!}} class="table table-bordered" style="text-align:center;" data-cutafter="{{{cutafter|4}}}" {{#if:{{{tablestyle|}}}|style="{{{tablestyle|}}}"}}
 
!width=80px{{!}}Place
 
!width=80px{{!}}Place
!width={{{width|85px}}}{{!}}Prize ({{{currency}}})
+
!width={{{width|85px}}}{{!}}Prize{{#if:{{{currency}}}| ({{{currency}}})| }}
 
{{#if:{{{currency2|}}}|!width=95px {{!}}~Prize ({{{currency2}}})*}}
 
{{#if:{{{currency2|}}}|!width=95px {{!}}~Prize ({{{currency2}}})*}}
 
!style="text-align:left;" width={{{playerwidth|200px}}}{{!}}Winners
 
!style="text-align:left;" width={{{playerwidth|200px}}}{{!}}Winners
Line 117: Line 117:
 
{{{!}} class="table table-bordered prizepooltable collapsed" style="text-align:center;" data-cutafter="{{{cutafter|4}}}" {{#if:{{{tablestyle|}}}|style="{{{tablestyle|}}}"}}
 
{{{!}} class="table table-bordered prizepooltable collapsed" style="text-align:center;" data-cutafter="{{{cutafter|4}}}" {{#if:{{{tablestyle|}}}|style="{{{tablestyle|}}}"}}
 
!width=80px{{!}}Place
 
!width=80px{{!}}Place
!width={{{width|85px}}}{{!}}Prize ({{{currency}}})
+
!width={{{width|85px}}}{{!}}Prize{{#if:{{{currency}}}| ({{{currency}}})| }}
 
{{#if:{{{currency2|}}}|!width=95px {{!}}~Prize ({{{currency2}}})*}}
 
{{#if:{{{currency2|}}}|!width=95px {{!}}~Prize ({{{currency2}}})*}}
 
!style="text-align:left;" width={{{playerwidth|200px}}}{{!}}Winners
 
!style="text-align:left;" width={{{playerwidth|200px}}}{{!}}Winners
Line 155: Line 155:
 
{{{!}} class="table table-bordered prizepooltable collapsed" style="text-align:center;" data-cutafter="{{{cutafter|4}}}" {{#if:{{{tablestyle|}}}|style="{{{tablestyle|}}}"}}
 
{{{!}} class="table table-bordered prizepooltable collapsed" style="text-align:center;" data-cutafter="{{{cutafter|4}}}" {{#if:{{{tablestyle|}}}|style="{{{tablestyle|}}}"}}
 
!width=80px{{!}}Place
 
!width=80px{{!}}Place
!width={{{width|85px}}}{{!}}Prize ({{{currency}}})
+
!width={{{width|85px}}}{{!}}Prize{{#if:{{{currency}}}| ({{{currency}}})| }}
 
{{#if:{{{currency2|}}}|!width=95px {{!}}~Prize ({{{currency2}}})*}}
 
{{#if:{{{currency2|}}}|!width=95px {{!}}~Prize ({{{currency2}}})*}}
 
!style="text-align:left;" width={{{playerwidth|200px}}}{{!}}Winners
 
!style="text-align:left;" width={{{playerwidth|200px}}}{{!}}Winners
Line 207: Line 207:
 
{{{!}} class="table table-bordered prizepooltable collapsed" style="text-align:center;" data-cutafter="{{{cutafter|4}}}" {{#if:{{{tablestyle|}}}|style="{{{tablestyle|}}}"}}
 
{{{!}} class="table table-bordered prizepooltable collapsed" style="text-align:center;" data-cutafter="{{{cutafter|4}}}" {{#if:{{{tablestyle|}}}|style="{{{tablestyle|}}}"}}
 
!width=80px{{!}}Place
 
!width=80px{{!}}Place
!width={{{width|85px}}}{{!}}Prize ({{{currency}}})
+
!width={{{width|85px}}}{{!}}Prize{{#if:{{{currency}}}| ({{{currency}}})| }}
 
{{#if:{{{currency2|}}}|!width=95px {{!}}~Prize ({{{currency2}}})*}}
 
{{#if:{{{currency2|}}}|!width=95px {{!}}~Prize ({{{currency2}}})*}}
 
!style="text-align:left;" width={{{playerwidth|200px}}}{{!}}Winners
 
!style="text-align:left;" width={{{playerwidth|200px}}}{{!}}Winners

Latest revision as of 10:40, 6 December 2022

Documentation (view - edit)

Template for a prizepool table for 2on2 tournaments that requires 2 players/flags on each line.

See also {{PrizepoolSEnoprize}}, {{PrizepoolSE}} and {{PrizepoolSEnoprizeNolink}}.



{{Prizepool2on2
|number=6
|width=91
|playerwidth=240
|bronzematch=true
|symbol=
|currency=USD
|p1a=Milton |f1a=fi |p1b=carapace |f1b=se |m1=$3,000
|p2a=GT |f2a=br |p2b=mur |f2b=br |m2=$1,500
|p3a=bps |f3a=se |p3b=locust |f3b=se |m3=$1,000
|p4a=BLooD_DoG |f4a=ca |p4b=BogoJoker |f4b=us |m4=$500
|p5a=dot |f5a=ru |p5b=BuLaT |f5b=ru |m5=$250
|p6a=mazer |f6a=se |p6b=henu |f6b=fi |m6=$250
}}

Copy/paste

{{Prizepool2on2
|number=4
|width=91
|playerwidth=240
|bronzematch=true
|symbol=
|currency=USD
|p1a= |f1a= |p1b= |f1b= |m1=
|p2a= |f2a= |p2b= |f2b= |m2=
|p3a= |f3a= |p3b= |f3b= |m3=
|p4a= |f4a= |p4b= |f4b= |m4=
|p5a= |f5a= |p5b= |f5b= |m5=
|p6a= |f6a= |p6b= |f6b= |m6=
}}