Difference between revisions of "Template:Infobox lan"
From QWiki
m (Updated to new link with icon layout) |
|||
(20 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"><!-- | ||
− | -->{{# | + | -->{{#if:{{{organizer|}}}|{{{organizer}}}}}<!-- |
− | -->{{#if:{{{organizer2|}}}|<br /> | + | -->{{#if:{{{organizer2|}}}|<br />{{{organizer2}}}}}<!-- |
− | -->{{#if:{{{organizer3|}}}|<br /> | + | -->{{#if:{{{organizer3|}}}|<br />{{{organizer3}}}}}<!-- |
− | -->{{#if:{{{organizer4|}}}|<br /> | + | -->{{#if:{{{organizer4|}}}|<br />{{{organizer4}}}}}<!-- |
--></div> | --></div> | ||
</div> | </div> | ||
}}<!-- | }}<!-- | ||
− | + | 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 }}WoL Competitions]]|hots=[[Heart of the Swarm]][[Category:{{#if:{{{beta|}}}|Beta }}HotS Competitions]]|lotv=[[Legacy of the Void]][[Category:{{#if:{{{beta|}}}|Beta }}LotV Competitions]]|[[Category:{{#if:{{{beta|}}}|Beta }}Competitions]]}} <!-- | ||
+ | |||
+ | If two patch versions then break line, if only one keep on the same line as game version. | ||
+ | -->{{#if:{{{beta|}}}|Beta }}<!-- | ||
+ | |||
+ | -->{{#if:{{{epatch|}}}|<br /> [[{{{patch|}}}]] – [[{{{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 119: | Line 180: | ||
-->{{#if:{{{sdate|}}}| | -->{{#if:{{{sdate|}}}| | ||
<div> | <div> | ||
− | <div class="infobox-cell-2 infobox-description"> | + | <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 125: | Line 186: | ||
-->{{#if:{{{edate|}}}| | -->{{#if:{{{edate|}}}| | ||
<div> | <div> | ||
− | <div class="infobox-cell-2 infobox-description"> | + | <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> | ||
}}<!-- | }}<!-- | ||
− | + | Entrance fee | |
− | -->{{#if:{{{ | + | -->{{#if:{{{entrance|}}}| |
<div> | <div> | ||
− | <div class="infobox-cell-2 infobox-description"> | + | <div class="infobox-cell-2 infobox-description">Entrance fee:</div> |
− | <div class="infobox-cell-2">{{{ | + | <div class="infobox-cell-2">{{{entrance}}}</div> |
</div> | </div> | ||
}}<!-- | }}<!-- | ||
− | + | Icons & Links | |
− | + | -->{{#if:{{{website|}}} {{{website2|}}} {{{website3|}}} {{{website4|}}} {{{tlstream|}}} {{{twitch|}}} {{{own3d|}}} {{{stream|}}} {{{youtube|}}} {{{twitter|}}} {{{facebook|}}} {{{tlprofile|}}} {{{fanclub|}}} {{{steam|}}} {{{psn|}}} | | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | -->{{#if:{{{website|}}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<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:{{{ | + | --> {{#if:{{{website|}}}|[[File:Icon link20px.png|link=]] [https://{{{website}}} {{{website}}}]<br>}}<!-- |
− | + | --> {{#if:{{{website2|}}}|[[File:Icon link20px.png|link=]] [https://{{{website2}}} {{{website2}}}]<br>}}<!-- | |
− | --> {{#if:{{{ | + | --> {{#if:{{{website3|}}}|[[File:Icon link20px.png|link=]] [https://{{{website3}}} {{{website3}}}]<br>}}<!-- |
− | + | --> {{#if:{{{website4|}}}|[[File:Icon link20px.png|link=]] [https://{{{website4}}} {{{website4}}}]<br>}}<!-- | |
− | --> {{#if:{{{ | + | --> {{#if:{{{discord|}}}|[[File:Icon discord20px.png|link=]] [https://{{{discord}}} {{{discord}}}]<br>}}<!-- |
− | + | --> {{#if:{{{twitch|}}}|[[File:Icon twitch20px.png|link=]] [https://www.twitch.tv/{{{twitch}}} {{{twitch}}}]<br>}}<!-- | |
− | --> {{#if:{{{ | + | --> {{#if:{{{twitch2|}}}|[[File:Icon twitch20px.png|link=]] [https://www.twitch.tv/{{{twitch2}}} {{{twitch2}}}]<br>}}<!-- |
− | + | --> {{#if:{{{twitch3|}}}|[[File:Icon twitch20px.png|link=]] [https://www.twitch.tv/{{{twitch3}}} {{{twitch3}}}]<br>}}<!-- | |
− | --> {{#if:{{{ | + | --> {{#if:{{{twitch4|}}}|[[File:Icon twitch20px.png|link=]] [https://www.twitch.tv/{{{twitch4}}} {{{twitch4}}}]<br>}}<!-- |
− | + | --> {{#if:{{{youtube|}}}|[[File:Icon youtube20px.png|link=]] [https://www.youtube.com/{{{youtube}}} {{{youtube}}}]<br>}}<!-- | |
− | --> {{#if:{{{twitch|}}}|[ | + | --> {{#if:{{{youtube2|}}}|[[File:Icon youtube20px.png|link=]] [https://www.youtube.com/{{{youtube2}}} {{{youtube2}}}]<br>}}<!-- |
− | --> {{#if:{{{twitch2|}}}|[ | + | --> {{#if:{{{youtube3|}}}|[[File:Icon youtube20px.png|link=]] [https://www.youtube.com/{{{youtube3}}} {{{youtube3}}}]<br>}}<!-- |
− | --> {{#if:{{{twitch3|}}}|[ | + | --> {{#if:{{{youtube4|}}}|[[File:Icon youtube20px.png|link=]] [https://www.youtube.com/{{{youtube4}}} {{{youtube4}}}]<br>}}<!-- |
− | --> {{#if:{{{twitch4|}}}|[ | + | --> {{#if:{{{twitter|}}}|[https://twitter.com/{{{twitter}}} <i class="lp-icon lp-twitter"></i>]}}<!-- |
− | + | --> {{#if:{{{facebook|}}}|[https://facebook.com/{{{facebook}}} <i class="lp-icon lp-facebook"></i>]}}<!-- | |
− | |||
− | --> {{#if:{{{youtube|}}}|[ | ||
− | --> {{#if:{{{youtube2|}}}|[ | ||
− | --> {{#if:{{{youtube3|}}}|[ | ||
− | --> {{#if:{{{youtube4|}}}|[ | ||
− | |||
− | |||
− | --> {{#if:{{{ | ||
− | --> {{#if:{{{ | ||
--></div> | --></div> | ||
</div> | </div> | ||
Line 204: | Line 238: | ||
<div> | <div> | ||
<div class="infobox-center"><!-- | <div class="infobox-center"><!-- | ||
− | -->{{#if:{{{teamfirst|}}}|{{Medal|1}} {{ | + | -->{{#if:{{{teamfirst|}}}|{{Medal|1}} {{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}} {{ | + | -->{{#if:{{{teamsecond|}}}|{{Medal|2}} {{Flag/{{lc:{{{teamsecondflag}}}}}}} [[{{{teamsecond}}}]]}}<!-- |
--></div><!-- | --></div><!-- | ||
− | -->{{#if:{{{teamthird2|}}}{{{teamfourth|}}}||<div class="infobox-center infobox-cell-2">{{#if:{{{teamthird|}}}|{{Medal|3}} {{ | + | -->{{#if:{{{teamthird2|}}}{{{teamfourth|}}}||<div class="infobox-center infobox-cell-2">{{#if:{{{teamthird|}}}|{{Medal|3}} {{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}}}} {{ | + | <div class="infobox-center infobox-cell-2">{{#if:{{{teamthird|}}}|{{Medal|{{#if:{{{teamfourth|}}}|3|sf}}}} {{Flag/{{lc:{{{teamthirdflag}}}}}}} [[{{{teamthird}}}]]}}</div> |
{{#if:{{{idthird2|}}}{{{teamthird2|}}}| | {{#if:{{{idthird2|}}}{{{teamthird2|}}}| | ||
− | <div class="infobox-center infobox-cell-2">{{#if:{{{teamthird2|}}}|{{Medal|sf}} {{ | + | <div class="infobox-center infobox-cell-2">{{#if:{{{teamthird2|}}}|{{Medal|sf}} {{Flag/{{lc:{{{teamthird2flag}}}}}}} [[{{{teamthird2}}}]]}}</div> |
− | |<div class="infobox-center infobox-cell-2">{{#if:{{{teamfourth|}}}|{{Medal|4}} {{ | + | |<div class="infobox-center infobox-cell-2">{{#if:{{{teamfourth|}}}|{{Medal|4}} {{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|}}}| • {{nowrap|[[{{{map2|}}}{{#if:{{{game|}}}|/{{{game}}}}}|{{{map2|}}}]]}}}}<!-- | ||
+ | -->{{#if:{{{map3|}}}| • {{nowrap|[[{{{map3|}}}{{#if:{{{game|}}}|/{{{game}}}}}|{{{map3|}}}]]}}}}<!-- | ||
+ | -->{{#if:{{{map4|}}}| • {{nowrap|[[{{{map4|}}}{{#if:{{{game|}}}|/{{{game}}}}}|{{{map4|}}}]]}}}}<!-- | ||
+ | -->{{#if:{{{map5|}}}| • {{nowrap|[[{{{map5|}}}{{#if:{{{game|}}}|/{{{game}}}}}|{{{map5|}}}]]}}}}<!-- | ||
+ | -->{{#if:{{{map6|}}}| • {{nowrap|[[{{{map6|}}}{{#if:{{{game|}}}|/{{{game}}}}}|{{{map6|}}}]]}}}}<!-- | ||
+ | -->{{#if:{{{map7|}}}| • {{nowrap|[[{{{map7|}}}{{#if:{{{game|}}}|/{{{game}}}}}|{{{map7|}}}]]}}}}<!-- | ||
+ | -->{{#if:{{{map8|}}}| • {{nowrap|[[{{{map8|}}}{{#if:{{{game|}}}|/{{{game}}}}}|{{{map8|}}}]]}}}}<!-- | ||
+ | -->{{#if:{{{map9|}}}| • {{nowrap|[[{{{map9|}}}{{#if:{{{game|}}}|/{{{game}}}}}|{{{map9|}}}]]}}}}<!-- | ||
+ | -->{{#if:{{{map10|}}}| • {{nowrap|[[{{{map10|}}}{{#if:{{{game|}}}|/{{{game}}}}}|{{{map10|}}}]]}}}}<!-- | ||
+ | -->{{#if:{{{map11|}}}| • {{nowrap|[[{{{map11|}}}{{#if:{{{game|}}}|/{{{game}}}}}|{{{map11|}}}]]}}}}<!-- | ||
+ | -->{{#if:{{{map12|}}}| • {{nowrap|[[{{{map12|}}}{{#if:{{{game|}}}|/{{{game}}}}}|{{{map12|}}}]]}}}}<!-- | ||
+ | -->{{#if:{{{map13|}}}| • {{nowrap|[[{{{map13|}}}{{#if:{{{game|}}}|/{{{game}}}}}|{{{map13|}}}]]}}}}<!-- | ||
+ | -->{{#if:{{{map14|}}}| • {{nowrap|[[{{{map14|}}}{{#if:{{{game|}}}|/{{{game}}}}}|{{{map14|}}}]]}}}}<!-- | ||
+ | -->{{#if:{{{map15|}}}| • {{nowrap|[[{{{map15|}}}{{#if:{{{game|}}}|/{{{game}}}}}|{{{map15|}}}]]}}}}<!-- | ||
+ | --></div> | ||
+ | </div> | ||
}}<!-- | }}<!-- | ||
Team section | Team section | ||
− | -->{{#if:{{{team_number|}}}{{{team1|}}}{{{team2|}}}{{{team3|}}}{{{team4|}}}{{{team5|}}}| | + | -->{{#if:{{{team_number|}}}{{{team1|}}}{{{team2|}}}{{{team3|}}}{{{team4|}}}{{{team5|}}}| |
<div> | <div> | ||
− | <div class="infobox-header wiki-backgroundcolor-light infobox-header-2"> | + | <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 | + | <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 | ||
− | + | -->[[Category:Leagues]]<!-- | |
− | -->[[Category: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | -->{{#if:{{{year|}}}|[[Category:{{{year}}}]]}}<!-- | |
− | |||
− | --> | ||
− | |||
− | |||
− | |||
− | |||
− | }}<!-- | ||
--></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.