Difference between revisions of "Template:InfoboxTournament"

From comp.tf
Jump to navigation Jump to search
Line 209: Line 209:
 
! class="comptf-infobox-subtitle" colspan="2" {{!}} Final Positions
 
! class="comptf-infobox-subtitle" colspan="2" {{!}} Final Positions
 
{{!}}-
 
{{!}}-
|}}
+
{{!}} colspan="2" {{!}}
 
<!--
 
<!--
  
Line 215: Line 215:
  
 
-->{{#if: {{{1st|}}} |
 
-->{{#if: {{{1st|}}} |
{{!}} class="comptf-infobox-header" style="text-align:center" {{!}} {{Medal|1}} '''1st'''
+
<div style="float:left;width:25%"> {{Medal|1}} '''1st'''</div>
{{!}} 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|}}}}}
+
<div style="float:right;width:75%"><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>
{{!}}-
 
 
|}}
 
|}}
 
<!--
 
<!--
Line 224: Line 223:
  
 
-->{{#if: {{{2nd|}}} |
 
-->{{#if: {{{2nd|}}} |
{{!}} class="comptf-infobox-header" style="text-align:center" {{!}} {{Medal|2}} '''2nd'''
+
<div style="float:left;width:25%"> {{Medal|2}} '''2nd'''</div>
{{!}} 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|}}}}}
+
<div style="float:right;width:75%"><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>
{{!}}-
 
 
|}}
 
|}}
 
<!--
 
<!--
Line 233: Line 231:
  
 
-->{{#if: {{{3rd|}}} |
 
-->{{#if: {{{3rd|}}} |
{{!}} class="comptf-infobox-header" style="text-align:center" {{!}} {{Medal|3}} '''3rd'''
+
<div style="float:left;width:25%"> {{Medal|3}} '''3rd'''</div>
{{!}} 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|}}}}}
+
<div style="float:right;width:75%"><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>
{{!}}-
 
 
|}}
 
|}}
 
<!--
 
<!--
Line 242: Line 239:
  
 
-->{{#if: {{{4th|}}} |
 
-->{{#if: {{{4th|}}} |
{{!}} class="comptf-infobox-header" style="text-align:center" {{!}} '''4th'''
+
<div style="float:left;width:25%"> '''4th'''</div>
{{!}} 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|}}}}}
+
<div style="float:right;width:75%"><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>
{{!}}-
 
 
|}}
 
|}}
 
<!--
 
<!--
Line 251: Line 247:
  
 
-->{{#if: {{{sf1|}}}{{{sf2|}}} |
 
-->{{#if: {{{sf1|}}}{{{sf2|}}} |
{{!}} class="comptf-infobox-header" style="text-align:center" {{!}} '''3rd-4th'''
+
<div style="float:left;width:25%"> '''3rd-4th'''</div>
{{!}} class="comptf-infobox-body" {{!}} {{#if:{{{sf1|}}}|<!--
+
<div style="float:right;width:75%">{{#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>|</div>}}|}}{{#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:47, 14 April 2020