Difference between revisions of "Template:InfoboxTournament"

From comp.tf
Jump to navigation Jump to search
Line 194: Line 194:
  
 
-->{{#if: {{{1st|}}} |
 
-->{{#if: {{{1st|}}} |
<div style="float:left;width:52px;line-height:1.6;height:24px;text-align:right;padding:2px;box-sizing:border-box">{{medal|1}}</div>
+
<div style="float:left;width:34px;line-height:1.6;height:24px;text-align:right;padding:2px;box-sizing:border-box">{{medal|1}}</div>
<div style="float:left;width:52px;line-height:1.6;height:24px;text-align:left;padding:2px;box-sizing:border-box">'''1st'''</div>
+
<div style="float:left;width:34px;line-height:1.6;height:24px;text-align:left;padding:2px;box-sizing:border-box">'''1st'''</div>
<div style="float:right;width:222px;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|<span style="line-height:100%;vertical-align:top">[[File:{{{1st|}}} Icon.png|x20px|link={{#ifexist:{{{1st|}}}|{{{1st|}}}|}}]]</span>}}</div> {{#ifexist:{{{1st|}}}|[[{{{1st|}}}]]|{{{1st|}}}}}</div>
+
<div style="float:right;width:226px;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|<span style="line-height:100%;vertical-align:top">[[File:{{{1st|}}} Icon.png|x20px|link={{#ifexist:{{{1st|}}}|{{{1st|}}}|}}]]</span>}}</div> {{#ifexist:{{{1st|}}}|[[{{{1st|}}}]]|{{{1st|}}}}}</div>
 
|}}
 
|}}
 
<!--
 
<!--

Revision as of 21:37, 16 April 2020