Difference between revisions of "Template:InfoboxTournament"

From comp.tf
Jump to navigation Jump to search
Line 11: Line 11:
  
  
-->! class="comptf-infobox-title" style="padding-left:40px" colspan=2 | {{{title|}}}<div class="comptf-controls" style="vertical-align:top; float:right; margin:2px; width:40px">{{VDE|InfoboxPlayer|{{FULLPAGENAME}}}}</div>
+
-->! class="comptf-infobox-title" style="padding-left:40px" colspan=2 | {{{title|}}}<div class="comptf-controls" style="vertical-align:top; float:right; margin:2px; width:40px">{{VDE|InfoboxTournament|{{FULLPAGENAME}}}}</div>
 
|-
 
|-
 
<!--
 
<!--
Line 47: Line 47:
 
-->{{#if:{{{series|}}}|
 
-->{{#if:{{{series|}}}|
 
{{!}} class="comptf-infobox-header" {{!}} '''Series'''
 
{{!}} class="comptf-infobox-header" {{!}} '''Series'''
{{!}} class="comptf-infobox-body" {{!}} {{LeagueIconSmall|{{lc:{{{series}}}}}|x18px}} {{#ifexist:{{{series|}}}|[[{{{series|}}}]]|{{{series|}}}}}
+
{{!}} class="comptf-infobox-body" {{!}} {{LeagueIconSmall|{{lc:{{#if:{{{icon|}}}|{{{icon|}}}|{{{series}}}}}}}|x18px}} {{#ifexist:{{{series|}}}|[[{{{series|}}}]]|{{{series|}}}}}
 
{{!}}- class="comptf-infobox-info"
 
{{!}}- class="comptf-infobox-info"
 
|}}
 
|}}
Line 74: Line 74:
 
   | lan = [[:Category:LAN tournaments|LAN]]
 
   | lan = [[:Category:LAN tournaments|LAN]]
 
   |#default = {{{type|}}}
 
   |#default = {{{type|}}}
 +
}}
 
{{!}}- class="comptf-infobox-info"
 
{{!}}- class="comptf-infobox-info"
 
<!--
 
<!--
Line 145: Line 146:
 
   | highlander = [[Highlander]]
 
   | highlander = [[Highlander]]
 
   |#default = {{#ifexist:{{{gamemode|}}}|[[{{{gamemode|}}}]]|{{{gamemode|}}}}}
 
   |#default = {{#ifexist:{{{gamemode|}}}|[[{{{gamemode|}}}]]|{{{gamemode|}}}}}
 +
}}
 
{{!}}- class="comptf-infobox-info"
 
{{!}}- class="comptf-infobox-info"
 
<!--
 
<!--
Line 203: Line 205:
  
  
-->{{#if:{{{firstplace|}}}{{{secondplace|}}}{{{thirdplace|}}}{{{fourthplace|}}}{{{semifinalist1|}}}{{{semifinalist2|}}}|
+
-->{{#if:{{{1st|}}}{{{2nd|}}}{{{3rd|}}}{{{4th|}}}{{{sf1|}}}{{{sf2|}}}|
 
! class="comptf-infobox-subtitle" colspan="2" {{!}} Final Positions
 
! class="comptf-infobox-subtitle" colspan="2" {{!}} Final Positions
 
{{!}}- class="comptf-infobox-info"
 
{{!}}- class="comptf-infobox-info"
Line 211: Line 213:
 
FIRST PLACE
 
FIRST PLACE
  
-->{{#if: {{{firstplace|}}} |
+
-->{{#if: {{{1st|}}} |
 
{{!}} class="comptf-infobox-header" {{!}} '''First Place'''
 
{{!}} class="comptf-infobox-header" {{!}} '''First Place'''
{{!}} class="comptf-infobox-body" {{!}} <div style="width:44px;float:left;height:20px;">{{#ifexist:File:{{{firstplace|}}} Icon.png|[[File:{{{firstplace|}}} Icon.png|x18px|link={{#ifexist:{{{firstplace|}}}|{{{firstplace|}}}|}}]]}}</div> {{#ifexist:{{{firstplace|}}}|[[{{{firstplace|}}}]]|{{{firstplace|}}}}}
+
{{!}} class="comptf-infobox-body" {{!}} <div style="width:44px;float:left;height:20px;">{{#ifexist:File:{{{1st|}}} Icon.png|[[File:{{{1st|}}} Icon.png|x18px|link={{#ifexist:{{{1st|}}}|{{{1st|}}}|}}]]}}</div> {{#ifexist:{{{1st|}}}|[[{{{1st|}}}]]|{{{1st|}}}}}
{{!}}- {{#if:{{{secondplace|}}}{{{thirdplace|}}}{{{fourthplace|}}}{{{semifinalist1|}}}{{{semifinalist2|}}}|class="comptf-infobox-info"|}}
+
{{!}}- {{#if:{{{2nd|}}}{{{3rd|}}}{{{4th|}}}{{{sf1|}}}{{{sf2|}}}|class="comptf-infobox-info"|}}
 
|}}
 
|}}
 
<!--
 
<!--
Line 220: Line 222:
 
SECOND PLACE
 
SECOND PLACE
  
-->{{#if: {{{secondplace|}}} |
+
-->{{#if: {{{2nd|}}} |
 
{{!}} class="comptf-infobox-header" {{!}} '''Second Place'''
 
{{!}} class="comptf-infobox-header" {{!}} '''Second Place'''
{{!}} class="comptf-infobox-body" {{!}} <div style="width:44px;float:left;height:20px;">{{#ifexist:File:{{{secondplace|}}} Icon.png|[[File:{{{secondplace|}}} Icon.png|x18px|link={{#ifexist:{{{secondplace|}}}|{{{secondplace|}}}|}}]]}}</div> {{#ifexist:{{{secondplace|}}}|[[{{{secondplace|}}}]]|{{{secondplace|}}}}}
+
{{!}} class="comptf-infobox-body" {{!}} <div style="width:44px;float:left;height:20px;">{{#ifexist:File:{{{2nd|}}} Icon.png|[[File:{{{2nd|}}} Icon.png|x18px|link={{#ifexist:{{{2nd|}}}|{{{2nd|}}}|}}]]}}</div> {{#ifexist:{{{2nd|}}}|[[{{{2nd|}}}]]|{{{2nd|}}}}}
{{!}}- {{#if:{{{thirdplace|}}}{{{fourthplace|}}}{{{semifinalist1|}}}{{{semifinalist2|}}}|class="comptf-infobox-info"|}}
+
{{!}}- {{#if:{{{3rd|}}}{{{4th|}}}{{{sf1|}}}{{{sf2|}}}|class="comptf-infobox-info"|}}
 
|}}
 
|}}
 
<!--
 
<!--
Line 229: Line 231:
 
THIRD PLACE
 
THIRD PLACE
  
-->{{#if: {{{thirdplace|}}} |
+
-->{{#if: {{{3rd|}}} |
 
{{!}} class="comptf-infobox-header" {{!}} '''Third Place'''
 
{{!}} class="comptf-infobox-header" {{!}} '''Third Place'''
{{!}} class="comptf-infobox-body" {{!}} <div style="width:44px;float:left;height:20px;">{{#ifexist:File:{{{thirdplace|}}} Icon.png|[[File:{{{thirdplace|}}} Icon.png|x18px|link={{#ifexist:{{{thirdplace|}}}|{{{thirdplace|}}}|}}]]}}</div> {{#ifexist:{{{thirdplace|}}}|[[{{{thirdplace|}}}]]|{{{thirdplace|}}}}}
+
{{!}} class="comptf-infobox-body" {{!}} <div style="width:44px;float:left;height:20px;">{{#ifexist:File:{{{3rd|}}} Icon.png|[[File:{{{3rd|}}} Icon.png|x18px|link={{#ifexist:{{{3rd|}}}|{{{3rd|}}}|}}]]}}</div> {{#ifexist:{{{3rd|}}}|[[{{{3rd|}}}]]|{{{3rd|}}}}}
{{!}}- {{#if:{{{fourthplace|}}}|class="comptf-infobox-info"|}}
+
{{!}}- {{#if:{{{4th|}}}|class="comptf-infobox-info"|}}
 
|}}
 
|}}
 
<!--
 
<!--
Line 238: Line 240:
 
FOURTH PLACE
 
FOURTH PLACE
  
-->{{#if: {{{fourthplace|}}} |
+
-->{{#if: {{{4th|}}} |
{{!}} class="comptf-infobox-header" {{!}} '''First Place'''
+
{{!}} class="comptf-infobox-header" {{!}} '''Fourth Place'''
{{!}} class="comptf-infobox-body" {{!}} <div style="width:44px;float:left;height:20px;">{{#ifexist:File:{{{fourthplace|}}} Icon.png|[[File:{{{fourthplace|}}} Icon.png|x18px|link={{#ifexist:{{{fourthplace|}}}|{{{fourthplace|}}}|}}]]}}</div> {{#ifexist:{{{fourthplace|}}}|[[{{{fourthplace|}}}]]|{{{fourthplace|}}}}}
+
{{!}} class="comptf-infobox-body" {{!}} <div style="width:44px;float:left;height:20px;">{{#ifexist:File:{{{4th|}}} Icon.png|[[File:{{{4th|}}} Icon.png|x18px|link={{#ifexist:{{{4th|}}}|{{{4th|}}}|}}]]}}</div> {{#ifexist:{{{4th|}}}|[[{{{4th|}}}]]|{{{4th|}}}}}
 
{{!}}-  
 
{{!}}-  
 
|}}
 
|}}
Line 247: Line 249:
 
SEMI-FINALISTS
 
SEMI-FINALISTS
  
-->{{#if: {{{semifinalist1|}}}{{{semifinalist2|}}} |
+
-->{{#if: {{{sf1|}}}{{{sf2|}}} |
 
{{!}} class="comptf-infobox-header" {{!}} '''Semi-finalists'''
 
{{!}} class="comptf-infobox-header" {{!}} '''Semi-finalists'''
{{!}} class="comptf-infobox-body" {{!}} {{#if:{{{semifinalist1|}}}|<!--
+
{{!}} class="comptf-infobox-body" {{!}} {{#if:{{{sf1|}}}|<!--
     --><div style="width:44px;float:left;height:20px;"><!--
+
     --><div style="width:44px;float:left;height:20px;">{{#ifexist:File:{{{sf1|}}} Icon.png|[[File:{{{sf1|}}} Icon.png|x18px|link={{#ifexist:{{{sf1|}}}|{{{sf1|}}}|}}]]}}</div> {{#ifexist:{{{sf1|}}}|[[{{{sf1|}}}]]|{{{sf1|}}}}}<!--
    -->{{#ifexist:File:{{{semifinalist1|}}} Icon.png|[[File:{{{semifinalist1|}}} Icon.png|x18px|link={{#ifexist:{{{semifinalist1|}}}|{{{semifinalist1|}}}|}}]]}}<!--
+
     -->{{#if:{{{sf2|}}}|<br>|}}|}}{{#if:{{{sf2|}}}|<!--
    --></div> <!--
+
     --><div style="width:44px;float:left;height:20px;">{{#ifexist:File:{{{sf2|}}} Icon.png|[[File:{{{sf2|}}} Icon.png|x18px|link={{#ifexist:{{{sf2|}}}|{{{sf2|}}}|}}]]}}</div> {{#ifexist:{{{sf2|}}}|[[{{{sf2|}}}]]|{{{sf2|}}}}}|}}
    -->{{#ifexist:{{{semifinalist1|}}}|[[{{{semifinalist1|}}}]]|{{{semifinalist1|}}}}}<!--
 
     -->{{#if:{{{semifinalist2|}}}|<br>|}}|}}{{#if:{{{semi-finalist2|}}}|<!--
 
     --><div style="width:44px;float:left;height:20px;"><!--
 
    -->{{#ifexist:File:{{{semifinalist2|}}} Icon.png|[[File:{{{semifinalist2|}}} Icon.png|x18px|link={{#ifexist:{{{semifinalist2|}}}|{{{semifinalist2|}}}|}}]]}}<!--
 
    --></div> <!--
 
    -->{{#ifexist:{{{semifinalist2|}}}|[[{{{semifinalist2|}}}]]|{{{semifinalist2|}}}}}|}}
 
 
{{!}}-  
 
{{!}}-  
 
|}}|}}
 
|}}|}}
Line 293: Line 289:
  
 
-->{{#if: {{{chronologytitle|}}}{{{next|}}}{{{nextlabel|}}}{{{prev|}}}{{{prevlabel|}}}|
 
-->{{#if: {{{chronologytitle|}}}{{{next|}}}{{{nextlabel|}}}{{{prev|}}}{{{prevlabel|}}}|
! class="comptf-infobox-subtitle" colspan="2" {{!}} {{LeagueIconSmall|{{lc:{{{series}}}}}|x18px}} {{{chronologytitle|}}}
+
! class="comptf-infobox-subtitle" colspan="2" {{!}} {{LeagueIconSmall|{{lc:{{#if:{{{icon|}}}|{{{icon|}}}|{{{series}}}}}}}|x18px}} {{{chronologytitle|}}}
 
{{!}}-
 
{{!}}-
 
{{!}} class="comptf-infobox-icons" colspan="2" style="text-align:center; height:36px" {{!}}<!--
 
{{!}} class="comptf-infobox-icons" colspan="2" style="text-align:center; height:36px" {{!}}<!--

Revision as of 22:46, 14 April 2020