Difference between revisions of "Template:Infobox lan"
From QWiki
m |
m |
||
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> | ||
+ | }}<!-- | ||
+ | |||
+ | Founder | ||
+ | |||
+ | -->{{#if:{{{founder|}}}| | ||
+ | <div> | ||
+ | <div class="infobox-cell-2 infobox-description">Founder:</div> | ||
+ | <div class="infobox-cell-2">{{{founder}}}</div> | ||
</div> | </div> | ||
}}<!-- | }}<!-- | ||
Line 51: | Line 60: | ||
<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 }}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> | </div> | ||
}}<!-- | }}<!-- | ||
Line 91: | Line 123: | ||
}}<!-- | }}<!-- | ||
− | + | Format | |
− | -->{{#if:{{{ | + | -->{{#if:{{{format|}}}| |
<div> | <div> | ||
− | <div class="infobox-cell-2 infobox-description"> | + | <div class="infobox-cell-2 infobox-description">Format:</div> |
− | <div class="infobox-cell-2">{{{ | + | <div class="infobox-cell-2">{{{format}}}</div> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</div> | </div> | ||
}}<!-- | }}<!-- | ||
Line 139: | Line 162: | ||
}}<!-- | }}<!-- | ||
− | + | Icons & Links | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | -->{{#if:{{{website|}}}| | + | -->{{#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 170: | ||
<div> | <div> | ||
<div class="infobox-center infobox-icons"><!-- | <div class="infobox-center infobox-icons"><!-- | ||
− | --> {{#if:{{{twitch|}}}|[http://www.twitch.tv/{{{twitch}}}<i class="lp-icon lp-twitch"></i>]}}<!-- | + | --> {{#if:{{{website|}}}|[http://{{{website}}} {{{website}}}]<br>}}<!-- |
− | --> {{#if:{{{ | + | --> {{#if:{{{website2|}}}|<small>[http://{{{website2}}} {{{website2}}}]</small><br>}}<!-- |
− | --> {{#if:{{{ | + | --> {{#if:{{{website3|}}}|<small>[http://{{{website3}}} {{{website3}}}]</small><br>}}<!-- |
− | --> {{#if:{{{ | + | --> {{#if:{{{website4|}}}|<small>[http://{{{website4}}} {{{website4}}}]</small><br>}}<!-- |
− | --> {{#if:{{{ | + | --> {{#if:{{{twitch|}}}|[http://www.twitch.tv/{{{twitch}}} <i class="lp-icon lp-twitch"></i>]}}<!-- |
− | --> {{#if:{{{ | + | --> {{#if:{{{stream|}}}|[{{{stream}}} <i class="lp-icon lp-stream"></i>]}}<!-- |
− | --> {{#if:{{{ | + | --> {{#if:{{{youtube|}}}|[http://www.youtube.com/{{{youtube}}} <i class="lp-icon lp-youtube"></i>]}}<!-- |
− | --> {{#if:{{{ | + | --> {{#if:{{{twitter|}}}|[http://twitter.com/{{{twitter}}} <i class="lp-icon lp-twitter"></i>]}}<!-- |
− | --> {{#if:{{{ | + | --> {{#if:{{{facebook|}}}|[http://facebook.com/{{{facebook}}} <i class="lp-icon lp-facebook"></i>]}}<!-- |
− | --> {{#if:{{{ | + | --> {{#if:{{{fanclub|}}}|[{{{fanclub}}} <i class="lp-icon lp-fanclub"></i>]}}<!-- |
+ | --> {{#if:{{{playlist|}}}|[{{{playlist}}} <i class="lp-icon lp-music"></i>]}}<!-- | ||
+ | --> {{#if:{{{psn|}}}|[https://my.playstation.com/{{{psn}}} <i class="lp-icon lp-steam"></i>]}}<!-- | ||
+ | --> {{#if:{{{psn|}}}|[https://rocketleaguestats.com/profile/PS4/{{{psn}}} <i class="lp-icon lp-steam"></i>]}}<!-- | ||
+ | --> {{#if:{{{steam|}}}|[http://steamcommunity.com/profiles/{{{steam}}} <i class="lp-icon lp-steam"></i>]}}<!-- | ||
+ | --> {{#if:{{{steam|}}}|[https://rocketleaguestats.com/profile/steam/{{{steam}}} <i class="lp-icon lp-steam"></i>]}}<!-- | ||
--></div> | --></div> | ||
</div> | </div> | ||
Line 190: | Line 200: | ||
<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 197: | Line 207: | ||
<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> | ||
Line 244: | Line 254: | ||
-->{{#if:{{{team_number|}}}{{{team1|}}}{{{team2|}}}{{{team3|}}}{{{team4|}}}{{{team5|}}}|[[Category:Team Tournaments]] | -->{{#if:{{{team_number|}}}{{{team1|}}}{{{team2|}}}{{{team3|}}}{{{team4|}}}{{{team5|}}}|[[Category:Team Tournaments]] | ||
<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 311: | Line 321: | ||
Categories | Categories | ||
− | |||
-->[[Category:Leagues]]<!-- | -->[[Category:Leagues]]<!-- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
--></includeonly><noinclude>[[Category:Infoboxes]] {{documentation}}</noinclude> | --></includeonly><noinclude>[[Category:Infoboxes]] {{documentation}}</noinclude> |
Revision as of 14:47, 8 May 2017
Documentation (view - edit)
Adapted from Liquipedia under CC-BY-SA license.