Difference between revisions of "Template:NewInfobox Season"
m (Added format's') |
m |
||
(62 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§ion=0}} e]<nowiki>]</nowiki><nowiki>[</nowiki>[[Template:NewInfobox Season|h]]<nowiki>]</nowiki></span>{{{name|{{PAGENAME | + | <div class="infobox-header"><span class="infobox-buttons"><nowiki>[</nowiki>[{{SERVER}}{{localurl:{{FULLPAGENAME}}|action=edit§ion=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: | ||
}}<!-- | }}<!-- | ||
− | + | Game Mode | |
− | -->{{#if:{{{ | + | -->{{#if:{{{gamemode|}}}| |
<div> | <div> | ||
− | <div class="infobox-cell-2 infobox-description">{{#if:{{{ | + | <div class="infobox-cell-2 infobox-description">{{#if:{{{gamemode2|}}}|Game Modes|Game Mode}}:</div> |
− | <div class="infobox-cell-2">{{#switch:{{{ | + | <div class="infobox-cell-2">{{#switch: {{lc: {{{gamemode|}}} }} |
− | |1v1= | + | |1v1= [[:Category:MGE Tournaments|1v1]] |
− | | | + | |mge= [[:Category:MGE Tournaments|MGE]] |
− | | | + | |bball= [[:Category:BBall Tournaments|BBall]] |
− | | | + | |ultiduo= [[:Category:Ultiduo Tournaments|Ultiduo]] |
− | |2v2= | + | |2v2= [[:Category:2v2 Tournaments|2v2]] |
− | |4v4= | + | |4v4= [[:Category:4v4 Tournaments|4v4]] |
− | |6v6= | + | |6v6= [[:Category:6v6 Tournaments|6v6]] |
− | | | + | |7v7= [[:Category:7v7 Tournaments|7v7]] |
− | | | + | |9v9= [[:Category:Highlander Tournaments|Highlander]] |
− | |Highlander= | + | |Highlander= [[:Category:Highlander Tournaments|Highlander]] |
− | |Ready Steady Pan= | + | |Ready Steady Pan= [[:Category:Ready Steady Pan Tournaments|Ready Steady Pan]] |
− | |{{{ | + | |[[:Category:{{{gamemode}}} Tournaments|{{{gamemode}}}]]}} <!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{gamemode2|}}}| |
− | <br />{{#switch:{{{ | + | <br />{{#switch: {{lc: {{{gamemode2|}}} }} |
− | |1v1= | + | |1v1= [[:Category:MGE Tournaments|1v1]] |
− | | | + | |mge= [[:Category:MGE Tournaments|MGE]] |
− | | | + | |bball= [[:Category:BBall Tournaments|BBall]] |
− | | | + | |ultiduo= [[:Category:Ultiduo Tournaments|Ultiduo]] |
− | |2v2= | + | |2v2= [[:Category:2v2 Tournaments|2v2]] |
− | |4v4= | + | |4v4= [[:Category:4v4 Tournaments|4v4]] |
− | |6v6= 6v6[[Category: | + | |6v6= [[:Category:6v6 Tournaments|6v6]] |
− | |Highlander= | + | |7v7= [[:Category:7v7 Tournaments|7v7]] |
− | |Ready Steady Pan= | + | |9v9= [[:Category:Highlander Tournaments|Highlander]] |
− | |{{{ | + | |Highlander= [[:Category:Highlander Tournaments|Highlander]] |
− | -->{{#if:{{{ | + | |Ready Steady Pan= [[:Category:Ready Steady Pan Tournaments|Ready Steady Pan]] |
− | <br />{{#switch:{{{ | + | |[[:Category:{{{gamemode2}}} Tournaments|{{{gamemode2}}}]]}} }} <!-- |
− | |1v1= | + | -->{{#if:{{{gamemode3|}}}| |
− | | | + | <br />{{#switch: {{lc: {{{gamemode3|}}} }} |
− | | | + | |1v1= [[:Category:MGE Tournaments|1v1]] |
− | | | + | |mge= [[:Category:MGE Tournaments|MGE]] |
− | |2v2= | + | |bball= [[:Category:BBall Tournaments|BBall]] |
− | |4v4= | + | |ultiduo= [[:Category:Ultiduo Tournaments|Ultiduo]] |
− | |6v6= 6v6[[Category: | + | |2v2= [[:Category:2v2 Tournaments|2v2]] |
− | |Highlander= | + | |4v4= [[:Category:4v4 Tournaments|4v4]] |
− | |Ready Steady Pan= | + | |6v6= [[:Category:6v6 Tournaments|6v6]] |
− | |{{{ | + | |7v7= [[:Category:7v7 Tournaments|7v7]] |
− | -->{{#if:{{{ | + | |9v9= [[:Category:Highlander Tournaments|Highlander]] |
− | <br />{{#switch:{{{ | + | |Highlander= [[:Category:Highlander Tournaments|Highlander]] |
− | |1v1= | + | |Ready Steady Pan= [[:Category:Ready Steady Pan Tournaments|Ready Steady Pan]] |
− | | | + | |[[:Category:{{{gamemode3}}} Tournaments|{{{gamemode3}}}]]}} }} <!-- |
− | | | + | -->{{#if:{{{gamemode4|}}}| |
− | | | + | <br />{{#switch: {{lc: {{{gamemode4|}}} }} |
− | |2v2= | + | |1v1= [[:Category:MGE Tournaments|1v1]] |
− | |4v4= | + | |mge= [[:Category:MGE Tournaments|MGE]] |
− | |6v6= 6v6[[Category: | + | |bball= [[:Category:BBall Tournaments|BBall]] |
− | |Highlander= | + | |ultiduo= [[:Category:Ultiduo Tournaments|Ultiduo]] |
− | |Ready Steady Pan= | + | |2v2= [[:Category:2v2 Tournaments|2v2]] |
− | |{{{ | + | |4v4= [[:Category:4v4 Tournaments|4v4]] |
− | -->{{#if:{{{ | + | |6v6= [[:Category:6v6 Tournaments|6v6]] |
− | <br />{{#switch:{{{ | + | |7v7= [[:Category:7v7 Tournaments|7v7]] |
− | |1v1= | + | |9v9= [[:Category:Highlander Tournaments|Highlander]] |
− | | | + | |Highlander= [[:Category:Highlander Tournaments|Highlander]] |
− | | | + | |Ready Steady Pan= [[:Category:Ready Steady Pan Tournaments|Ready Steady Pan]] |
− | | | + | |[[:Category:{{{gamemode4}}} Tournaments|{{{gamemode4}}}]]}} }} <!-- |
− | |2v2= | + | -->{{#if:{{{gamemode5|}}}| |
− | |4v4= | + | <br />{{#switch: {{lc: {{{gamemode5|}}} }} |
− | |6v6= 6v6[[Category: | + | |1v1= [[:Category:MGE Tournaments|1v1]] |
− | |Highlander= | + | |mge= [[:Category:MGE Tournaments|MGE]] |
− | |Ready Steady Pan= | + | |bball= [[:Category:BBall Tournaments|BBall]] |
− | |{{{ | + | |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}}}}}}} {{{city|{{{country}}}}}} {{#ifeq:{{localisation|{{{country}}}}}|error | + | <div class="infobox-cell-2">{{#ifeq:{{localisation|{{{country}}}}}|error||{{flag|{{lc:{{{country}}}}}}} }}{{{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}}}}}}} {{{city2|{{{country2}}}}}} {{#ifeq:{{localisation|{{{country2}}}}}|error | + | <br />{{#ifeq:{{localisation|{{{country}}}}}|error||{{flag|{{lc:{{{country2}}}}}}} }}{{{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 | + | Format |
+ | |||
+ | -->{{#if:{{{format|}}}| | ||
+ | <div> | ||
+ | <div class="infobox-cell-2 infobox-description">Format:</div> | ||
+ | <div class="infobox-cell-2">{{{format}}}</div> | ||
+ | </div> | ||
+ | }} | ||
+ | |||
+ | <!-- | ||
+ | Prize Pool | ||
− | -->{{#if:{{{prizepool|}}}| | + | -->{{#if:{{{prizepool|}}} {{{prizepoolusd|}}}| |
<div> | <div> | ||
− | <div class="infobox-cell-2 infobox-description">Prize | + | <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 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 | + | Best Player |
-->{{#if:{{{bestplayer|}}}| | -->{{#if:{{{bestplayer|}}}| | ||
<div> | <div> | ||
− | <div class="infobox-cell-2 infobox-description">Player | + | <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|}}}{{{ | + | -->{{#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| | + | --> {{#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:{{{ | + | --> {{#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> | ||
− | }} | + | }} |
− | |||
− | |||
− | |||
</div> | </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: | |
− | |||
− | |||
− | {{#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={{{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 | + | |has team number={{{team_number|}}} |
− | |has | + | |has game={{{game|}}} |
− | |has format={{{format|}}} | + | <!--|has format={{{format|}}} |
− | |has | + | |has prizepool={{{prizepoolusd|{{#ifeq:{{lc:{{{localcurrency|}}}}}|usd|{{{prizepool|}}}}}}}} |
− | | | + | |has prizepool in usd={{#if:{{{prizepoolusd|}}}|$ {{{prizepoolusd}}}|{{#if:{{{localcurrency|}}}|{{Local currency|{{lc:{{{localcurrency|}}}}}|prizepool={{{prizepool|}}}}}|{{{prizepool|}}}}} }}--> |
− | |has prizepool in usd={{{prizepoolusd|{{{ | + | |has web={{{web|}}} |
− | | | ||
− | | | ||
|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) | + | |
+ | ----- 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
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= }} |