Difference between revisions of "Template:NewInfobox Season"

From comp.tf
Jump to navigation Jump to search
m (Changed protection level for "Template:NewInfobox Season": Add lock to Template Page ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)))
m
 
(47 intermediate revisions by 3 users not shown)
Line 32: Line 32:
 
<div>
 
<div>
 
<div class="infobox-cell-2 infobox-description">Series:</div>
 
<div class="infobox-cell-2 infobox-description">Series:</div>
<div class="infobox-cell-2">{{{series}}}</div>
+
<div class="infobox-cell-2">{{#ifexist:Template:LeagueIconSmall/{{lc:{{{series}}}}}|{{LeagueIconSmall/{{lc:{{{series}}}}}}}|}} {{#ifexist:{{{series}}}|[[{{{series}}}]]|{{{series}}}}}</div>
 
</div>
 
</div>
 
}}<!--
 
}}<!--
Line 64: Line 64:
 
<div>
 
<div>
 
<div class="infobox-cell-2 infobox-description">{{#if:{{{gamemode2|}}}|Game Modes|Game Mode}}:</div>
 
<div class="infobox-cell-2 infobox-description">{{#if:{{{gamemode2|}}}|Game Modes|Game Mode}}:</div>
<div class="infobox-cell-2">{{#switch:{{{gamemode|}}}
+
<div class="infobox-cell-2">{{#switch: {{lc: {{{gamemode|}}} }}
|1v1= 1v1[[Category:MGE Tournaments]]
+
|1v1= [[:Category:MGE Tournaments|1v1]]
|MGE= MGE[[Category:MGE Tournaments]]
+
|mge= [[:Category:MGE Tournaments|MGE]]
|BBall= BBall[[Category:BBall Tournaments]]
+
|bball= [[:Category:BBall Tournaments|BBall]]
|Ultiduo= Ultiduo[[Category:Ultiduo Tournaments]]
+
|ultiduo= [[:Category:Ultiduo Tournaments|Ultiduo]]
|2v2= 2v2[[Category:2v2 Tournaments]]
+
|2v2= [[:Category:2v2 Tournaments|2v2]]
|4v4= 4v4[[Category:4v4 Tournaments]]
+
|4v4= [[:Category:4v4 Tournaments|4v4]]
|6v6= 6v6[[Category:6v6 Tournaments]]
+
|6v6= [[:Category:6v6 Tournaments|6v6]]
|9v9= Highlander[[Category:Highlander Tournaments]]
+
|7v7= [[:Category:7v7 Tournaments|7v7]]
|Highlander= Highlander[[Category:Highlander Tournaments]]
+
|9v9= [[:Category:Highlander Tournaments|Highlander]]
|Ready Steady Pan= Ready Steady Pan[[Category:Ready Steady Pan Tournaments]]
+
|Highlander= [[:Category:Highlander Tournaments|Highlander]]
|{{{gamemode}}}[[Category:{{{gamemode}}} Tournaments]]}} <!--
+
|Ready Steady Pan= [[:Category:Ready Steady Pan Tournaments|Ready Steady Pan]]
 +
|[[:Category:{{{gamemode}}} Tournaments|{{{gamemode}}}]]}} <!--
 
-->{{#if:{{{gamemode2|}}}|
 
-->{{#if:{{{gamemode2|}}}|
<br />{{#switch:{{{gamemode2|}}}
+
<br />{{#switch: {{lc: {{{gamemode2|}}} }}
|1v1= 1v1[[Category:MGE Tournaments]]
+
|1v1= [[:Category:MGE Tournaments|1v1]]
|MGE= MGE[[Category:MGE Tournaments]]
+
|mge= [[:Category:MGE Tournaments|MGE]]
|BBall= BBall[[Category:BBall Tournaments]]
+
|bball= [[:Category:BBall Tournaments|BBall]]
|Ultiduo= Ultiduo[[Category:Ultiduo Tournaments]]
+
|ultiduo= [[:Category:Ultiduo Tournaments|Ultiduo]]
|2v2= 2v2[[Category:2v2 Tournaments]]
+
|2v2= [[:Category:2v2 Tournaments|2v2]]
|4v4= 4v4[[Category:4v4 Tournaments]]
+
|4v4= [[:Category:4v4 Tournaments|4v4]]
|6v6= 6v6[[Category:6v6 Tournaments]]
+
|6v6= [[:Category:6v6 Tournaments|6v6]]
|Highlander= Highlander[[Category:Highlander Tournaments]]
+
|7v7= [[:Category:7v7 Tournaments|7v7]]
|Ready Steady Pan= Ready Steady Pan[[Category:Ready Steady Pan Tournaments]]
+
|9v9= [[:Category:Highlander Tournaments|Highlander]]
|{{{gamemode2}}}[[Category:{{{gamemode2}}} Tournaments]]}}}} <!--
+
|Highlander= [[:Category:Highlander Tournaments|Highlander]]
 +
|Ready Steady Pan= [[:Category:Ready Steady Pan Tournaments|Ready Steady Pan]]
 +
|[[:Category:{{{gamemode2}}} Tournaments|{{{gamemode2}}}]]}} }} <!--
 
-->{{#if:{{{gamemode3|}}}|
 
-->{{#if:{{{gamemode3|}}}|
<br />{{#switch:{{{gamemode3|}}}
+
<br />{{#switch: {{lc: {{{gamemode3|}}} }}
|1v1= 1v1[[Category:MGE Tournaments]]
+
|1v1= [[:Category:MGE Tournaments|1v1]]
|MGE= MGE[[Category:MGE Tournaments]]
+
|mge= [[:Category:MGE Tournaments|MGE]]
|BBall= BBall[[Category:BBall Tournaments]]
+
|bball= [[:Category:BBall Tournaments|BBall]]
|Ultiduo= Ultiduo[[Category:Ultiduo Tournaments]]
+
|ultiduo= [[:Category:Ultiduo Tournaments|Ultiduo]]
|2v2= 2v2[[Category:2v2 Tournaments]]
+
|2v2= [[:Category:2v2 Tournaments|2v2]]
|4v4= 4v4[[Category:4v4 Tournaments]]
+
|4v4= [[:Category:4v4 Tournaments|4v4]]
|6v6= 6v6[[Category:6v6 Tournaments]]
+
|6v6= [[:Category:6v6 Tournaments|6v6]]
|Highlander= Highlander[[Category:Highlander Tournaments]]
+
|7v7= [[:Category:7v7 Tournaments|7v7]]
|Ready Steady Pan= Ready Steady Pan[[Category:Ready Steady Pan Tournaments]]
+
|9v9= [[:Category:Highlander Tournaments|Highlander]]
|{{{gamemode3}}}[[Category:{{{gamemode3}}} Tournaments]]}}}} <!--
+
|Highlander= [[:Category:Highlander Tournaments|Highlander]]
 +
|Ready Steady Pan= [[:Category:Ready Steady Pan Tournaments|Ready Steady Pan]]
 +
|[[:Category:{{{gamemode3}}} Tournaments|{{{gamemode3}}}]]}} }} <!--
 
-->{{#if:{{{gamemode4|}}}|
 
-->{{#if:{{{gamemode4|}}}|
<br />{{#switch:{{{gamemode4|}}}
+
<br />{{#switch: {{lc: {{{gamemode4|}}} }}
|1v1= 1v1[[Category:MGE Tournaments]]
+
|1v1= [[:Category:MGE Tournaments|1v1]]
|MGE= MGE[[Category:MGE Tournaments]]
+
|mge= [[:Category:MGE Tournaments|MGE]]
|BBall= BBall[[Category:BBall Tournaments]]
+
|bball= [[:Category:BBall Tournaments|BBall]]
|Ultiduo= Ultiduo[[Category:Ultiduo Tournaments]]
+
|ultiduo= [[:Category:Ultiduo Tournaments|Ultiduo]]
|2v2= 2v2[[Category:2v2 Tournaments]]
+
|2v2= [[:Category:2v2 Tournaments|2v2]]
|4v4= 4v4[[Category:4v4 Tournaments]]
+
|4v4= [[:Category:4v4 Tournaments|4v4]]
|6v6= 6v6[[Category:6v6 Tournaments]]
+
|6v6= [[:Category:6v6 Tournaments|6v6]]
|Highlander= Highlander[[Category:Highlander Tournaments]]
+
|7v7= [[:Category:7v7 Tournaments|7v7]]
|Ready Steady Pan= Ready Steady Pan[[Category:Ready Steady Pan Tournaments]]
+
|9v9= [[:Category:Highlander Tournaments|Highlander]]
|{{{gamemode4}}}[[Category:{{{gamemode4}}} Tournaments]]}}}} <!--
+
|Highlander= [[:Category:Highlander Tournaments|Highlander]]
 +
|Ready Steady Pan= [[:Category:Ready Steady Pan Tournaments|Ready Steady Pan]]
 +
|[[:Category:{{{gamemode4}}} Tournaments|{{{gamemode4}}}]]}} }} <!--
 
-->{{#if:{{{gamemode5|}}}|
 
-->{{#if:{{{gamemode5|}}}|
<br />{{#switch:{{{gamemode5|}}}
+
<br />{{#switch: {{lc: {{{gamemode5|}}} }}
|1v1= 1v1[[Category:MGE Tournaments]]
+
|1v1= [[:Category:MGE Tournaments|1v1]]
|MGE= MGE[[Category:MGE Tournaments]]
+
|mge= [[:Category:MGE Tournaments|MGE]]
|BBall= BBall[[Category:BBall Tournaments]]
+
|bball= [[:Category:BBall Tournaments|BBall]]
|Ultiduo= Ultiduo[[Category:Ultiduo Tournaments]]
+
|ultiduo= [[:Category:Ultiduo Tournaments|Ultiduo]]
|2v2= 2v2[[Category:2v2 Tournaments]]
+
|2v2= [[:Category:2v2 Tournaments|2v2]]
|4v4= 4v4[[Category:4v4 Tournaments]]
+
|4v4= [[:Category:4v4 Tournaments|4v4]]
|6v6= 6v6[[Category:6v6 Tournaments]]
+
|6v6= [[:Category:6v6 Tournaments|6v6]]
|Highlander= Highlander[[Category:Highlander Tournaments]]
+
|7v7= [[:Category:7v7 Tournaments|7v7]]
|Ready Steady Pan= Ready Steady Pan[[Category:Ready Steady Pan Tournaments]]
+
|9v9= [[:Category:Highlander Tournaments|Highlander]]
|{{{gamemode5}}}[[Category:{{{gamemode5}}} Tournaments]]}}}} </div>
+
|Highlander= [[:Category:Highlander Tournaments|Highlander]]
 +
|Ready Steady Pan= [[:Category:Ready Steady Pan Tournaments|Ready Steady Pan]]
 +
|[[:Category:{{{gamemode5}}} Tournaments|{{{gamemode5}}}]]}} }} </div>
 
</div>
 
</div>
}} <!--
+
}}<!--
  
 
Event Type
 
Event Type
Line 146: Line 155:
 
<div>
 
<div>
 
<div class="infobox-cell-2 infobox-description">Location:</div>
 
<div class="infobox-cell-2 infobox-description">Location:</div>
<div class="infobox-cell-2">{{flag|{{lc:{{{country}}}}}}}&nbsp;{{{city|{{{country}}}}}} {{#ifeq:{{localisation|{{{country}}}}}|error
+
<div class="infobox-cell-2">{{#ifeq:{{localisation|{{{country}}}}}|error||{{flag|{{lc:{{{country}}}}}}}&nbsp;}}{{{city|{{{country}}}}}} {{#ifeq:{{localisation|{{{country}}}}}|error
 
|[[Category:Unrecognised Country||{{{country}}}]]
 
|[[Category:Unrecognised Country||{{{country}}}]]
 
|[[Category:{{localisation|{{{country}}}}} Tournaments]]}} <!--
 
|[[Category:{{localisation|{{{country}}}}} Tournaments]]}} <!--
 
-->{{#if:{{{country2|}}}|
 
-->{{#if:{{{country2|}}}|
<br />{{flag|{{lc:{{{country2}}}}}}}&nbsp;{{{city2|{{{country2}}}}}} {{#ifeq:{{localisation|{{{country2}}}}}|error
+
<br />{{#ifeq:{{localisation|{{{country}}}}}|error||{{flag|{{lc:{{{country2}}}}}}}&nbsp;}}{{{city2|{{{country2}}}}}} {{#ifeq:{{localisation|{{{country2}}}}}|error
 
|[[Category:Unrecognised Country||{{{country2}}}]]
 
|[[Category:Unrecognised Country||{{{country2}}}]]
 
|[[Category:{{localisation|{{{country2}}}}} Tournaments]]}}}}</div>
 
|[[Category:{{localisation|{{{country2}}}}} Tournaments]]}}}}</div>
Line 172: Line 181:
 
<div class="infobox-cell-2">{{{format}}}</div>
 
<div class="infobox-cell-2">{{{format}}}</div>
 
</div>
 
</div>
}}<!--
+
}}
  
Prize pool
+
<!--
 +
Prize Pool
  
-->{{#if:{{{prizepool|}}}|
+
-->{{#if:{{{prizepool|}}} {{{prizepoolusd|}}}|
 
<div>
 
<div>
<div class="infobox-cell-2 infobox-description">Prize pool:</div>
+
<div class="infobox-cell-2 infobox-description">Prize Pool:</div>
<div class="infobox-cell-2">{{{prizepool|}}}</div>
+
<div class="infobox-cell-2">{{#if: {{{prizepool|}}}|{{#if:{{{localcurrency|}}}|{{Local currency|{{lc:{{{localcurrency|}}}}}|prizepool={{{prizepool|}}}}}|{{{prizepool|}}}|[[Category:Infobox league lacking localcurrency]]}}<br>{{#if: {{{prizepoolusd|}}}|(≃ ${{{prizepoolusd}}} {{Abbr/USD}})| }}|${{{prizepoolusd|}}} {{Abbr/USD}}}}</div>
 
</div>
 
</div>
 
}}<!--
 
}}<!--
Line 219: Line 229:
 
}}<!--
 
}}<!--
  
Player of the Season
+
Best Player
  
 
-->{{#if:{{{bestplayer|}}}|
 
-->{{#if:{{{bestplayer|}}}|
 
<div>
 
<div>
<div class="infobox-cell-2 infobox-description">Player of<br />the Season:</div>
+
<div class="infobox-cell-2 infobox-description">Best Player:</div>
 
<div class="infobox-cell-2">{{{bestplayer}}}</div>
 
<div class="infobox-cell-2">{{{bestplayer}}}</div>
 
</div>
 
</div>
Line 230: Line 240:
 
Icons
 
Icons
  
-->{{#if:{{{web|}}}{{{archive|}}}{{{tables|}}}|
+
-->{{#if:{{{web|}}}{{{archive|}}}{{{brackets|}}}|
 
<div>
 
<div>
 
<div class="infobox-header infobox-header-2">Links</div>
 
<div class="infobox-header infobox-header-2">Links</div>
Line 237: Line 247:
 
<div class="infobox-center infobox-icons"><!--
 
<div class="infobox-center infobox-icons"><!--
 
--> {{#if:{{{web|}}}|[[Image:InfoboxIcon Homepage.png|32px|Homepage|link={{{web}}}]]}}<!--
 
--> {{#if:{{{web|}}}|[[Image:InfoboxIcon Homepage.png|32px|Homepage|link={{{web}}}]]}}<!--
 +
--> {{#if:{{{web2|}}}|[[Image:InfoboxIcon Homepage.png|32px|Homepage|link={{{web2}}}]]}}<!--
 
--> {{#if:{{{archive|}}}|[[Image:InfoboxIcon Archive.png|32px|Archive|link={{{archive}}}]]}}<!--
 
--> {{#if:{{{archive|}}}|[[Image:InfoboxIcon Archive.png|32px|Archive|link={{{archive}}}]]}}<!--
 
--> {{#if:{{{brackets|}}}|[[Image:InfoboxIcon Tables.png|32px|{{#if:{{{bracketscomment|}}}|{{{bracketscomment}}}|Brackets}}|link={{{brackets}}}]]}}<!--
 
--> {{#if:{{{brackets|}}}|[[Image:InfoboxIcon Tables.png|32px|{{#if:{{{bracketscomment|}}}|{{{bracketscomment}}}|Brackets}}|link={{{brackets}}}]]}}<!--
Line 255: Line 266:
 
<div>
 
<div>
 
<div class="infobox-center"><!--
 
<div class="infobox-center"><!--
-->{{#if:{{{teamfirst|}}}|{{Medal|1}}&nbsp;{{TeamIcon/{{{teamfirst}}}}}}}<!--
+
-->{{#if:{{{teamfirst|}}}|{{Medal|1}}&nbsp;{{TeamIcon/{{lc:{{{teamfirst}}}}}}}}}<!--
 
--></div>
 
--></div>
 
</div>
 
</div>
Line 262: Line 273:
 
<div>
 
<div>
 
<div class="infobox-center {{#if:{{{teamthird2|}}}{{{teamfourth|}}}||infobox-cell-2}}"><!--
 
<div class="infobox-center {{#if:{{{teamthird2|}}}{{{teamfourth|}}}||infobox-cell-2}}"><!--
-->{{#if:{{{teamsecond|}}}|{{Medal|2}}&nbsp;{{TeamIcon/{{{teamsecond}}}}}}}<!--
+
-->{{#if:{{{teamsecond|}}}|{{Medal|2}}&nbsp;{{TeamIcon/{{lc:{{{teamsecond}}}}}}}}}<!--
 
--></div><!--
 
--></div><!--
-->{{#if:{{{teamthird2|}}}{{{teamfourth|}}}||<div class="infobox-center infobox-cell-2">{{#if:{{{teamthird|}}}|{{Medal|3}}&nbsp;{{TeamIcon/{{{teamthird}}}}}}}</div>}}<!--
+
-->{{#if:{{{teamthird2|}}}{{{teamfourth|}}}||<div class="infobox-center infobox-cell-2">{{#if:{{{teamthird|}}}|{{Medal|3}}&nbsp;{{TeamIcon/{{lc:{{{teamthird}}}}}}}}}</div>}}<!--
 
--></div>
 
--></div>
 
}}
 
}}
 
{{#if:{{{teamthird2|}}}{{{teamfourth|}}}|
 
{{#if:{{{teamthird2|}}}{{{teamfourth|}}}|
 
<div>
 
<div>
<div class="infobox-center infobox-cell-2">{{#if:{{{teamthird|}}}|{{Medal|{{#if:{{{teamfourth|}}}|3|sf}}}}&nbsp;{{TeamIcon/{{{teamthird}}}}}}}</div>
+
<div class="infobox-center infobox-cell-2">{{#if:{{{teamthird|}}}|{{Medal|{{#if:{{{teamfourth|}}}|3|sf}}}}&nbsp;{{TeamIcon/{{lc:{{{teamthird}}}}}}}}}</div>
 
{{#if:{{{idthird2|}}}{{{teamthird2|}}}|
 
{{#if:{{{idthird2|}}}{{{teamthird2|}}}|
<div class="infobox-center infobox-cell-2">{{#if:{{{teamthird2|}}}|{{Medal|sf}}&nbsp;{{TeamIcon/{{{teamthird2}}}}}}}</div>
+
<div class="infobox-center infobox-cell-2">{{#if:{{{teamthird2|}}}|{{Medal|sf}}&nbsp;{{TeamIcon/{{lc:{{{teamthird2}}}}}}}}}</div>
|<div class="infobox-center infobox-cell-2">{{#if:{{{teamfourth|}}}|{{Medal|4}}&nbsp;{{TeamIcon/{{{teamfourth}}}}}}}</div>
+
|<div class="infobox-center infobox-cell-2">{{#if:{{{teamfourth|}}}|{{Medal|4}}&nbsp;{{TeamIcon/{{lc:{{{teamfourth}}}}}}}}}</div>
 
}}
 
}}
 
</div>
 
</div>
Line 329: Line 340:
 
<div class="infobox-center"><small>{{{footnotes}}}</small></div>
 
<div class="infobox-center"><small>{{{footnotes}}}</small></div>
 
</div>
 
</div>
}}<!--
+
}}
 
 
Adbox
 
-->
 
 
</div>
 
</div>
<htmlet>infobox</htmlet>
+
</div><!--
</div>
 
<!--
 
  
 
Categories
 
Categories
  
 
{{#ifeq:{{NAMESPACE}}||
 
{{#ifeq:{{NAMESPACE}}||
-->[[Category:Tournaments]]<!--
+
-->[[Category:Tournaments]]
--><!--
+
 
 +
{{#if:{{{gamemode|}}}|
 +
{{#switch: {{lc: {{{gamemode|}}} }}
 +
|1v1= [[Category:MGE Tournaments]]
 +
|MGE= [[Category:MGE Tournaments]]
 +
|BBall= [[Category:BBall Tournaments]]
 +
|Ultiduo= [[Category:Ultiduo Tournaments]]
 +
|2v2= [[Category:2v2 Tournaments]]
 +
|4v4= [[Category:4v4 Tournaments]]
 +
|6v6= [[Category:6v6 Tournaments]]
 +
|7v7= [[Category:7v7 Tournaments]]
 +
|9v9= [[Category:Highlander Tournaments]]
 +
|Highlander= [[Category:Highlander Tournaments]]
 +
|Ready Steady Pan= [[Category:Ready Steady Pan Tournaments]]
 +
|[[Category:{{{gamemode}}} Tournaments]]}} }}<!--
 +
-->{{#if:{{{gamemode2|}}}|
 +
{{#switch: {{lc: {{{gamemode2|}}} }}
 +
|1v1= [[Category:MGE Tournaments]]
 +
|MGE= [[Category:MGE Tournaments]]
 +
|BBall= [[Category:BBall Tournaments]]
 +
|Ultiduo= [[Category:Ultiduo Tournaments]]
 +
|2v2= [[Category:2v2 Tournaments]]
 +
|4v4= [[Category:4v4 Tournaments]]
 +
|6v6= [[Category:6v6 Tournaments]]
 +
|7v7= [[Category:7v7 Tournaments]]
 +
|9v9= [[Category:Highlander Tournaments]]
 +
|Highlander= [[Category:Highlander Tournaments]]
 +
|Ready Steady Pan= [[Category:Ready Steady Pan Tournaments]]
 +
|[[Category:{{{gamemode2}}} Tournaments]]}} }} <!--
 +
-->{{#if:{{{gamemode3|}}}|
 +
{{#switch: {{lc: {{{gamemode3|}}} }}
 +
|1v1= [[Category:MGE Tournaments]]
 +
|MGE= [[Category:MGE Tournaments]]
 +
|BBall= [[Category:BBall Tournaments]]
 +
|Ultiduo= [[Category:Ultiduo Tournaments]]
 +
|2v2= [[Category:2v2 Tournaments]]
 +
|4v4= [[Category:4v4 Tournaments]]
 +
|6v6= [[Category:6v6 Tournaments]]
 +
|7v7= [[Category:7v7 Tournaments]]
 +
|9v9= [[Category:Highlander Tournaments]]
 +
|Highlander= [[Category:Highlander Tournaments]]
 +
|Ready Steady Pan= [[Category:Ready Steady Pan Tournaments]]
 +
|[[Category:{{{gamemode3}}} Tournaments]]}} }} <!--
 +
-->{{#if:{{{gamemode4|}}}|
 +
{{#switch: {{lc: {{{gamemode4|}}} }}
 +
|1v1= [[Category:MGE Tournaments]]
 +
|MGE= [[Category:MGE Tournaments]]
 +
|BBall= [[Category:BBall Tournaments]]
 +
|Ultiduo= [[Category:Ultiduo Tournaments]]
 +
|2v2= [[Category:2v2 Tournaments]]
 +
|4v4= [[Category:4v4 Tournaments]]
 +
|6v6= [[Category:6v6 Tournaments]]
 +
|7v7= [[Category:7v7 Tournaments]]
 +
|9v9= [[Category:Highlander Tournaments]]
 +
|Highlander= [[Category:Highlander Tournaments]]
 +
|Ready Steady Pan= [[Category:Ready Steady Pan Tournaments]]
 +
|[[Category:{{{gamemode4}}} Tournaments]]}} }} <!--
 +
-->{{#if:{{{gamemode5|}}}|
 +
{{#switch: {{lc: {{{gamemode5|}}} }}
 +
|1v1= [[Category:MGE Tournaments]]
 +
|MGE= [[Category:MGE Tournaments]]
 +
|BBall= [[Category:BBall Tournaments]]
 +
|Ultiduo= [[Category:Ultiduo Tournaments]]
 +
|2v2= [[Category:2v2 Tournaments]]
 +
|4v4= [[Category:4v4 Tournaments]]
 +
|6v6= [[Category:6v6 Tournaments]]
 +
|7v7= [[Category:7v7 Tournaments]]
 +
|9v9= [[Category:Highlander Tournaments]]
 +
|Highlander= [[Category:Highlander Tournaments]]
 +
|Ready Steady Pan= [[Category:Ready Steady Pan Tournaments]]
 +
|[[Category:{{{gamemode5}}} Tournaments]]}} }} <!--
  
 
SMW
 
SMW
Line 353: Line 429:
 
|?#
 
|?#
 
|?Has map date
 
|?Has map date
 +
|format=earliest
 
}}}}
 
}}}}
 
{{#if:{{{sdate|{{{date|}}}}}}|{{#set:
 
{{#if:{{{sdate|{{{date|}}}}}}|{{#set:
 
|has first match date={{#var:earliest|{{{sdate|{{{date|}}}}}} 0:00}}  
 
|has first match date={{#var:earliest|{{{sdate|{{{date|}}}}}} 0:00}}  
 
}}}}
 
}}}}
 
+
-->{{#set:
Disabled due to lack of plugin
 
 
 
{{#set:
 
 
|has id={{{id|{{PAGENAME}}}}}
 
|has id={{{id|{{PAGENAME}}}}}
 +
|is individual tournament={{#if:{{{individual|}}}|True|False}}
 
|has name={{#if:{{{romanized_name|}}}|{{{romanized_name|}}}|{{{name|}}}}}
 
|has name={{#if:{{{romanized_name|}}}|{{{romanized_name|}}}|{{{name|}}}}}
 
|has image={{#if:{{{image|}}}|File:{{{image}}}}}
 
|has image={{#if:{{{image|}}}|File:{{{image}}}}}
Line 371: Line 446:
 
|has city2={{{city2|}}}
 
|has city2={{{city2|}}}
 
|is part of series={{{series|}}}
 
|is part of series={{{series|}}}
|has abbreviation={{{abbreviation|{{#show: {{{series|}}}| ?has abbreviation |default= }} }}}
+
<!--|has abbreviation={{{abbreviation|{{#if:{{{series|}}}|{{#show: {{{series}}}| ?has abbreviation |default= }}}} }}}-->
 
|has start date={{#if:{{{sdate|}}}|{{#ifeq:{{lc:{{{sdate|}}}}}|tba||{{#replace:{{#replace:{{{sdate|}}}|-XX|}}|-??|}}}}|{{#ifeq:{{lc:{{{date|}}}}}|tba||{{#replace:{{#replace:{{{date|}}}|-XX|}}|-??|}}}}}}
 
|has start date={{#if:{{{sdate|}}}|{{#ifeq:{{lc:{{{sdate|}}}}}|tba||{{#replace:{{#replace:{{{sdate|}}}|-XX|}}|-??|}}}}|{{#ifeq:{{lc:{{{date|}}}}}|tba||{{#replace:{{#replace:{{{date|}}}|-XX|}}|-??|}}}}}}
 
|has date={{#if:{{{date|}}}|{{#ifeq:{{lc:{{{date|}}}}}|tba||{{#replace:{{#replace:{{{date|}}}|-XX|}}|-??|}}}}|{{#ifeq:{{lc:{{{sdate|}}}}}|tba||{{#replace:{{#replace:{{{sdate|}}}|-XX|}}|-??|}}}}}}
 
|has date={{#if:{{{date|}}}|{{#ifeq:{{lc:{{{date|}}}}}|tba||{{#replace:{{#replace:{{{date|}}}|-XX|}}|-??|}}}}|{{#ifeq:{{lc:{{{sdate|}}}}}|tba||{{#replace:{{#replace:{{{sdate|}}}|-XX|}}|-??|}}}}}}
Line 379: Line 454:
 
|has organizer3={{{organizer3|}}}
 
|has organizer3={{{organizer3|}}}
 
|has organizer4={{{organizer4|}}}
 
|has organizer4={{{organizer4|}}}
|has sponsor={{{sponsor|}}}
+
<!--|has sponsor={{{sponsor|}}}-->
 +
|has number={{{number|}}}
 
|has tournament type={{{type|}}}
 
|has tournament type={{{type|}}}
|has total teams={{{totalteams|}}}
+
|has team number={{{team_number|}}}
|has tlpd={{{tlpd|}}}
+
|has game={{{game|}}}
|has format={{{format|}}}
+
<!--|has format={{{format|}}}
|has patch={{{patch|}}}
+
|has prizepool={{{prizepoolusd|{{#ifeq:{{lc:{{{localcurrency|}}}}}|usd|{{{prizepool|}}}}}}}}
|has prizepool={{{prizepool|}}}
+
|has prizepool in usd={{#if:{{{prizepoolusd|}}}|$ {{{prizepoolusd}}}|{{#if:{{{localcurrency|}}}|{{Local currency|{{lc:{{{localcurrency|}}}}}|prizepool={{{prizepool|}}}}}|{{{prizepool|}}}}} }}-->
|has prizepool in usd={{{prizepoolusd|{{{prizepool|}}}}}}
+
|has web={{{web|}}}
|has site={{{web|}}}
 
|is valve major={{{valvemajor|}}}
 
 
|has stream={{{stream|}}}
 
|has stream={{{stream|}}}
  
Line 415: Line 489:
 
|has fourth place race={{{racefourth|}}}
 
|has fourth place race={{{racefourth|}}}
 
|has fourth place flag={{{flagfourth|}}}
 
|has fourth place flag={{{flagfourth|}}}
}}
+
}}<!--
----- VARIABLES (used within the prize pool templates) Also disabled due to lack of plugin -----
+
 
 +
----- VARIABLES (used within the prize pool templates) -----
  
{{#vardefine:tournament_date|{{#if:{{{edate|}}}|{{#ifeq:{{lc:{{{edate|}}}}}|tba||{{#replace:{{#replace:{{{edate|}}}|-XX|}}|-??|}}}}|{{#ifeq:{{lc:{{{date|}}}}}|tba||{{#replace:{{#replace:{{{date|}}}|-XX|}}|-??|}}}}}}}}
+
-->{{#vardefine:tournament_date|{{#if:{{{edate|}}}|{{#ifeq:{{lc:{{{edate|}}}}}|tba||{{#replace:{{#replace:{{{edate|}}}|-XX|}}|-??|}}}}|{{#ifeq:{{lc:{{{date|}}}}}|tba||{{#replace:{{#replace:{{{date|}}}|-XX|}}|-??|}}}}}}}}<!--
}}-->
+
-->{{#vardefine:tournament_sdate|{{#if:{{{sdate|}}}|{{#ifeq:{{lc:{{{sdate|}}}}}|tba||{{#replace:{{#replace:{{{sdate|}}}|-XX|}}|-??|}}}}|{{#ifeq:{{lc:{{{date|}}}}}|tba||{{#replace:{{#replace:{{{date|}}}|-XX|}}|-??|}}}}}}}}<!--
<!--this one from before the categories
+
-->{{#vardefine:tournament_edate|{{#if:{{{edate|}}}|{{#ifeq:{{lc:{{{edate|}}}}}|tba||{{#replace:{{#replace:{{{edate|}}}|-XX|}}|-??|}}}}|{{#ifeq:{{lc:{{{date|}}}}}|tba||{{#replace:{{#replace:{{{date|}}}|-XX|}}|-??|}}}}}}}}<!--
 +
-->{{#vardefine:tournament_name|{{{name|}}}}}<!--
 +
-->{{#vardefine:tournament_ticker_name|{{#if:{{{tickername|}}}|{{{tickername}}}|{{{name|}}}}}}}<!--
 +
-->{{#vardefine:tournament_icon|{{{icon|}}}}}<!--
 +
-->{{#vardefine:tournament_game|{{{game|}}}}}<!--
 +
-->{{#vardefine:tournament_type|{{{type|}}}}}<!--
 +
-->{{#vardefine:tournament_series|{{{series|}}}}}<!--
 +
}}<!--this one from before the categories
  
 
--></includeonly><noinclude>{{Documentation}}[[Category:Infoboxes]]</noinclude>
 
--></includeonly><noinclude>{{Documentation}}[[Category:Infoboxes]]</noinclude>

Latest revision as of 16:17, 25 May 2020

(view - edit) Documentation

[e][h]Dick's Fantastic Game
ETF2LScoutVsScoutCup2.png
Dick's Fantastic Game sponsered by Flally floof McMuffin
League Information
Series:
ETF2L's 6v6 Nations Cup
Organizer:
Sponsor:
Flally floof McMuffin
Game Mode:
Type:
LAN
Location:
Europe Europe
Prize Pool:
£ 0,000
Start Date:
2014-02-30
End Date:
2014-02-31
Total Teams:
169
Best Player:
Links
Homepage Archive Brackets
Winners
First Place Froyotech icon.png
Second Place Epsilon eSports
Semifinalist(s) E-SHOCK ESPORT
Semifinalist(s) AYOGURL
Maps
Chronology
Full of bullocks here
<ul><li>Unable to interpret the "2014-02-30" input value as valid date or time component with "Month 2 in year 2014 did not have 30 days in this calendar model." being reported.</li> <!--br--><li>Unable to interpret the "2014-02-31" input value as valid date or time component with "Month 2 in year 2014 did not have 31 days in this calendar model." being reported.</li></ul>

New InfoBox

Due to the current existance of a Season Infobox and a desire to update comp.tf to have a modern feel to it, this new template was created to avoid conflicting with previous infoboxes and result in losing information, which would be not very benificial.
Credit to Liquipedia for the code and inital template.

Template explanation

{{NewInfobox Season

This brings out the template you will be using.

|name= Dick's Fantastic Game
|image= ETF2LScoutVsScoutCup2.png
|caption= Dick's Fantastic Game sponsered by Flally floof McMuffin

The tournament name, the banner for the infobox and the caption. The caption may be used as the full name for the tournament. If name is left blank, the page name will be used.

|series= | ETF2L's 6v6 Nations Cup

If the tournament is part of a series of tournaments, mention it here. If there is a page or a section of the wiki about the tournament, hyperlinking the series there may be of use.

|organizer= ETF2L
|sponsor= Flally floof McMuffin

For the organizer and sponsors of the tournament.

|gamemode= 6v6

Game Mode may be 1v1, MGE, 2v2, BBall, Ultiduo, 4v4, 6v6, Highlander and Ready Steady Pan. For multiple game modes under one tournament, gamemodeX may be added on.

|type = LAN

Type refers to how the tournament was played. It may be Online for online tournaments, LAN for offline tournaments and Mixed for a mixture of the two.

|country = Europe

Where the event was primarily based. A second location can be added with country2. This section corresponds with Template:Localisation, if a country does not have a flag then no flag will be displayed.

|city = City

The city location

|venue = [http://www.yorkcityfootballclub.co.uk/ KitKat Crescent]

For the use of LAN events.

|format=Group stage, Single Elimination

The format variable should be a short description of the match format and the tournament format (like "Round Robin, Single Elimination" or "Dual Tournament, Double Elimination").

|prizepool= £ 0000

The size of the prize pool

|date =
|sdate = 30-02-2014
|edate = 31-02-2014

Date of the event, or if it spans multiple days, a start and end date may be added.

|totalteams = 169
|totalplayers = 169

Total amount of teams or players that have participated in the tournament. "Total players" is to be used when the competition awards individuals as opposed to teams. An example to this may be an MGE Tournament.

|bestplayer = {{flag|uk}} [[Mike]]

Declared player of the season.

|web= comp.tf
|archive= comp.tf
|brackets= comp.tf

A home page link for the tournament, or if the page gets taken down, an archive link too. Tables are also included. Also has web2 and brackets2

|bracketscomment

Changes what the hover info displays

|teamfirst= Froyotech
|teamsecond= Epsilon
|teamthird= E-SHOCK ESPORT
|teamthird2= AYOGURL
|teamfourth=

For team placement in the tournament. If there is a tied third, both teams may be placed. A fourth place may also be added.

|map1=2Fort
|map2=Gullywash
|map3=Obscure
|map4=Viaduct

Maps that were played in the tournament. A total of 15 maps may currently be added to the list.

|next= ETF2L 6v6 Season 21
|nextlabel= Season 21
|previous= ESEA-IM Season 10
|previouslabel= Season 10

Hyperlinks to the next and previous tournament, if there is a series. The label allows shorter labels to avoid clogging up, if need be.

|footnotes= Full of bullocks here

Additional information desired to be added.

}}

The end of your template.


Template: NewInfobox Season

Copy the content to your page.

{{NewInfobox Season
|name= 
|image= 
|caption= 
|icon= 
|series= 
|organizer= 
|sponsor= 
|gamemode= 
|type = 
|country = 
|venue =
|format = 
|prizepool=
|localcurrency=
|prizepoolusd= 
|date =
|sdate = 
|edate = 
|totalteams = 
|totalplayers =
|bestplayer = 
|web=
|archive=
|brackets= |bracketscomment=
|brackets2= |brackets2comment=
|teamfirst= 
|teamsecond= 
|teamthird= 
|teamthird2= 
|teamfourth=
|map1=
|map2=
|map3=
|map4=
|map5=
|map6=
|map7=
|map8=
|map9=
|map10=
|map11=
|map12=
|map13=
|map14=
|map15=
|next=
|nextlabel= 
|previous= 
|previouslabel= 
|footnotes=
}}