Difference between revisions of "Template:InfoboxTournament"
Jump to navigation
Jump to search
(Created page with "<includeonly> {| class="comptf-infobox" cellpadding="2" <!-- TITLE -->! class="comptf-infobox-title" style="padding-left:40px" colspan=2 | {{{title|}}}<div class="comp...") |
|||
Line 47: | Line 47: | ||
-->{{#if:{{{series|}}}| | -->{{#if:{{{series|}}}| | ||
{{!}} class="comptf-infobox-header" {{!}} '''Series''' | {{!}} class="comptf-infobox-header" {{!}} '''Series''' | ||
− | {{!}} class="comptf-infobox-body" {{!}} {{ | + | {{!}} class="comptf-infobox-body" {{!}} {{LeagueIconSmall|{{lc:{{{series}}}}}|x18px}} {{#ifexist:{{{series|}}}|[[{{{series|}}}]]|{{{series|}}}}} |
{{!}}- class="comptf-infobox-info" | {{!}}- class="comptf-infobox-info" | ||
|}} | |}} | ||
Line 54: | Line 54: | ||
LOCATION | LOCATION | ||
− | --> | + | -->{{!}} class="comptf-infobox-header" {{!}} '''Location''' |
− | {{!}} class="comptf-infobox-header" {{!}} '''Location''' | ||
{{!}} class="comptf-infobox-body" {{!}} <span class="plainlinks">{{{location|}}}</span> | {{!}} class="comptf-infobox-body" {{!}} <span class="plainlinks">{{{location|}}}</span> | ||
{{!}}- class="comptf-infobox-info" | {{!}}- class="comptf-infobox-info" | ||
− | |||
<!-- | <!-- | ||
DATES | DATES | ||
− | --> | + | -->{{!}} class="comptf-infobox-header" {{!}} '''Date{{#if:{{{dates|}}}|s|}}''' |
− | {{!}} class="comptf-infobox-header" {{!}} '''Date{{#if:{{{dates|}}}|s|}}''' | ||
{{!}} class="comptf-infobox-body" {{!}} {{{#if:{{{dates|}}}|{{{dates||}}}|{{{date|}}}}} | {{!}} class="comptf-infobox-body" {{!}} {{{#if:{{{dates|}}}|{{{dates||}}}|{{{date|}}}}} | ||
{{!}}- class="comptf-infobox-info" | {{!}}- class="comptf-infobox-info" | ||
− | |}} | + | <!-- |
+ | |||
+ | TYPE | ||
+ | |||
+ | -->{{!}} class="comptf-infobox-header" {{!}} '''Type''' | ||
+ | {{!}} class="comptf-infobox-body" {{!}} {{#switch:{{lc:{{{type|}}}}} | ||
+ | | online = [[:Category:Online tournaments|Online]] | ||
+ | | offline | ||
+ | | lan = [[:Category:LAN tournaments|LAN]] | ||
+ | |#default = {{{type|}}} | ||
+ | {{!}}- class="comptf-infobox-info" | ||
<!-- | <!-- | ||
ORGANIZER | ORGANIZER | ||
− | --> | + | -->{{!}} class="comptf-infobox-header" {{!}} '''Organizer{{#if:{{{organizer2|}}}|s|}}''' |
− | {{!}} class="comptf-infobox-header" {{!}} '''Organizer{{#if:{{{organizer2|}}}|s|}}''' | + | {{!}} class="comptf-infobox-body" {{!}} <span class="plainlinks">{{#ifexist:{{{organizer|}}}|[[{{{organizer|}}}]]|{{{organizer|}}}}}</span><!-- |
− | {{!}} class="comptf-infobox-body" {{!}} <span class="plainlinks">{{{organizer|}}}</span><!-- | + | -->{{#if:{{{organizer2|}}}|<br><span class="plainlinks">{{#ifexist:{{{organizer2|}}}|[[{{{organizer2|}}}]]|{{{organizer2|}}}}}</span>|}}<!-- |
− | -->{{#if:{{{organizer2|}}}|<br><span class="plainlinks">{{{organizer2|}}}</span>|}}<!-- | + | -->{{#if:{{{organizer3|}}}|<br><span class="plainlinks">{{#ifexist:{{{organizer3|}}}|[[{{{organizer3|}}}]]|{{{organizer3|}}}}}</span>|}}<!-- |
− | -->{{#if:{{{organizer3|}}}|<br><span class="plainlinks">{{{organizer3|}}}</span>|}}<!-- | + | -->{{#if:{{{organizer4|}}}|<br><span class="plainlinks">{{#ifexist:{{{organizer4|}}}|[[{{{organizer4|}}}]]|{{{organizer4|}}}}}</span>|}}<!-- |
− | -->{{#if:{{{organizer4|}}}|<br><span class="plainlinks">{{{organizer4|}}}</span>|}}<!-- | + | -->{{#if:{{{organizer5|}}}|<br><span class="plainlinks">{{#ifexist:{{{organizer5|}}}|[[{{{organizer5|}}}]]|{{{organizer5|}}}}}</span>|}} |
− | -->{{#if:{{{organizer5|}}}|<br><span class="plainlinks">{{{organizer5|}}}</span>|}} | ||
{{!}}- {{#if:{{{sponsor|}}}{{{broadcaster|}}}|class="comptf-infobox-info"|}} | {{!}}- {{#if:{{{sponsor|}}}{{{broadcaster|}}}|class="comptf-infobox-info"|}} | ||
− | |||
<!-- | <!-- | ||
Line 87: | Line 92: | ||
-->{{#if:{{{sponsor|}}}| | -->{{#if:{{{sponsor|}}}| | ||
{{!}} class="comptf-infobox-header" {{!}} '''Sponsor{{#if:{{{sponsor2|}}}|s|}}''' | {{!}} class="comptf-infobox-header" {{!}} '''Sponsor{{#if:{{{sponsor2|}}}|s|}}''' | ||
− | {{!}} class="comptf-infobox-body" {{!}} <span class="plainlinks">{{{sponsor|}}}</span><!-- | + | {{!}} class="comptf-infobox-body" {{!}} <span class="plainlinks">{{#ifexist:{{{sponsor|}}}|[[{{{sponsor|}}}]]|{{{sponsor|}}}}}</span><!-- |
− | -->{{#if:{{{sponsor2|}}}|<br><span class="plainlinks">{{{sponsor2|}}}</span>|}}<!-- | + | -->{{#if:{{{sponsor2|}}}|<br><span class="plainlinks">{{#ifexist:{{{sponsor2|}}}|[[{{{sponsor2|}}}]]|{{{sponsor2|}}}}}</span>|}}<!-- |
− | -->{{#if:{{{sponsor3|}}}|<br><span class="plainlinks">{{{sponsor3|}}}</span>|}}<!-- | + | -->{{#if:{{{sponsor3|}}}|<br><span class="plainlinks">{{#ifexist:{{{sponsor3|}}}|[[{{{sponsor3|}}}]]|{{{sponsor3|}}}}}</span>|}}<!-- |
− | -->{{#if:{{{sponsor4|}}}|<br><span class="plainlinks">{{{sponsor4|}}}</span>|}}<!-- | + | -->{{#if:{{{sponsor4|}}}|<br><span class="plainlinks">{{#ifexist:{{{sponsor4|}}}|[[{{{sponsor4|}}}]]|{{{sponsor4|}}}}}</span>|}}<!-- |
− | -->{{#if:{{{sponsor5|}}}|<br><span class="plainlinks">{{{sponsor5|}}}</span>|}} | + | -->{{#if:{{{sponsor5|}}}|<br><span class="plainlinks">{{#ifexist:{{{sponsor5|}}}|[[{{{sponsor5|}}}]]|{{{sponsor5|}}}}}</span>|}} |
{{!}}- {{#if:{{{broadcaster|}}}|class="comptf-infobox-info"|}} | {{!}}- {{#if:{{{broadcaster|}}}|class="comptf-infobox-info"|}} | ||
|}} | |}} | ||
Line 100: | Line 105: | ||
-->{{#if:{{{broadcaster|}}}| | -->{{#if:{{{broadcaster|}}}| | ||
{{!}} class="comptf-infobox-header" {{!}} '''Broadcaster{{#if:{{{broadcaster2|}}}|s|}}''' | {{!}} class="comptf-infobox-header" {{!}} '''Broadcaster{{#if:{{{broadcaster2|}}}|s|}}''' | ||
− | {{!}} class="comptf-infobox-body" {{!}} <span class="plainlinks">{{{broadcaster|}}}</span><!-- | + | {{!}} class="comptf-infobox-body" {{!}} <span class="plainlinks">{{#ifexist:{{{broadcaster|}}}|[[{{{broadcaster|}}}]]|{{{broadcaster|}}}}}</span><!-- |
− | -->{{#if:{{{broadcaster2|}}}|<br><span class="plainlinks">{{{broadcaster2|}}}</span>|}}<!-- | + | -->{{#if:{{{broadcaster2|}}}|<br><span class="plainlinks">{{#ifexist:{{{broadcaster2|}}}|[[{{{broadcaster2|}}}]]|{{{broadcaster2|}}}}}</span>|}}<!-- |
− | -->{{#if:{{{broadcaster3|}}}|<br><span class="plainlinks">{{{broadcaster3|}}}</span>|}}<!-- | + | -->{{#if:{{{broadcaster3|}}}|<br><span class="plainlinks">{{#ifexist:{{{broadcaster3|}}}|[[{{{broadcaster3|}}}]]|{{{broadcaster3|}}}}}</span>|}}<!-- |
− | -->{{#if:{{{broadcaster4|}}}|<br><span class="plainlinks">{{{broadcaster4|}}}</span>|}}<!-- | + | -->{{#if:{{{broadcaster4|}}}|<br><span class="plainlinks">{{#ifexist:{{{broadcaster4|}}}|[[{{{broadcaster4|}}}]]|{{{broadcaster4|}}}}}</span>|}}<!-- |
− | -->{{#if:{{{broadcaster5|}}}|<br><span class="plainlinks">{{{broadcaster5|}}}</span>|}} | + | -->{{#if:{{{broadcaster5|}}}|<br><span class="plainlinks">{{#ifexist:{{{broadcaster5|}}}|[[{{{broadcaster5|}}}]]|{{{broadcaster5|}}}}}</span>|}} |
{{!}}- | {{!}}- | ||
|}} | |}} | ||
<!-- | <!-- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | --> | + | |
+ | TOURNAMENT INFORMATION | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | -->! class="comptf-infobox-subtitle" colspan="2" | Tournament Information | ||
|- class="comptf-infobox-info" | |- class="comptf-infobox-info" | ||
+ | <!-- | ||
+ | |||
+ | GAME MODE | ||
+ | |||
+ | -->{{!}} class="comptf-infobox-header" {{!}} '''Game Mode''' | ||
+ | {{!}} class="comptf-infobox-body" {{!}} {{#switch:{{lc:{{{gamemode|}}}}} | ||
+ | | bball = [[BBall]] | ||
+ | | ultiduo = [[Ultiduo]] | ||
+ | | 4s | ||
+ | | fours | ||
+ | | 4v4 = [[4v4]] | ||
+ | | 6s | ||
+ | | sixes | ||
+ | | 6v6 = [[6v6]] | ||
+ | | 7s | ||
+ | | prolander | ||
+ | | 7v7 = [[7v7]] | ||
+ | | hl | ||
+ | | 9v9 | ||
+ | | highlander = [[Highlander]] | ||
+ | |#default = {{#ifexist:{{{gamemode|}}}|[[{{{gamemode|}}}]]|{{{gamemode|}}}}} | ||
+ | {{!}}- class="comptf-infobox-info" | ||
<!-- | <!-- | ||
FORMAT | FORMAT | ||
− | --> | + | -->{{!}} class="comptf-infobox-header" {{!}} '''Format''' |
− | {{!}} class="comptf-infobox-header" {{!}} '''Format''' | + | {{!}} class="comptf-infobox-body" {{!}} {{{format|}}} |
− | {{!}} class="comptf-infobox-body" {{!}} | ||
{{!}}- class="comptf-infobox-info" | {{!}}- class="comptf-infobox-info" | ||
− | |||
− | |||
<!-- | <!-- | ||
− | + | TOTAL TEAMS | |
− | --> | + | -->{{!}} class="comptf-infobox-header" {{!}} '''Total Teams''' |
− | {{!}} class="comptf-infobox-header" {{!}} ''' | + | {{!}} class="comptf-infobox-body" {{!}} {{{totalteams|}}} |
− | {{!}} class="comptf-infobox-body" {{!}} | ||
{{!}}- class="comptf-infobox-info" | {{!}}- class="comptf-infobox-info" | ||
+ | <!-- | ||
+ | |||
+ | PRIZE POOL | ||
+ | |||
+ | -->{{!}} class="comptf-infobox-header" {{!}} '''Prize Pool''' | ||
+ | {{!}} class="comptf-infobox-body" {{!}} {{#if:{{{prizepool|}}}|{{#switch:{{lc:{{{prizepool|}}}}} | ||
+ | | none = None | ||
+ | | equipment = Equipment | ||
+ | |#default = US${{Thousands_separator|{{#ifexpr:{{#len:{{{prizepool|}}}}}>4|{{#expr:{{{prizepool|}}} round -3}}|{{#ifeq:{{#len:{{{prizepool|}}}}}|1|{{{prizepool|}}}|{{#expr:{{{prizepool|}}} round {{#len:{{{prizepool|}}}}}*-1+2}}}}}}}} | ||
+ | |None}} | ||
+ | {{!}}- {{#if:{{{tier|}}}|class="comptf-infobox-info"}} | ||
+ | <!-- | ||
+ | |||
+ | TOURNAMENT TIER | ||
+ | |||
+ | -->{{#if: {{{tier|}}} | | ||
+ | {{!}} class="comptf-infobox-header" {{!}} '''Tournament Tier''' | ||
+ | {{!}} class="comptf-infobox-body" {{!}} {{#switch:{{lc:{{{tier|}}}}} | ||
+ | | 1 | ||
+ | | tier 1 = Tier 1 | ||
+ | | world | ||
+ | | world championship = World Championship (Tier 1) | ||
+ | | 2 | ||
+ | | tier 2 = Tier 2 | ||
+ | | continent | ||
+ | | continental | ||
+ | | continental championship = Continental Championship (Tier 2) | ||
+ | | 3 | ||
+ | | tier 3 = Tier 3 | ||
+ | | misc | ||
+ | | miscellaneous = Miscellaneous | ||
+ | {{!}}- | ||
}} | }} | ||
+ | <!-- | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | FINAL POSITIONS | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | -->! class="comptf-infobox-subtitle" colspan="2" | Tournament Information | ||
+ | |- class="comptf-infobox-info" | ||
<!-- | <!-- | ||