Difference between revisions of "Template:InfoboxTournament"

From comp.tf
Jump to navigation Jump to search
(Undo revision 61862 by Garlic (talk))
Line 183: Line 183:
 
   | tier 1 = Tier 1
 
   | tier 1 = Tier 1
 
   | world
 
   | world
   | world championship = World Championship (Tier 1)
+
   | world championship = World championship (tier 1)
 
   | 2
 
   | 2
 
   | tier 2 = Tier 2
 
   | tier 2 = Tier 2
 
   | continent
 
   | continent
 
   | continental
 
   | continental
   | continental championship = Continental Championship (Tier 2)
+
   | continental championship = Continental championship (tier 2)
 
   | 3
 
   | 3
 
   | tier 3 = Tier 3
 
   | tier 3 = Tier 3
Line 208: Line 208:
 
-->{{#if:{{{1st|}}}{{{2nd|}}}{{{3rd|}}}{{{4th|}}}{{{sf1|}}}{{{sf2|}}}|
 
-->{{#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"
+
{{!}}-
|}}
+
{{!}} colspan="2" {{!}}
 
<!--
 
<!--
  
 
FIRST PLACE
 
FIRST PLACE
  
-->{{#if: {{{1st|}}} |
+
--><div style="font-size:100%; line-height:-10px; overflow: hidden; text-align:center; padding:2px"><div style="float:left;width:38.2%;">{{Medal|1}} '''1st'''</div><div style="float:left;width:61.8%;"></div><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|}}}}}</div>
{{!}} class="comptf-infobox-header" {{!}} {{Medal|1}} '''First Place'''
 
{{!}} 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:{{{2nd|}}}{{{3rd|}}}{{{4th|}}}{{{sf1|}}}{{{sf2|}}}|class="comptf-infobox-info"|}}
 
|}}
 
 
<!--
 
<!--
  
 
SECOND PLACE
 
SECOND PLACE
  
-->{{#if: {{{2nd|}}} |
+
--><div style="font-size:100%; line-height:-10px; overflow: hidden; text-align:center; padding:2px"><div style="float:left;width:38.2%;">{{Medal|2}} '''2nd'''</div><div style="float:left;width:61.8%;"></div><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|}}}}}</div>
{{!}} class="comptf-infobox-header" {{!}} {{Medal|2}} '''Second Place'''
 
{{!}} 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:{{{3rd|}}}{{{4th|}}}{{{sf1|}}}{{{sf2|}}}|class="comptf-infobox-info"|}}
 
|}}
 
 
<!--
 
<!--
  
 
THIRD PLACE
 
THIRD PLACE
  
-->{{#if: {{{3rd|}}} |
+
--><div style="font-size:100%; line-height:-10px; overflow: hidden; text-align:center; padding:2px"><div style="float:left;width:38.2%;">{{Medal|3}} '''3rd'''</div><div style="float:left;width:61.8%;"></div><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|}}}}}</div>
{{!}} class="comptf-infobox-header" {{!}} {{Medal|3}} '''Third Place'''
 
{{!}} 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:{{{4th|}}}|class="comptf-infobox-info"|}}
 
|}}
 
 
<!--
 
<!--
  
 
FOURTH PLACE
 
FOURTH PLACE
  
-->{{#if: {{{4th|}}} |
+
--><div style="font-size:100%; line-height:-10px; overflow: hidden; text-align:center; padding:2px"><div style="float:left;width:38.2%;">'''4th'''</div><div style="float:left;width:61.8%;"></div><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|}}}}}</div>
{{!}} class="comptf-infobox-header" {{!}} '''Fourth Place'''
 
{{!}} 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|}}}}}
 
{{!}}-
 
|}}
 
 
<!--
 
<!--
  
 
SEMI-FINALISTS
 
SEMI-FINALISTS
  
-->{{#if: {{{sf1|}}}{{{sf2|}}} |
+
--><div style="font-size:100%; line-height:-10px; overflow: hidden; text-align:center; padding:2px"><div style="float:left;width:38.2%;">'''Semi-Finalists'''</div><div style="float:left;width:61.8%;"></div><div style="width:44px;float:left;height:20px;">{{#if:{{{sf1|}}}|<!--
{{!}} class="comptf-infobox-header" {{!}} '''Semi-finalists'''
 
{{!}} class="comptf-infobox-body" {{!}} {{#if:{{{sf1|}}}|<!--
 
 
     --><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|}}}}}<!--
 
     --><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|}}}}}<!--
 
     -->{{#if:{{{sf2|}}}|<br>|}}|}}{{#if:{{{sf2|}}}|<!--
 
     -->{{#if:{{{sf2|}}}|<br>|}}|}}{{#if:{{{sf2|}}}|<!--
     --><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|}}}}}|}}
+
     --><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|}}}}}|}}</div>
{{!}}-
 
 
|}}
 
|}}
 
<!--
 
<!--

Revision as of 23:34, 14 April 2020