Difference between revisions of "Template:InfoboxTournament"

From comp.tf
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
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 149: Line 158:
 
   | none = None
 
   | none = None
 
   | equipment = Equipment
 
   | equipment = Equipment
   |#default = US${{Thousands_separator|{{#ifexpr:{{#len:{{{prizepool|}}}}}>4|{{#expr:{{{prizepool|}}} round -3}}|{{#ifeq:{{#len:{{{prizepool|}}}}}|1|{{{prizepool|}}}|{{#expr:{{{prizepool|}}} round {{#len:{{{prizepool|}}}}}*-1+2}}}}}}}}
+
   |#default = US${{Thousands_separator|{{{prizepool|}}}}}
 
}}|None}}
 
}}|None}}
 
{{!}}- {{#if:{{{tier|}}}|class="comptf-infobox-info"}}
 
{{!}}- {{#if:{{{tier|}}}|class="comptf-infobox-info"}}
Line 160: Line 169:
 
{{!}} 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 = World Championship (Tier 1)
+
   | world championship = [[:Category:World Championships|World Championship]]
 
   | 2
 
   | 2
   | tier 2 = Tier 2
+
   | tier 2
 
   | continent
 
   | continent
 
   | continental
 
   | continental
   | continental championship = Continental Championship (Tier 2)
+
   | continental championship = [[:Category:Continental Championships|Continental Championship]]
 
   | 3
 
   | 3
 
   | tier 3 = Tier 3
 
   | tier 3 = Tier 3
Line 275: Line 284:
  
 
-->{{#if: {{{chronologytitle|}}}{{{next|}}}{{{nextlabel|}}}{{{prev|}}}{{{prevlabel|}}}|
 
-->{{#if: {{{chronologytitle|}}}{{{next|}}}{{{nextlabel|}}}{{{prev|}}}{{{prevlabel|}}}|
! class="comptf-infobox-subtitle" colspan="2" {{!}} {{LeagueIconSmall|{{{chronologyicon|}}}|size=20px|middle=true}} {{{chronologytitle|Chronology}}}
+
! class="comptf-infobox-subtitle" colspan="2" {{!}} {{LeagueIconSmall|{{{chronologyicon|}}}|size=20px|style=padding-top:4px}} {{{chronologytitle|Chronology}}}
 
{{!}}-
 
{{!}}-
 
{{!}} colspan="2" style="padding:2px 0px;" {{!}}<!--
 
{{!}} colspan="2" style="padding:2px 0px;" {{!}}<!--

Latest revision as of 07:21, 28 April 2021