Difference between revisions of "Template:Infobox lan"

From QWiki
m (Updated to new link with icon layout)
 
(14 intermediate revisions by 2 users not shown)
Line 37: Line 37:
 
<div class="infobox-cell-2 infobox-description">Organizer:</div>
 
<div class="infobox-cell-2 infobox-description">Organizer:</div>
 
<div class="infobox-cell-2"><!--
 
<div class="infobox-cell-2"><!--
-->{{#ifexist:{{{organizer|}}}|[[{{{organizer}}}]]|{{{organizer}}}}}<!--
+
-->{{#if:{{{organizer|}}}|{{{organizer}}}}}<!--
-->{{#if:{{{organizer2|}}}|<br />{{#ifexist:{{{organizer2|}}}|[[{{{organizer2}}}]]|{{{organizer2}}}}}}}<!--
+
-->{{#if:{{{organizer2|}}}|<br />{{{organizer2}}}}}<!--
-->{{#if:{{{organizer3|}}}|<br />{{#ifexist:{{{organizer3|}}}|[[{{{organizer3}}}]]|{{{organizer3}}}}}}}<!--
+
-->{{#if:{{{organizer3|}}}|<br />{{{organizer3}}}}}<!--
-->{{#if:{{{organizer4|}}}|<br />{{#ifexist:{{{organizer4|}}}|[[{{{organizer4}}}]]|{{{organizer4}}}}}}}<!--
+
-->{{#if:{{{organizer4|}}}|<br />{{{organizer4}}}}}<!--
 
--></div>
 
--></div>
 
</div>
 
</div>
 
}}<!--
 
}}<!--
  
Sponsor
+
Admins
 +
 
 +
-->{{#if:{{{admin|}}}|
 +
<div>
 +
<div class="infobox-cell-2 infobox-description">Admin:</div>
 +
<div class="infobox-cell-2"><!--
 +
-->{{#if:{{{admin|}}}|{{{admin}}}}}<!--
 +
-->{{#if:{{{admin2|}}}|<br />{{{admin2}}}}}<!--
 +
-->{{#if:{{{admin3|}}}|<br />{{{admin3}}}}}<!--
 +
-->{{#if:{{{admin4|}}}|<br />{{{admin4}}}}}<!--
 +
-->{{#if:{{{admin5|}}}|<br />{{{admin5}}}}}<!--
 +
-->{{#if:{{{admin6|}}}|<br />{{{admin6}}}}}<!--
 +
-->{{#if:{{{admin7|}}}|<br />{{{admin7}}}}}<!--
 +
--></div>
 +
</div>
 +
}}<!--
 +
 
 +
Founder
 +
 
 +
-->{{#if:{{{founder|}}}|
 +
<div>
 +
<div class="infobox-cell-2 infobox-description">Founder:</div>
 +
<div class="infobox-cell-2">{{{founder}}}</div>
 +
</div>
 +
}}<!--
  
 
-->{{#if:{{{sponsor|}}}|
 
-->{{#if:{{{sponsor|}}}|
 
<div>
 
<div>
 
<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"><!--
 +
-->{{#if:{{{sponsor|}}}|{{{sponsor}}}}}<!--
 +
-->{{#if:{{{sponsor2|}}}|<br />{{{sponsor2}}}}}<!--
 +
-->{{#if:{{{sponsor3|}}}|<br />{{{sponsor3}}}}}<!--
 +
-->{{#if:{{{sponsor4|}}}|<br />{{{sponsor4}}}}}<!--
 +
--></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>
 +
}}<!--
 +
 
 +
Mode
 +
 
 +
-->{{#if:{{{mode|}}}|
 +
<div>
 +
<div class="infobox-cell-2 infobox-description">Mode:</div>
 +
<div class="infobox-cell-2">{{{mode}}}</div>
 
</div>
 
</div>
 
}}<!--
 
}}<!--
Line 91: Line 152:
 
}}<!--
 
}}<!--
  
Entrance fee
+
Format
  
-->{{#if:{{{entrance|}}}|
+
-->{{#if:{{{format|}}}|
 
<div>
 
<div>
<div class="infobox-cell-2 infobox-description">Entrance fee:</div>
+
<div class="infobox-cell-2 infobox-description">Format:</div>
<div class="infobox-cell-2">{{{entrance}}}</div>
+
<div class="infobox-cell-2">{{{format}}}</div>
</div>
 
}}<!--
 
 
 
Tournaments
 
 
 
-->{{#if:{{{tournaments|}}}|
 
<div>
 
<div class="infobox-cell-2 infobox-description">Tournaments:</div>
 
<div class="infobox-cell-2">{{{tournaments}}}</div>
 
 
</div>
 
</div>
 
}}<!--
 
}}<!--
Line 128: Line 180:
 
-->{{#if:{{{sdate|}}}|
 
-->{{#if:{{{sdate|}}}|
 
<div>
 
<div>
<div class="infobox-cell-2 infobox-description">Start Date:</div>
+
<div class="infobox-cell-2 infobox-description">First edition:</div>
 
<div class="infobox-cell-2">{{{sdate}}}</div>
 
<div class="infobox-cell-2">{{{sdate}}}</div>
 
</div>
 
</div>
Line 134: Line 186:
 
-->{{#if:{{{edate|}}}|
 
-->{{#if:{{{edate|}}}|
 
<div>
 
<div>
<div class="infobox-cell-2 infobox-description">End Date:</div>
+
<div class="infobox-cell-2 infobox-description">Last edition:</div>
 
<div class="infobox-cell-2">{{{edate}}}</div>
 
<div class="infobox-cell-2">{{{edate}}}</div>
 
</div>
 
</div>
 
}}<!--
 
}}<!--
  
Dota TV Ticket
+
Entrance fee
  
-->{{#if:{{{dotatv|}}}|
+
-->{{#if:{{{entrance|}}}|
 
<div>
 
<div>
<div class="infobox-cell-2 infobox-description">Dota TV Ticket:</div>
+
<div class="infobox-cell-2 infobox-description">Entrance fee:</div>
<div class="infobox-cell-2">{{{dotatv}}}</div>
+
<div class="infobox-cell-2">{{{entrance}}}</div>
</div>
 
}}<!--
 
 
 
Website
 
 
 
-->{{#if:{{{website|}}}|
 
<div>
 
<div class="infobox-cell-2 infobox-description">Website:</div>
 
<div class="infobox-cell-2">{{{website}}}</div>
 
 
</div>
 
</div>
 
}}<!--
 
}}<!--
  
Icons
+
Icons & Links
  
-->{{#if:{{{twitter|}}} {{{facebook|}}} {{{vk|}}} {{{tlstream|}}} {{{ldstream|}}} {{{twitch|}}} {{{youtube|}}} {{{dotabuff|}}} {{{datdota|}}} {{{weibo|}}} {{{tencent|}}} {{{bracket|}}} {{{bracket2|}}} {{{gplus|}}} {{{vk|}}} {{{instagram|}}} {{{reddit|}}}|
+
-->{{#if:{{{website|}}} {{{website2|}}} {{{website3|}}} {{{website4|}}} {{{tlstream|}}} {{{twitch|}}} {{{own3d|}}} {{{stream|}}} {{{youtube|}}} {{{twitter|}}} {{{facebook|}}} {{{tlprofile|}}} {{{fanclub|}}} {{{steam|}}} {{{psn|}}} |
 
<div>
 
<div>
 
<div class="infobox-header wiki-backgroundcolor-light infobox-header-2">Links</div>
 
<div class="infobox-header wiki-backgroundcolor-light infobox-header-2">Links</div>
Line 165: Line 208:
 
<div>
 
<div>
 
<div class="infobox-center infobox-icons"><!--
 
<div class="infobox-center infobox-icons"><!--
--> {{#if:{{{dotabuff|}}}|[http://www.dotabuff.com/esports/leagues/{{{dotabuff}}} <i class="lp-icon lp-dotabuff"></i>]}}<!--
+
--> {{#if:{{{website|}}}|[[File:Icon link20px.png|link=]] [https://{{{website}}} {{{website}}}]<br>}}<!--  
--> {{#if:{{{datdota|}}}|[http://www.datdota.com/tournament.php?q={{{datdota}}} <i class="lp-icon lp-datdota"></i>]}}<!--
+
--> {{#if:{{{website2|}}}|[[File:Icon link20px.png|link=]] [https://{{{website2}}} {{{website2}}}]<br>}}<!--
--> {{#if:{{{twitter|}}}|[http://twitter.com/{{{twitter}}} <i class="lp-icon lp-twitter"></i>]}}<!--
+
--> {{#if:{{{website3|}}}|[[File:Icon link20px.png|link=]] [https://{{{website3}}} {{{website3}}}]<br>}}<!--
--> {{#if:{{{facebook|}}}|[http://facebook.com/{{{facebook}}} <i class="lp-icon lp-facebook"></i>]}}<!--
+
--> {{#if:{{{website4|}}}|[[File:Icon link20px.png|link=]] [https://{{{website4}}} {{{website4}}}]<br>}}<!--
--> {{#if:{{{ldstream|{{{tlstream|}}}}}}|[http://www.liquiddota.com/stream/{{{ldstream|{{{tlstream|}}}}}} <i class="lp-icon lp-tlstream"></i>]}}<!--
+
--> {{#if:{{{discord|}}}|[[File:Icon discord20px.png|link=]] [https://{{{discord}}} {{{discord}}}]<br>}}<!--
--> {{#if:{{{weibo|}}}|[http://weibo.com/{{{weibo}}} <i class="lp-icon lp-weibo"></i>]}}<!--
+
--> {{#if:{{{twitch|}}}|[[File:Icon twitch20px.png|link=]] [https://www.twitch.tv/{{{twitch}}} {{{twitch}}}]<br>}}<!--
--> {{#if:{{{tencent|}}}|[http://t.qq.com/{{{tencent}}} <i class="lp-icon lp-tencent"></i>]}}<!--
+
--> {{#if:{{{twitch2|}}}|[[File:Icon twitch20px.png|link=]] [https://www.twitch.tv/{{{twitch2}}} {{{twitch2}}}]<br>}}<!--
--> {{#if:{{{gplus|}}}|[http://plus.google.com/{{{gplus}}} <i class="lp-icon lp-google-plus"></i>]}}<!--
+
--> {{#if:{{{twitch3|}}}|[[File:Icon twitch20px.png|link=]] [https://www.twitch.tv/{{{twitch3}}} {{{twitch3}}}]<br>}}<!--
--> {{#if:{{{vk|}}}|[http://vk.com/{{{vk}}} <i class="lp-icon lp-vkontakte"></i>]}}<!--
+
--> {{#if:{{{twitch4|}}}|[[File:Icon twitch20px.png|link=]] [https://www.twitch.tv/{{{twitch4}}} {{{twitch4}}}]<br>}}<!--
--> {{#if:{{{instagram|}}}|[http://www.instagram.com/{{{instagram}}} <i class="lp-icon lp-instagram"></i>]}}<!--
+
--> {{#if:{{{youtube|}}}|[[File:Icon youtube20px.png|link=]] [https://www.youtube.com/{{{youtube}}} {{{youtube}}}]<br>}}<!--
--> {{#if:{{{twitch|}}}|[http://www.twitch.tv/{{{twitch}}}<i class="lp-icon lp-twitch"></i>]}}<!--
+
--> {{#if:{{{youtube2|}}}|[[File:Icon youtube20px.png|link=]] [https://www.youtube.com/{{{youtube2}}} {{{youtube2}}}]<br>}}<!--
--> {{#if:{{{twitch2|}}}|[http://www.twitch.tv/{{{twitch2}}}<i class="lp-icon lp-twitch"></i>]}}<!--
+
--> {{#if:{{{youtube3|}}}|[[File:Icon youtube20px.png|link=]] [https://www.youtube.com/{{{youtube3}}} {{{youtube3}}}]<br>}}<!--
--> {{#if:{{{twitch3|}}}|[http://www.twitch.tv/{{{twitch3}}}<i class="lp-icon lp-twitch"></i>]}}<!--
+
--> {{#if:{{{youtube4|}}}|[[File:Icon youtube20px.png|link=]] [https://www.youtube.com/{{{youtube4}}} {{{youtube4}}}]<br>}}<!--
--> {{#if:{{{twitch4|}}}|[http://www.twitch.tv/{{{twitch4}}}<i class="lp-icon lp-twitch"></i>]}}<!--
+
--> {{#if:{{{twitter|}}}|[https://twitter.com/{{{twitter}}} <i class="lp-icon lp-twitter"></i>]}}<!--
--> {{#if:{{{twitch5|}}}|[http://www.twitch.tv/{{{twitch5}}}<i class="lp-icon lp-twitch"></i>]}}<!--
+
--> {{#if:{{{facebook|}}}|[https://facebook.com/{{{facebook}}} <i class="lp-icon lp-facebook"></i>]}}<!--
--> {{#if:{{{stream|}}}|[{{{stream}}}<i class="lp-icon lp-stream"></i>]}}<!--
 
--> {{#if:{{{youtube|}}}|[http://www.youtube.com/{{{youtube}}}<i class="lp-icon lp-youtube"></i>]}}<!--
 
--> {{#if:{{{youtube2|}}}|[http://www.youtube.com/{{{youtube2}}}<i class="lp-icon lp-youtube"></i>]}}<!--
 
--> {{#if:{{{youtube3|}}}|[http://www.youtube.com/{{{youtube3}}}<i class="lp-icon lp-youtube"></i>]}}<!--
 
--> {{#if:{{{youtube4|}}}|[http://www.youtube.com/{{{youtube4}}}<i class="lp-icon lp-youtube"></i>]}}<!--
 
--> {{#if:{{{youtube5|}}}|[http://www.youtube.com/{{{youtube5}}}<i class="lp-icon lp-youtube"></i>]}}<!--
 
--> {{#if:{{{bracket|}}}|[{{{bracket}}} <i class="lp-icon lp-bracket"></i>]}}<!--
 
--> {{#if:{{{bracket2|}}}|[{{{bracket2}}} <i class="lp-icon lp-bracket"></i>]}}<!--
 
--> {{#if:{{{reddit|}}}|[http://www.reddit.com/{{{reddit}}} <i class="lp-icon lp-reddit"></i>]}}<!--
 
 
--></div>
 
--></div>
 
</div>
 
</div>
Line 204: Line 238:
 
<div>
 
<div>
 
<div class="infobox-center"><!--
 
<div class="infobox-center"><!--
-->{{#if:{{{teamfirst|}}}|{{Medal|1}}&nbsp;{{TeamIcon/{{lc:{{{teamfirst}}}}}}}}}<!--
+
-->{{#if:{{{teamfirst|}}}|{{Medal|1}}&nbsp;{{Flag/{{lc:{{{teamfirstflag}}}}}}} [[{{{teamfirst}}}]]}}<!--
 
--></div>
 
--></div>
 
</div>
 
</div>
Line 211: Line 245:
 
<div>
 
<div>
 
<div class="infobox-center {{#if:{{{teamthird2|}}}{{{teamfourth|}}}||infobox-cell-2}}"><!--
 
<div class="infobox-center {{#if:{{{teamthird2|}}}{{{teamfourth|}}}||infobox-cell-2}}"><!--
-->{{#if:{{{teamsecond|}}}|{{Medal|2}}&nbsp;{{TeamIcon/{{lc:{{{teamsecond}}}}}}}}}<!--
+
-->{{#if:{{{teamsecond|}}}|{{Medal|2}}&nbsp;{{Flag/{{lc:{{{teamsecondflag}}}}}}} [[{{{teamsecond}}}]]}}<!--
 
--></div><!--
 
--></div><!--
-->{{#if:{{{teamthird2|}}}{{{teamfourth|}}}||<div class="infobox-center infobox-cell-2">{{#if:{{{teamthird|}}}|{{Medal|3}}&nbsp;{{TeamIcon/{{lc:{{{teamthird}}}}}}}}}</div>}}<!--
+
-->{{#if:{{{teamthird2|}}}{{{teamfourth|}}}||<div class="infobox-center infobox-cell-2">{{#if:{{{teamthird|}}}|{{Medal|3}}&nbsp;{{Flag/{{lc:{{{teamthirdflag}}}}}}} [[{{{teamthird}}}]]}}</div>}}<!--
 
--></div>
 
--></div>
 
}}
 
}}
 
{{#if:{{{teamthird2|}}}{{{teamfourth|}}}|
 
{{#if:{{{teamthird2|}}}{{{teamfourth|}}}|
 
<div>
 
<div>
<div class="infobox-center infobox-cell-2">{{#if:{{{teamthird|}}}|{{Medal|{{#if:{{{teamfourth|}}}|3|sf}}}}&nbsp;{{TeamIcon/{{lc:{{{teamthird}}}}}}}}}</div>
+
<div class="infobox-center infobox-cell-2">{{#if:{{{teamthird|}}}|{{Medal|{{#if:{{{teamfourth|}}}|3|sf}}}}&nbsp;{{Flag/{{lc:{{{teamthirdflag}}}}}}} [[{{{teamthird}}}]]}}</div>
 
{{#if:{{{idthird2|}}}{{{teamthird2|}}}|
 
{{#if:{{{idthird2|}}}{{{teamthird2|}}}|
<div class="infobox-center infobox-cell-2">{{#if:{{{teamthird2|}}}|{{Medal|sf}}&nbsp;{{TeamIcon/{{lc:{{{teamthird2}}}}}}}}}</div>
+
<div class="infobox-center infobox-cell-2">{{#if:{{{teamthird2|}}}|{{Medal|sf}}&nbsp;{{Flag/{{lc:{{{teamthird2flag}}}}}}} [[{{{teamthird2}}}]]}}</div>
|<div class="infobox-center infobox-cell-2">{{#if:{{{teamfourth|}}}|{{Medal|4}}&nbsp;{{TeamIcon/{{lc:{{{teamfourth}}}}}}}}}</div>
+
|<div class="infobox-center infobox-cell-2">{{#if:{{{teamfourth|}}}|{{Medal|4}}&nbsp;{{Flag/{{lc:{{{teamfourthflag}}}}}}} [[{{{teamfourth}}}]]}}</div>
 
}}
 
}}
 
</div>
 
</div>
 
}}
 
}}
 +
}}<!--
 +
 +
Maps section
 +
 +
-->{{#if: {{{map1|}}} {{{map2|}}} {{{map3|}}} {{{map4|}}} {{{map5|}}} {{{map6|}}} {{{map7|}}} {{{map8|}}} {{{map9|}}} {{{map10|}}}|
 +
<div>
 +
<div class="infobox-header wiki-backgroundcolor-light infobox-header-2">Maps</div>
 +
</div>
 +
<div>
 +
<div class="infobox-center"><!--
 +
-->{{#if:{{{map1|}}}|[[{{{map1|}}}{{#if:{{{game|}}}|/{{{game}}}}}|{{{map1|}}}]]}}<!--
 +
-->{{#if:{{{map2|}}}|&nbsp;• {{nowrap|[[{{{map2|}}}{{#if:{{{game|}}}|/{{{game}}}}}|{{{map2|}}}]]}}}}<!--
 +
-->{{#if:{{{map3|}}}|&nbsp;• {{nowrap|[[{{{map3|}}}{{#if:{{{game|}}}|/{{{game}}}}}|{{{map3|}}}]]}}}}<!--
 +
-->{{#if:{{{map4|}}}|&nbsp;• {{nowrap|[[{{{map4|}}}{{#if:{{{game|}}}|/{{{game}}}}}|{{{map4|}}}]]}}}}<!--
 +
-->{{#if:{{{map5|}}}|&nbsp;• {{nowrap|[[{{{map5|}}}{{#if:{{{game|}}}|/{{{game}}}}}|{{{map5|}}}]]}}}}<!--
 +
-->{{#if:{{{map6|}}}|&nbsp;• {{nowrap|[[{{{map6|}}}{{#if:{{{game|}}}|/{{{game}}}}}|{{{map6|}}}]]}}}}<!--
 +
-->{{#if:{{{map7|}}}|&nbsp;• {{nowrap|[[{{{map7|}}}{{#if:{{{game|}}}|/{{{game}}}}}|{{{map7|}}}]]}}}}<!--
 +
-->{{#if:{{{map8|}}}|&nbsp;• {{nowrap|[[{{{map8|}}}{{#if:{{{game|}}}|/{{{game}}}}}|{{{map8|}}}]]}}}}<!--
 +
-->{{#if:{{{map9|}}}|&nbsp;• {{nowrap|[[{{{map9|}}}{{#if:{{{game|}}}|/{{{game}}}}}|{{{map9|}}}]]}}}}<!--
 +
-->{{#if:{{{map10|}}}|&nbsp;• {{nowrap|[[{{{map10|}}}{{#if:{{{game|}}}|/{{{game}}}}}|{{{map10|}}}]]}}}}<!--
 +
-->{{#if:{{{map11|}}}|&nbsp;• {{nowrap|[[{{{map11|}}}{{#if:{{{game|}}}|/{{{game}}}}}|{{{map11|}}}]]}}}}<!--
 +
-->{{#if:{{{map12|}}}|&nbsp;• {{nowrap|[[{{{map12|}}}{{#if:{{{game|}}}|/{{{game}}}}}|{{{map12|}}}]]}}}}<!--
 +
-->{{#if:{{{map13|}}}|&nbsp;• {{nowrap|[[{{{map13|}}}{{#if:{{{game|}}}|/{{{game}}}}}|{{{map13|}}}]]}}}}<!--
 +
-->{{#if:{{{map14|}}}|&nbsp;• {{nowrap|[[{{{map14|}}}{{#if:{{{game|}}}|/{{{game}}}}}|{{{map14|}}}]]}}}}<!--
 +
-->{{#if:{{{map15|}}}|&nbsp;• {{nowrap|[[{{{map15|}}}{{#if:{{{game|}}}|/{{{game}}}}}|{{{map15|}}}]]}}}}<!--
 +
--></div>
 +
</div>
 
}}<!--
 
}}<!--
  
 
Team section
 
Team section
  
-->{{#if:{{{team_number|}}}{{{team1|}}}{{{team2|}}}{{{team3|}}}{{{team4|}}}{{{team5|}}}|[[Category:Team Tournaments]]
+
-->{{#if:{{{team_number|}}}{{{team1|}}}{{{team2|}}}{{{team3|}}}{{{team4|}}}{{{team5|}}}|
 
<div>
 
<div>
<div class="infobox-header wiki-backgroundcolor-light infobox-header-2">Teams</div>
+
<div class="infobox-header wiki-backgroundcolor-light infobox-header-2">Signups</div>
 
</div>
 
</div>
 
<div>
 
<div>
<div class="infobox-cell-2 infobox-description">Number of Teams:</div>
+
<div class="infobox-cell-2 infobox-description">Number of signups:</div>
 
<div class="infobox-cell-2">{{{team_number|-}}}</div>
 
<div class="infobox-cell-2">{{{team_number|-}}}</div>
 
</div>
 
</div>
Line 298: Line 359:
 
Categories
 
Categories
  
-->{{#ifeq:{{NAMESPACE}}||<!--
+
-->[[Category:Leagues]]<!--
-->[[Category:Tournaments]]<!--
 
-->[[Category:{{{liquipediatier|No Tier}}} Tournaments]]<!--
 
--><!--
 
 
 
SMW
 
 
 
-->{{#vardefine:earliest|{{#ask:[[Has tournament::{{{firstmatch|{{PAGENAME}}}}}]] [[Has map date::+]]
 
|?#
 
|?Has map date
 
|format=earliest
 
}}}}<!--
 
-->{{#if:{{{sdate|{{{date|}}}}}}|{{#set:
 
|has first match date={{#var:earliest|{{{sdate|{{{date|}}}}}} 0:00}}
 
}}}}<!--
 
-->{{#set:
 
|has id={{{id|{{PAGENAME}}}}}
 
|has name={{#if:{{{romanized_name|}}}|{{{romanized_name|}}}|{{{name|}}}}}
 
|has image={{#if:{{{image|}}}|File:{{{image}}}}}
 
|has image caption={{{caption|}}}
 
|has icon={{{icon|}}}
 
|has number={{{number|}}}
 
|has country={{{country|}}}
 
|has city={{{city|{{{type|}}} }}}
 
|has country2={{{country2|}}}
 
|has city2={{{city2|}}}
 
|is part of series={{{series|}}}
 
|has seriesnumber={{{seriesnumber|}}}
 
|has abbreviation={{{abbreviation|{{#if:{{{series|}}}|{{#show: {{{series}}}| ?has abbreviation |default= }}}} }}}
 
|has start date={{#if:{{{sdate|}}}|{{#ifeq:{{lc:{{{sdate|}}}}}|tba||{{#replace:{{#replace:{{{sdate|}}}|-XX|}}|-??|}}}}|{{#ifeq:{{lc:{{{date|}}}}}|tba||{{#replace:{{#replace:{{{date|}}}|-XX|}}|-??|}}}}}}
 
|has date={{#if:{{{date|}}}|{{#ifeq:{{lc:{{{date|}}}}}|tba||{{#replace:{{#replace:{{{date|}}}|-XX|}}|-??|}}}}|{{#ifeq:{{lc:{{{sdate|}}}}}|tba||{{#replace:{{#replace:{{{sdate|}}}|-XX|}}|-??|}}}}}}
 
|has end date={{#if:{{{edate|}}}|{{#ifeq:{{lc:{{{edate|}}}}}|tba||{{#replace:{{#replace:{{{edate|}}}|-XX|}}|-??|}}}}|{{#ifeq:{{lc:{{{date|}}}}}|tba||{{#replace:{{#replace:{{{date|}}}|-XX|}}|-??|}}}}}}
 
|has month and day={{#sub:{{#if:{{{edate|}}}|{{#ifeq:{{lc:{{{edate|}}}}}|tba||{{#replace:{{#replace:{{{edate|}}}|-XX|}}|-??|}}}}|{{#ifeq:{{lc:{{{date|}}}}}|tba||{{#replace:{{#replace:{{{date|}}}|-XX|}}|-??|}}}}}}|5|5}}
 
|has organizer={{{organizer|}}}
 
|has organizer2={{{organizer2|}}}
 
|has organizer3={{{organizer3|}}}
 
|has organizer4={{{organizer4|}}}
 
|has sponsor={{{sponsor|}}}
 
|has tournament type={{{type|}}}
 
|has team number={{{team_number|}}}
 
|has tlpd={{{tlpd|}}}
 
|has game={{{game|}}}
 
|has patch={{{patch|}}}
 
|has format={{{format|}}}
 
|has prizepool={{{prizepool|}}}
 
|has prizepool in usd={{#if:{{{prizepoolusd|}}}|${{{prizepoolusd}}}|{{#if:{{{localcurrency|}}}|{{Local currency|{{lc:{{{localcurrency|}}}}}|prizepool={{{prizepool|}}}}}|{{{prizepool|}}}}} }}
 
|has site={{{website|}}}
 
|has liquipedia tier={{{liquipediatier|}}}
 
|has liquipedia tier team={{{liquipediatierteam|}}}
 
|is valve premier={{{valvepremier|}}}
 
|has stream={{{stream|}}}
 
 
 
<!-- |has first place={{{idfirst|{{{teamfirst|}}}}}}
 
|has first place page={{{linkfirst|{{{idfirst|}}}}}}
 
 
 
|has second place={{{idsecond|{{{teamsecond|}}}}}}
 
|has second place page={{{linksecond|{{{idsecond|}}}}}}
 
 
 
|has third place={{{idthird|{{{teamthird|}}}}}}
 
|has third place page={{{linkthird|{{{idthird|}}}}}}
 
 
 
|has third2 place={{{idthird2|{{{teamthird2|}}}}}}
 
|has third2 place page={{{linkthird2|{{{idthird2|}}}}}}
 
 
 
|has fourth place={{{idfourth|{{{teamfourth|}}}}}}
 
|has fourth place page={{{linkfourth|{{{idfourth|}}}}}} -->
 
}}<!--
 
  
----- VARIABLES (used within the prize pool templates) -----
+
-->{{#if:{{{year|}}}|[[Category:{{{year}}}]]}}<!--
-->{{#vardefine:tournament_name|{{{name|{{PAGENAME}}}}}}}<!--
 
-->{{#vardefine:tournament_icon|{{{icon|}}}}}<!--
 
-->{{#vardefine:tournament_series|{{{series|}}}}}<!--
 
-->{{#vardefine:tournament_tier|{{{liquipediatier|}}}}}<!--
 
-->{{#vardefine:tournament_date|{{#if:{{{edate|}}}|{{#ifeq:{{lc:{{{edate|}}}}}|tba||{{#replace:{{#replace:{{{edate|}}}|-XX|}}|-??|}}}}|{{#ifeq:{{lc:{{{date|}}}}}|tba||{{#replace:{{#replace:{{{date|}}}|-XX|}}|-??|}}}}}}}}<!--
 
-->{{#vardefine:tournament_valve_premier|{{{valvepremier|}}}}}
 
}}<!--this one from before the categories
 
  
 
--></includeonly><noinclude>[[Category:Infoboxes]] {{documentation}}</noinclude>
 
--></includeonly><noinclude>[[Category:Infoboxes]] {{documentation}}</noinclude>

Latest revision as of 07:58, 24 May 2024

Documentation (view - edit)

Adapted from Liquipedia under CC-BY-SA license.