Editing Template:InfoboxTournament

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

This page is not enabled for semantic in-text annotations due to namespace restrictions. Details about how to enable the namespace can be found on the configuration help page.

Latest revision Your text
Line 41: Line 41:
 
-->! class="comptf-infobox-subtitle" colspan="2" | Tournament Information
 
-->! class="comptf-infobox-subtitle" colspan="2" | Tournament Information
 
|- class="comptf-infobox-info"
 
|- class="comptf-infobox-info"
<!--
 
 
FULL NAME
 
 
-->{{#if:{{{fullname|}}}|
 
{{!}} class="comptf-infobox-header" {{!}} '''Full name'''
 
{{!}} class="comptf-infobox-body" {{!}} <span class="plainlinks">{{{fullname|}}}</span>
 
{{!}}- class="comptf-infobox-info"
 
|}}
 
 
<!--
 
<!--
  
Line 158: Line 149:
 
   | none = None
 
   | none = None
 
   | equipment = Equipment
 
   | equipment = Equipment
   |#default = US${{Thousands_separator|{{{prizepool|}}}}}
+
   |#default = US${{Thousands_separator|{{#ifexpr:{{#len:{{{prizepool|}}}}}>4|{{#expr:{{{prizepool|}}} round -3}}|{{#ifeq:{{#len:{{{prizepool|}}}}}|1|{{{prizepool|}}}|{{#expr:{{{prizepool|}}} round {{#len:{{{prizepool|}}}}}*-1+2}}}}}}}}
 
}}|None}}
 
}}|None}}
 
{{!}}- {{#if:{{{tier|}}}|class="comptf-infobox-info"}}
 
{{!}}- {{#if:{{{tier|}}}|class="comptf-infobox-info"}}
Line 169: Line 160:
 
{{!}} class="comptf-infobox-body" {{!}} {{#switch:{{lc:{{{tier|}}}}}
 
{{!}} class="comptf-infobox-body" {{!}} {{#switch:{{lc:{{{tier|}}}}}
 
   | 1
 
   | 1
   | tier 1
+
   | tier 1 = Tier 1
 
   | world
 
   | world
   | world championship = [[:Category:World Championships|World Championship]]
+
   | world championship = World Championship (Tier 1)
 
   | 2
 
   | 2
   | tier 2
+
   | tier 2 = Tier 2
 
   | continent
 
   | continent
 
   | continental
 
   | continental
   | continental championship = [[:Category:Continental Championships|Continental Championship]]
+
   | continental championship = Continental Championship (Tier 2)
 
   | 3
 
   | 3
 
   | tier 3 = Tier 3
 
   | tier 3 = Tier 3
 
   | misc
 
   | misc
 
   | miscellaneous = Miscellaneous
 
   | miscellaneous = Miscellaneous
  | untiered
 
  | none
 
  |#default=Untiered
 
 
}}
 
}}
 
{{!}}-  
 
{{!}}-  
Line 206: Line 194:
  
 
-->{{#if: {{{1st|}}} |
 
-->{{#if: {{{1st|}}} |
<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:56px;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:left;padding:2px;box-sizing:border-box">'''1st'''</div>
+
<div style="float:left;width:56px;line-height:1.6;height:24px;text-align:left;padding:2px;box-sizing:border-box">'''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>
 
<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>
 
|}}
 
|}}
Line 215: Line 203:
  
 
-->{{#if: {{{2nd|}}} |
 
-->{{#if: {{{2nd|}}} |
<div style="float:left;width:34px;line-height:1.6;height:24px;text-align:right;padding:2px;box-sizing:border-box">{{medal|2}}</div>
+
<div style="float:left;width:56px;line-height:1.6;height:24px;text-align:right;padding:2px;box-sizing:border-box">{{medal|2}}</div>
<div style="float:left;width:34px;line-height:1.6;height:24px;text-align:left;padding:2px;box-sizing:border-box">'''2nd'''</div>
+
<div style="float:left;width:56px;line-height:1.6;height:24px;text-align:left;padding:2px;box-sizing:border-box">'''2nd'''</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:{{{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:226px;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 224: Line 212:
  
 
-->{{#if: {{{3rd|}}} |
 
-->{{#if: {{{3rd|}}} |
<div style="float:left;width:34px;line-height:1.6;height:24px;text-align:right;padding:2px;box-sizing:border-box">{{medal|3}}</div>
+
<div style="float:left;width:56px;line-height:1.6;height:24px;text-align:right;padding:2px;box-sizing:border-box">{{medal|3}}</div>
<div style="float:left;width:34px;line-height:1.6;height:24px;text-align:left;padding:2px;box-sizing:border-box">'''3rd'''</div>
+
<div style="float:left;width:56px;line-height:1.6;height:24px;text-align:left;padding:2px;box-sizing:border-box">'''3rd'''</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:{{{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:226px;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 233: Line 221:
  
 
-->{{#if: {{{4th|}}} |
 
-->{{#if: {{{4th|}}} |
<div style="float:left;width:34px;line-height:1.6;height:24px;text-align:right;padding:2px;box-sizing:border-box"></div>
+
<div style="float:left;width:56px;line-height:1.6;height:24px;text-align:right;padding:2px;box-sizing:border-box"></div>
<div style="float:left;width:34px;line-height:1.6;height:24px;text-align:left;padding:2px;box-sizing:border-box">'''4th'''</div>
+
<div style="float:left;width:56px;line-height:1.6;height:24px;text-align:left;padding:2px;box-sizing:border-box">'''4th'''</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:{{{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:226px;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 242: Line 230:
  
 
-->{{#if: {{{sf1|}}}{{{sf2|}}} |
 
-->{{#if: {{{sf1|}}}{{{sf2|}}} |
<div style="float:left;width:34px;line-height:1.6;height:24px;text-align:right;padding:2px;box-sizing:border-box"></div>
+
<div style="float:left;width:56px;line-height:1.6;height:24px;text-align:right;padding:2px;box-sizing:border-box"></div>
<div style="float:left;width:34px;line-height:1.6;height:24px;text-align:left;padding:2px;box-sizing:border-box">'''3rd-4th'''</div>
+
<div style="float:left;width:56px;line-height:1.6;height:24px;text-align:left;padding:2px;box-sizing:border-box">'''3rd-4th'''</div>
 
<div style="float:right;width:226px;line-height:1.6;height:24px;padding:2px;box-sizing:border-box">{{#if:{{{sf1|}}}|<!--
 
<div style="float:right;width:226px;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|}}}}}<!--
Line 284: Line 272:
  
 
-->{{#if: {{{chronologytitle|}}}{{{next|}}}{{{nextlabel|}}}{{{prev|}}}{{{prevlabel|}}}|
 
-->{{#if: {{{chronologytitle|}}}{{{next|}}}{{{nextlabel|}}}{{{prev|}}}{{{prevlabel|}}}|
! class="comptf-infobox-subtitle" colspan="2" {{!}} {{LeagueIconSmall|{{{chronologyicon|}}}|size=20px|style=padding-top:4px}} {{{chronologytitle|Chronology}}}
+
! class="comptf-infobox-subtitle" colspan="2" {{!}} {{LeagueIconSmall|{{{chronologyicon|}}}|size=20px|middle=true}} {{{chronologytitle|Chronology}}}
 
{{!}}-
 
{{!}}-
 
{{!}} colspan="2" style="padding:2px 0px;" {{!}}<!--
 
{{!}} colspan="2" style="padding:2px 0px;" {{!}}<!--

Please note that all contributions to comp.tf may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see comp.tf:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)