Template:InfoboxTournament: Difference between revisions

From comp.tf
Jump to navigation Jump to search
No edit summary
No edit summary
Line 194: Line 194:


-->{{#if: {{{1st|}}} |
-->{{#if: {{{1st|}}} |
<div style="float:left;width:14.1%;line-height:1.6;height:24px;text-align:right;padding:2px;box-sizing:border-box">{{medal|1}}</div>
<div style="float:left;width:10%;line-height:1.6;height:24px;text-align:right;padding:2px;box-sizing:border-box">{{medal|1}}</div>
<div style="float:left;width:14.1%;line-height:1.6;height:24px;text-align:left;padding:2px;box-sizing:border-box">'''1st'''</div>
<div style="float:left;width:10%;line-height:1.6;height:24px;text-align:left;padding:2px;box-sizing:border-box">'''1st'''</div>
<div style="float:right;width:61.8%;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:80%;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>
|}}
|}}
<!--
<!--
Line 203: Line 203:


-->{{#if: {{{2nd|}}} |
-->{{#if: {{{2nd|}}} |
<div style="float:left;width:14.1%;line-height:1.6;height:24px;text-align:right;padding:2px;box-sizing:border-box">{{medal|2}}</div>
<div style="float:left;width:10%;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;padding:2px;box-sizing:border-box">'''2nd'''</div>
<div style="float:left;width:10%;line-height:1.6;height:24px;text-align:left;padding:2px;box-sizing:border-box">'''2nd'''</div>
<div style="float:right;width:61.8%;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|<span style="line-height:100%;vertical-align:top">[[File:{{{2nd|}}} Icon.png|x20px|link={{#ifexist:{{{2nd|}}}|{{{2nd|}}}|}}]]</span>}}</div> {{#ifexist:{{{2nd|}}}|[[{{{2nd|}}}]]|{{{2nd|}}}}}</div>
<div style="float:right;width:80%;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|<span style="line-height:100%;vertical-align:top">[[File:{{{2nd|}}} Icon.png|x20px|link={{#ifexist:{{{2nd|}}}|{{{2nd|}}}|}}]]</span>}}</div> {{#ifexist:{{{2nd|}}}|[[{{{2nd|}}}]]|{{{2nd|}}}}}</div>
|}}
|}}
<!--
<!--
Line 212: Line 212:


-->{{#if: {{{3rd|}}} |
-->{{#if: {{{3rd|}}} |
<div style="float:left;width:14.1%;line-height:1.6;height:24px;text-align:right;padding:2px;box-sizing:border-box">{{medal|3}}</div>
<div style="float:left;width:10%;line-height:1.6;height:24px;text-align:right;padding:2px;box-sizing:border-box">{{medal|3}}</div>
<div style="float:left;width:14.1%;line-height:1.6;height:24px;text-align:left;padding:2px;box-sizing:border-box">'''3rd'''</div>
<div style="float:left;width:10%;line-height:1.6;height:24px;text-align:left;padding:2px;box-sizing:border-box">'''3rd'''</div>
<div style="float:right;width:61.8%;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|<span style="line-height:100%;vertical-align:top">[[File:{{{3rd|}}} Icon.png|x20px|link={{#ifexist:{{{3rd|}}}|{{{3rd|}}}|}}]]</span>}}</div> {{#ifexist:{{{3rd|}}}|[[{{{3rd|}}}]]|{{{3rd|}}}}}</div>
<div style="float:right;width:80%;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|<span style="line-height:100%;vertical-align:top">[[File:{{{3rd|}}} Icon.png|x20px|link={{#ifexist:{{{3rd|}}}|{{{3rd|}}}|}}]]</span>}}</div> {{#ifexist:{{{3rd|}}}|[[{{{3rd|}}}]]|{{{3rd|}}}}}</div>
|}}
|}}
<!--
<!--
Line 221: Line 221:


-->{{#if: {{{4th|}}} |
-->{{#if: {{{4th|}}} |
<div style="float:left;width:14.1%;line-height:1.6;height:24px;text-align:right;padding:2px;box-sizing:border-box"></div>
<div style="float:left;width:10%;line-height:1.6;height:24px;text-align:right;padding:2px;box-sizing:border-box"></div>
<div style="float:left;width:14.1%;line-height:1.6;height:24px;text-align:left;padding:2px;box-sizing:border-box">'''4th'''</div>
<div style="float:left;width:10%;line-height:1.6;height:24px;text-align:left;padding:2px;box-sizing:border-box">'''4th'''</div>
<div style="float:right;width:61.8%;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|<span style="line-height:100%;vertical-align:top">[[File:{{{4th|}}} Icon.png|x20px|link={{#ifexist:{{{4th|}}}|{{{4th|}}}|}}]]</span>}}</div> {{#ifexist:{{{4th|}}}|[[{{{4th|}}}]]|{{{4th|}}}}}</div>
<div style="float:right;width:80%;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|<span style="line-height:100%;vertical-align:top">[[File:{{{4th|}}} Icon.png|x20px|link={{#ifexist:{{{4th|}}}|{{{4th|}}}|}}]]</span>}}</div> {{#ifexist:{{{4th|}}}|[[{{{4th|}}}]]|{{{4th|}}}}}</div>
|}}
|}}
<!--
<!--
Line 230: Line 230:


-->{{#if: {{{sf1|}}}{{{sf2|}}} |
-->{{#if: {{{sf1|}}}{{{sf2|}}} |
<div style="float:left;width:14.1%;line-height:1.6;height:24px;text-align:right;padding:2px;box-sizing:border-box"></div>
<div style="float:left;width:10%;line-height:1.6;height:24px;text-align:right;padding:2px;box-sizing:border-box"></div>
<div style="float:left;width:14.1%;line-height:1.6;height:24px;text-align:left;padding:2px;box-sizing:border-box">'''3rd-4th'''</div>
<div style="float:left;width:10%;line-height:1.6;height:24px;text-align:left;padding:2px;box-sizing:border-box">'''3rd-4th'''</div>
<div style="float:right;width:61.8%;line-height:1.6;height:24px;padding:2px;box-sizing:border-box">{{#if:{{{sf1|}}}|<!--
<div style="float:right;width:80%;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|<span style="line-height:100%;vertical-align:top">[[File:{{{sf1|}}} Icon.png|x20px|link={{#ifexist:{{{sf1|}}}|{{{sf1|}}}|}}]]</span>}}</div> {{#ifexist:{{{sf1|}}}|[[{{{sf1|}}}]]|{{{sf1|}}}}}<!--
     --><div style="width:44px;float:left;height:20px;">{{#ifexist:File:{{{sf1|}}} Icon.png|<span style="line-height:100%;vertical-align:top">[[File:{{{sf1|}}} Icon.png|x20px|link={{#ifexist:{{{sf1|}}}|{{{sf1|}}}|}}]]</span>}}</div> {{#ifexist:{{{sf1|}}}|[[{{{sf1|}}}]]|{{{sf1|}}}}}<!--
     -->{{#if:{{{sf2|}}}|<br>|</div>}}|}}{{#if:{{{sf2|}}}|<!--
     -->{{#if:{{{sf2|}}}|<br>|</div>}}|}}{{#if:{{{sf2|}}}|<!--

Revision as of 21:27, 16 April 2020