Difference between revisions of "Template:NewInfobox Season"

From comp.tf
Jump to navigation Jump to search
m
m
 
(63 intermediate revisions by 4 users not shown)
Line 4: Line 4:
 
<div class="fo-nttax-infobox">
 
<div class="fo-nttax-infobox">
 
<div>
 
<div>
<div class="infobox-header"><span class="infobox-buttons"><nowiki>[</nowiki>[{{SERVER}}{{localurl:{{FULLPAGENAME}}|action=edit&section=0}} e]<nowiki>]</nowiki><nowiki>[</nowiki>[[Template:NewInfobox Season|h]]<nowiki>]</nowiki></span>{{{name|{{PAGENAME}}}}}</div>
+
<div class="infobox-header"><span class="infobox-buttons"><nowiki>[</nowiki>[{{SERVER}}{{localurl:{{FULLPAGENAME}}|action=edit&section=0}} e]<nowiki>]</nowiki><nowiki>[</nowiki>[[Template:NewInfobox Season|h]]<nowiki>]</nowiki></span>{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}} }}</div>
 
</div><!--
 
</div><!--
  
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 59: Line 59:
 
}}<!--
 
}}<!--
  
Format
+
Game Mode
  
-->{{#if:{{{format|}}}|
+
-->{{#if:{{{gamemode|}}}|
 
<div>
 
<div>
<div class="infobox-cell-2 infobox-description">Format:</div>
+
<div class="infobox-cell-2 infobox-description">{{#if:{{{gamemode2|}}}|Game Modes|Game Mode}}:</div>
<div class="infobox-cell-2">{{#switch:{{{format|}}}
+
<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]]
|6v6, Highlander = 6v6, Highlander [[Category:6v6 Tournaments]][[Category:Highlander Tournaments]]
+
|7v7= [[:Category:7v7 Tournaments|7v7]]
|6v6 and Highlander = 6v6, Highlander [[Category:6v6 Tournaments]][[Category:Highlander Tournaments]]
+
|9v9= [[:Category:Highlander Tournaments|Highlander]]
|Highlander= Highlander[[Category:Highlander Tournaments]]
+
|Highlander= [[:Category:Highlander Tournaments|Highlander]]
|Ready Steady Pan= Ready Steady Pan[[Category:Ready Steady Pan Tournaments]]
+
|Ready Steady Pan= [[:Category:Ready Steady Pan Tournaments|Ready Steady Pan]]
|{{{format}}}[[Category:{{{format}}} Tournaments]]}} <!--
+
|[[:Category:{{{gamemode}}} Tournaments|{{{gamemode}}}]]}} <!--
-->{{#if:{{{format2|}}}|
+
-->{{#if:{{{gamemode2|}}}|
<br />{{#switch:{{{format2|}}}
+
<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]]
|{{{format}}}[[Category:{{{format}}} Tournaments]]}}}} <!--
+
|Highlander= [[:Category:Highlander Tournaments|Highlander]]
-->{{#if:{{{format3|}}}|
+
|Ready Steady Pan= [[:Category:Ready Steady Pan Tournaments|Ready Steady Pan]]
<br />{{#switch:{{{format3|}}}
+
|[[:Category:{{{gamemode2}}} Tournaments|{{{gamemode2}}}]]}} }} <!--
|1v1= 1v1[[Category:MGE Tournaments]]
+
-->{{#if:{{{gamemode3|}}}|
|MGE= MGE[[Category:MGE Tournaments]]
+
<br />{{#switch: {{lc: {{{gamemode3|}}} }}
|BBall= BBall[[Category:BBall Tournaments]]
+
|1v1= [[:Category:MGE Tournaments|1v1]]
|Ultiduo= Ultiduo[[Category:Ultiduo Tournaments]]
+
|mge= [[:Category:MGE Tournaments|MGE]]
|2v2= 2v2[[Category:2v2 Tournaments]]
+
|bball= [[:Category:BBall Tournaments|BBall]]
|4v4= 4v4[[Category:4v4 Tournaments]]
+
|ultiduo= [[:Category:Ultiduo Tournaments|Ultiduo]]
|6v6= 6v6[[Category:6v6 Tournaments]]
+
|2v2= [[:Category:2v2 Tournaments|2v2]]
|Highlander= Highlander[[Category:Highlander Tournaments]]
+
|4v4= [[:Category:4v4 Tournaments|4v4]]
|Ready Steady Pan= Ready Steady Pan[[Category:Ready Steady Pan Tournaments]]
+
|6v6= [[:Category:6v6 Tournaments|6v6]]
|{{{format}}}[[Category:{{{format}}} Tournaments]]}}}} <!--
+
|7v7= [[:Category:7v7 Tournaments|7v7]]
-->{{#if:{{{format4|}}}|
+
|9v9= [[:Category:Highlander Tournaments|Highlander]]
<br />{{#switch:{{{format4|}}}
+
|Highlander= [[:Category:Highlander Tournaments|Highlander]]
|1v1= 1v1[[Category:MGE Tournaments]]
+
|Ready Steady Pan= [[:Category:Ready Steady Pan Tournaments|Ready Steady Pan]]
|MGE= MGE[[Category:MGE Tournaments]]
+
|[[:Category:{{{gamemode3}}} Tournaments|{{{gamemode3}}}]]}} }} <!--
|BBall= BBall[[Category:BBall Tournaments]]
+
-->{{#if:{{{gamemode4|}}}|
|Ultiduo= Ultiduo[[Category:Ultiduo Tournaments]]
+
<br />{{#switch: {{lc: {{{gamemode4|}}} }}
|2v2= 2v2[[Category:2v2 Tournaments]]
+
|1v1= [[:Category:MGE Tournaments|1v1]]
|4v4= 4v4[[Category:4v4 Tournaments]]
+
|mge= [[:Category:MGE Tournaments|MGE]]
|6v6= 6v6[[Category:6v6 Tournaments]]
+
|bball= [[:Category:BBall Tournaments|BBall]]
|Highlander= Highlander[[Category:Highlander Tournaments]]
+
|ultiduo= [[:Category:Ultiduo Tournaments|Ultiduo]]
|Ready Steady Pan= Ready Steady Pan[[Category:Ready Steady Pan Tournaments]]
+
|2v2= [[:Category:2v2 Tournaments|2v2]]
|{{{format}}}[[Category:{{{format}}} Tournaments]]}}}} <!--
+
|4v4= [[:Category:4v4 Tournaments|4v4]]
-->{{#if:{{{format5|}}}|
+
|6v6= [[:Category:6v6 Tournaments|6v6]]
<br />{{#switch:{{{format5|}}}
+
|7v7= [[:Category:7v7 Tournaments|7v7]]
|1v1= 1v1[[Category:MGE Tournaments]]
+
|9v9= [[:Category:Highlander Tournaments|Highlander]]
|MGE= MGE[[Category:MGE Tournaments]]
+
|Highlander= [[:Category:Highlander Tournaments|Highlander]]
|BBall= BBall[[Category:BBall Tournaments]]
+
|Ready Steady Pan= [[:Category:Ready Steady Pan Tournaments|Ready Steady Pan]]
|Ultiduo= Ultiduo[[Category:Ultiduo Tournaments]]
+
|[[:Category:{{{gamemode4}}} Tournaments|{{{gamemode4}}}]]}} }} <!--
|2v2= 2v2[[Category:2v2 Tournaments]]
+
-->{{#if:{{{gamemode5|}}}|
|4v4= 4v4[[Category:4v4 Tournaments]]
+
<br />{{#switch: {{lc: {{{gamemode5|}}} }}
|6v6= 6v6[[Category:6v6 Tournaments]]
+
|1v1= [[:Category:MGE Tournaments|1v1]]
|Highlander= Highlander[[Category:Highlander Tournaments]]
+
|mge= [[:Category:MGE Tournaments|MGE]]
|Ready Steady Pan= Ready Steady Pan[[Category:Ready Steady Pan Tournaments]]
+
|bball= [[:Category:BBall Tournaments|BBall]]
|{{{format}}}[[Category:{{{format}}} Tournaments]]}}}} </div>
+
|ultiduo= [[:Category:Ultiduo Tournaments|Ultiduo]]
 +
|2v2= [[:Category:2v2 Tournaments|2v2]]
 +
|4v4= [[:Category:4v4 Tournaments|4v4]]
 +
|6v6= [[:Category:6v6 Tournaments|6v6]]
 +
|7v7= [[:Category:7v7 Tournaments|7v7]]
 +
|9v9= [[:Category:Highlander Tournaments|Highlander]]
 +
|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 147: 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 166: Line 174:
 
}}<!--
 
}}<!--
  
Prize pool
+
Format
  
-->{{#if:{{{prizepool|}}}|
+
-->{{#if:{{{format|}}}|
 
<div>
 
<div>
<div class="infobox-cell-2 infobox-description">Prize pool:</div>
+
<div class="infobox-cell-2 infobox-description">Format:</div>
<div class="infobox-cell-2">{{{prizepool|}}}</div>
+
<div class="infobox-cell-2">{{{format}}}</div>
 +
</div>
 +
}}
 +
 
 +
<!--
 +
Prize Pool
 +
 
 +
-->{{#if:{{{prizepool|}}} {{{prizepoolusd|}}}|
 +
<div>
 +
<div class="infobox-cell-2 infobox-description">Prize Pool:</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 202: Line 220:
 
<div class="infobox-cell-2 infobox-description">Total Teams:</div>
 
<div class="infobox-cell-2 infobox-description">Total Teams:</div>
 
<div class="infobox-cell-2">{{{totalteams}}}</div>
 
<div class="infobox-cell-2">{{{totalteams}}}</div>
 +
</div>
 +
}}<!--
 +
-->{{#if:{{{totalplayers|}}}|
 +
<div>
 +
<div class="infobox-cell-2 infobox-description">Total Players:</div>
 +
<div class="infobox-cell-2">{{{totalplayers}}}</div>
 
</div>
 
</div>
 
}}<!--
 
}}<!--
  
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 216: 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 222: Line 246:
 
<div>
 
<div>
 
<div class="infobox-center infobox-icons"><!--
 
<div class="infobox-center infobox-icons"><!--
--> {{#if:{{{web|}}}|[[Image:InfoboxIcon Homepage.png|32px|Website|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:{{{tables|}}}|[[Image:InfoboxIcon Tables.png|32px|Tables|link={{{tables}}}]]}}<!--
+
--> {{#if:{{{brackets|}}}|[[Image:InfoboxIcon Tables.png|32px|{{#if:{{{bracketscomment|}}}|{{{bracketscomment}}}|Brackets}}|link={{{brackets}}}]]}}<!--
 +
--> {{#if:{{{brackets2|}}}|[[Image:InfoboxIcon Tables.png|32px|{{#if:{{{brackets2comment|}}}|{{{brackets2comment}}}|Brackets}}|link={{{brackets2}}}]]}}<!--
 
--></div>
 
--></div>
 
</div>
 
</div>
Line 314: Line 340:
 
<div class="infobox-center"><small>{{{footnotes}}}</small></div>
 
<div class="infobox-center"><small>{{{footnotes}}}</small></div>
 
</div>
 
</div>
}}<!--
+
}}
 
 
Adbox
 
-->
 
 
</div>
 
</div>
<div class="fo-nttax-infobox-adbox"></div>
+
</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 338: 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 356: 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 364: 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 400: 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=
}}