Difference between revisions of "Template:InfoboxTournament"

From comp.tf
Jump to navigation Jump to search
Line 215: Line 215:
  
 
-->{{#if: {{{1st|}}} |
 
-->{{#if: {{{1st|}}} |
<div style="float:left;width:12.5%;line-height:1.6;height:24px;text-align:right;">{{medal|1}}</div>
+
<div style="float:left;width:12.5%;line-height:1.6;height:24px;text-align:right;padding:2px;box-sizing:border-box">{{medal|1}}</div>
<div style="float:left;width:12.5%;line-height:1.6;height:24px;text-align:left;">&nbsp;'''1st'''</div>
+
<div style="float:left;width:12.5%;line-height:1.6;height:24px;text-align:left;padding:2px;box-sizing:border-box">'''1st'''</div>
<div style="float:right;width:75%;line-height:1.6;height:24px"><div style="width:44px;float:left;height:20px;">{{#ifexist:File:{{{1st|}}} Icon.png|[[File:{{{1st|}}} Icon.png|x20px|link={{#ifexist:{{{1st|}}}|{{{1st|}}}|}}]]}}</div> {{#ifexist:{{{1st|}}}|[[{{{1st|}}}]]|{{{1st|}}}}}</div>
+
<div style="float:right;width:75%;line-height:1.6;height:24px;padding:2px;box-sizing:border-box"><div style="width:44px;float:left;height:20px;">{{#ifexist:File:{{{1st|}}} Icon.png|[[File:{{{1st|}}} Icon.png|x20px|link={{#ifexist:{{{1st|}}}|{{{1st|}}}|}}]]}}</div> {{#ifexist:{{{1st|}}}|[[{{{1st|}}}]]|{{{1st|}}}}}</div>
 
|}}
 
|}}
 
<!--
 
<!--
Line 224: Line 224:
  
 
-->{{#if: {{{2nd|}}} |
 
-->{{#if: {{{2nd|}}} |
<div style="float:left;width:12.5%;line-height:1.6;height:24px;text-align:right">{{medal|2}}</div>
+
<div style="float:left;width:12.5%;line-height:1.6;height:24px;text-align:right;padding:2px;box-sizing:border-box">{{medal|2}}</div>
<div style="float:left;width:12.5%;line-height:1.6;height:24px;text-align:left">&nbsp;'''2nd'''</div>
+
<div style="float:left;width:12.5%;line-height:1.6;height:24px;text-align:left;padding:2px;box-sizing:border-box">'''2nd'''</div>
<div style="float:right;width:75%;line-height:1.6;height:24px"><div style="width:44px;float:left;height:20px;">{{#ifexist:File:{{{2nd|}}} Icon.png|[[File:{{{2nd|}}} Icon.png|x20px|link={{#ifexist:{{{2nd|}}}|{{{2nd|}}}|}}]]}}</div> {{#ifexist:{{{2nd|}}}|[[{{{2nd|}}}]]|{{{2nd|}}}}}</div>
+
<div style="float:right;width:75%;line-height:1.6;height:24px;padding:2px;box-sizing:border-box"><div style="width:44px;float:left;height:20px;">{{#ifexist:File:{{{2nd|}}} Icon.png|[[File:{{{2nd|}}} Icon.png|x20px|link={{#ifexist:{{{2nd|}}}|{{{2nd|}}}|}}]]}}</div> {{#ifexist:{{{2nd|}}}|[[{{{2nd|}}}]]|{{{2nd|}}}}}</div>
 
|}}
 
|}}
 
<!--
 
<!--
Line 233: Line 233:
  
 
-->{{#if: {{{3rd|}}} |
 
-->{{#if: {{{3rd|}}} |
<div style="float:left;width:12.5%;line-height:1.6;height:24px;text-align:right">{{medal|3}}</div>
+
<div style="float:left;width:12.5%;line-height:1.6;height:24px;text-align:right;padding:2px;box-sizing:border-box">{{medal|3}}</div>
<div style="float:left;width:12.5%;line-height:1.6;height:24px;text-align:left;">&nbsp;'''3rd'''</div>
+
<div style="float:left;width:12.5%;line-height:1.6;height:24px;text-align:left;padding:2px;box-sizing:border-box">'''3rd'''</div>
<div style="float:right;width:75%;line-height:1.6;height:24px"><div style="width:44px;float:left;height:20px;">{{#ifexist:File:{{{3rd|}}} Icon.png|[[File:{{{3rd|}}} Icon.png|x20px|link={{#ifexist:{{{3rd|}}}|{{{3rd|}}}|}}]]}}</div> {{#ifexist:{{{3rd|}}}|[[{{{3rd|}}}]]|{{{3rd|}}}}}</div>
+
<div style="float:right;width:75%;line-height:1.6;height:24px;padding:2px;box-sizing:border-box"><div style="width:44px;float:left;height:20px;">{{#ifexist:File:{{{3rd|}}} Icon.png|[[File:{{{3rd|}}} Icon.png|x20px|link={{#ifexist:{{{3rd|}}}|{{{3rd|}}}|}}]]}}</div> {{#ifexist:{{{3rd|}}}|[[{{{3rd|}}}]]|{{{3rd|}}}}}</div>
 
|}}
 
|}}
 
<!--
 
<!--
Line 242: Line 242:
  
 
-->{{#if: {{{4th|}}} |
 
-->{{#if: {{{4th|}}} |
<div style="float:left;width:12.5%;line-height:1.6;height:24px;text-align:right"></div>
+
<div style="float:left;width:12.5%;line-height:1.6;height:24px;text-align:right;padding:2px;box-sizing:border-box"></div>
<div style="float:left;width:12.5%;line-height:1.6;height:24px;text-align:left;">&nbsp;'''4th'''</div>
+
<div style="float:left;width:12.5%;line-height:1.6;height:24px;text-align:left;padding:2px;box-sizing:border-box">&nbsp;'''4th'''</div>
<div style="float:right;width:75%;line-height:1.6;height:24px"><div style="width:44px;float:left;height:20px;">{{#ifexist:File:{{{4th|}}} Icon.png|[[File:{{{4th|}}} Icon.png|x20px|link={{#ifexist:{{{4th|}}}|{{{4th|}}}|}}]]}}</div> {{#ifexist:{{{4th|}}}|[[{{{4th|}}}]]|{{{4th|}}}}}</div>
+
<div style="float:right;width:75%;line-height:1.6;height:24px;padding:2px;box-sizing:border-box"><div style="width:44px;float:left;height:20px;">{{#ifexist:File:{{{4th|}}} Icon.png|[[File:{{{4th|}}} Icon.png|x20px|link={{#ifexist:{{{4th|}}}|{{{4th|}}}|}}]]}}</div> {{#ifexist:{{{4th|}}}|[[{{{4th|}}}]]|{{{4th|}}}}}</div>
 
|}}
 
|}}
 
<!--
 
<!--
Line 251: Line 251:
  
 
-->{{#if: {{{sf1|}}}{{{sf2|}}} |
 
-->{{#if: {{{sf1|}}}{{{sf2|}}} |
<div style="float:left;width:12.5%;line-height:1.6;height:24px;text-align:right"></div>
+
<div style="float:left;width:12.5%;line-height:1.6;height:24px;text-align:right;padding:2px;box-sizing:border-box"></div>
<div style="float:left;width:12.5%;line-height:1.6;height:24px;text-align:left;">&nbsp;'''3rd-4th'''</div>
+
<div style="float:left;width:12.5%;line-height:1.6;height:24px;text-align:left;padding:2px;box-sizing:border-box">&nbsp;'''3rd-4th'''</div>
<div style="float:right;width:75%;line-height:1.6;height:24px">{{#if:{{{sf1|}}}|<!--
+
<div style="float:right;width:75%;line-height:1.6;height:24px;padding:2px;box-sizing:border-box">{{#if:{{{sf1|}}}|<!--
 
     --><div style="width:44px;float:left;height:20px;">{{#ifexist:File:{{{sf1|}}} Icon.png|[[File:{{{sf1|}}} Icon.png|x20px|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|x20px|link={{#ifexist:{{{sf1|}}}|{{{sf1|}}}|}}]]}}</div> {{#ifexist:{{{sf1|}}}|[[{{{sf1|}}}]]|{{{sf1|}}}}}<!--
 
     -->{{#if:{{{sf2|}}}|<br>|</div>}}|}}{{#if:{{{sf2|}}}|<!--
 
     -->{{#if:{{{sf2|}}}|<br>|</div>}}|}}{{#if:{{{sf2|}}}|<!--

Revision as of 22:35, 15 April 2020