Difference between revisions of "Template:Infobox lan"

From QWiki
(Created page with "<includeonly><!-- -->{{#vardefine:date|{{#if:{{{date|}}}|{{#ifeq:{{lc:{{{date|}}}}}|tba||{{#replace:{{#replace:{{{date|}}}|-XX|}}|-??|}}}}}}}}<!-- -->{{#vardefine:sdate|{{#if...")
 
Line 30: Line 30:
 
<div class="infobox-header wiki-backgroundcolor-light infobox-header-2">LAN Information</div>
 
<div class="infobox-header wiki-backgroundcolor-light infobox-header-2">LAN Information</div>
 
</div><!--
 
</div><!--
 
Series
 
 
-->{{#if:{{{series|}}}|
 
<div>
 
<div class="infobox-cell-2 infobox-description">Series:</div>
 
<div class="infobox-cell-2">{{#ifexist:Template:LeagueIconSmall/{{lc:{{{series}}}}}|{{LeagueIconSmall/{{lc:{{{series}}}}}}}|}} {{#ifexist:{{{series}}}|[[{{{series}}}]]|{{{series}}}}}</div>
 
</div>
 
}}<!--
 
  
 
Organizer
 
Organizer
Line 60: Line 51:
 
<div class="infobox-cell-2 infobox-description">Sponsor:</div>
 
<div class="infobox-cell-2 infobox-description">Sponsor:</div>
 
<div class="infobox-cell-2">{{{sponsor}}}</div>
 
<div class="infobox-cell-2">{{{sponsor}}}</div>
</div>
 
}}<!--
 
 
Game/Patch
 
 
-->{{#if:{{{game|}}}{{{patch|}}}|
 
<div>
 
<div class="infobox-cell-2 infobox-description">Game Version:</div>
 
<div class="infobox-cell-2">{{#switch:{{{game|}}}|wol=[[Wings of Liberty]][[Category:{{#if:{{{beta|}}}|Beta&nbsp;}}WoL Competitions]]|hots=[[Heart of the Swarm]][[Category:{{#if:{{{beta|}}}|Beta&nbsp;}}HotS Competitions]]|lotv=[[Legacy of the Void]][[Category:{{#if:{{{beta|}}}|Beta&nbsp;}}LotV Competitions]]|[[Category:{{#if:{{{beta|}}}|Beta&nbsp;}}Competitions]]}} <!--
 
 
If two patch versions then break line, if only one keep on the same line as game version.
 
-->{{#if:{{{beta|}}}|Beta&nbsp;}}<!--
 
 
-->{{#if:{{{epatch|}}}|<br /> [[{{{patch|}}}]] &ndash; [[{{{epatch|}}}]]|{{#if:{{{patch|}}}|[[{{{patch}}}]]}}}}</div>
 
</div>
 
}}<!--
 
 
Server
 
 
-->{{#if:{{{server|}}}|
 
<div>
 
<div class="infobox-cell-2 infobox-description">Server:</div>
 
<div class="infobox-cell-2">{{{server}}}</div>
 
 
</div>
 
</div>
 
}}<!--
 
}}<!--

Revision as of 08:44, 18 December 2016

Documentation (view - edit)

Adapted from Liquipedia under CC-BY-SA license.