Difference between revisions of "Template:Infobox 2on2team"

From QWiki
m
m
 
Line 85: Line 85:
 
}}<!--
 
}}<!--
  
Website
+
Icons & Links
  
-->{{#if:{{{website|}}}|
+
-->{{#if:{{{website|}}} {{{website2|}}} {{{website3|}}} {{{website4|}}} {{{tlstream|}}} {{{twitch|}}} {{{own3d|}}} {{{stream|}}} {{{youtube|}}} {{{twitter|}}} {{{facebook|}}} {{{tlprofile|}}} {{{fanclub|}}} {{{steam|}}} {{{psn|}}} |
<div>
 
<div class="infobox-cell-2 infobox-description">Website:</div>
 
<div class="infobox-cell-2">[http://{{{website}}} {{{website}}}]</div>
 
</div>
 
}}<!--
 
 
 
Website2
 
 
 
-->{{#if:{{{website2|}}}|
 
<div>
 
<div class="infobox-cell-2 infobox-description"></div>
 
<div class="infobox-cell-2">[http://{{{website2}}} {{{website2}}}]</div>
 
</div>
 
}}<!--
 
 
 
Website3
 
 
 
-->{{#if:{{{website3|}}}|
 
<div>
 
<div class="infobox-cell-2 infobox-description"></div>
 
<div class="infobox-cell-2">[http://{{{website3}}} {{{website3}}}]</div>
 
</div>
 
}}<!--
 
 
 
Icons
 
 
 
-->{{#if:{{{site|}}} {{{tlstream|}}} {{{twitch|}}} {{{own3d|}}} {{{stream|}}} {{{youtube|}}} {{{twitter|}}} {{{facebook|}}} {{{gplus|}}} {{{tlprofile|}}} {{{reddit|}}} {{{fanclub|}}} {{{azubu|}}} {{{weibo|}}} {{{tencent|}}} {{{vk|}}} {{{askfm|}}} {{{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 120: Line 93:
 
<div>
 
<div>
 
<div class="infobox-center infobox-icons"><!--
 
<div class="infobox-center infobox-icons"><!--
--> {{#if:{{{site|}}}|[{{{site}}} <i class="lp-icon lp-home"></i>]}}<!--
+
--> {{#if:{{{website|}}}|[http://{{{website}}} {{{website}}}]<br>}}<!--
--> {{#if:{{{askfm|}}}|[http://ask.fm/{{{askfm|}}} <i class="lp-icon lp-ask-fm"></i>]}}<!--
+
--> {{#if:{{{website2|}}}|<small>[http://{{{website2}}} {{{website2}}}]</small><br>}}<!--
 +
--> {{#if:{{{website3|}}}|<small>[http://{{{website3}}} {{{website3}}}]</small><br>}}<!--
 +
--> {{#if:{{{website4|}}}|<small>[http://{{{website4}}} {{{website4}}}]</small><br>}}<!--
 
--> {{#if:{{{twitch|}}}|[http://www.twitch.tv/{{{twitch}}} <i class="lp-icon lp-twitch"></i>]}}<!--
 
--> {{#if:{{{twitch|}}}|[http://www.twitch.tv/{{{twitch}}} <i class="lp-icon lp-twitch"></i>]}}<!--
--> {{#if:{{{azubu|}}}|[http://www.azubu.tv/{{{azubu}}} <i class="lp-icon lp-azubu"></i>]}}<!--
 
 
--> {{#if:{{{stream|}}}|[{{{stream}}} <i class="lp-icon lp-stream"></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:{{{youtube|}}}|[http://www.youtube.com/{{{youtube}}} <i class="lp-icon lp-youtube"></i>]}}<!--
 
--> {{#if:{{{twitter|}}}|[http://twitter.com/{{{twitter}}} <i class="lp-icon lp-twitter"></i>]}}<!--
 
--> {{#if:{{{twitter|}}}|[http://twitter.com/{{{twitter}}} <i class="lp-icon lp-twitter"></i>]}}<!--
 
--> {{#if:{{{facebook|}}}|[http://facebook.com/{{{facebook}}} <i class="lp-icon lp-facebook"></i>]}}<!--
 
--> {{#if:{{{facebook|}}}|[http://facebook.com/{{{facebook}}} <i class="lp-icon lp-facebook"></i>]}}<!--
--> {{#if:{{{gplus|}}}|[http://plus.google.com/{{{gplus}}} <i class="lp-icon lp-google-plus"></i>]}}<!--
 
--> {{#if:{{{weibo|}}}|[http://weibo.com/{{{weibo}}} <i class="lp-icon lp-weibo"></i>]}}<!--
 
--> {{#if:{{{tencent|}}}|[http://t.qq.com/{{{tencent}}} <i class="lp-icon lp-tencent"></i>]}}<!--
 
--> {{#if:{{{vk|}}}|[https://vk.com/{{{vk}}} <i class="lp-icon lp-vkontakte"></i>]}}<!--
 
--> {{#if:{{{reddit|}}}|[http://www.reddit.com/user/{{{reddit}}} <i class="lp-icon lp-reddit"></i>]}}<!--
 
 
--> {{#if:{{{fanclub|}}}|[{{{fanclub}}} <i class="lp-icon lp-fanclub"></i>]}}<!--
 
--> {{#if:{{{fanclub|}}}|[{{{fanclub}}} <i class="lp-icon lp-fanclub"></i>]}}<!--
 
--> {{#if:{{{playlist|}}}|[{{{playlist}}} <i class="lp-icon lp-music"></i>]}}<!--
 
--> {{#if:{{{playlist|}}}|[{{{playlist}}} <i class="lp-icon lp-music"></i>]}}<!--

Latest revision as of 09:15, 6 April 2017

Documentation (view - edit)

TBD My team
Infobox placeholder.png
2on2 team Information
Short team:
ABCD
Color:
  4    13 
Founded:
2016
Status:
Active
Sponsor:
Dreamhack
Earnings (approx):
2000 SEK

This template produces an Infobox on a team page.

Parameters

These are the variables in the Player template:

  • name = Team Name
  • team = (optional) Team tag / shortname
  • image = (optional) Picture
  • color1 = (optional) Top color, 1-13
  • color2 = (optional) Bottom color, 1-13
  • flag = (optional) 2 letter country code
  • created = (optional) Year, month (2010, April)
  • status = (optional) Active / Inactive
  • sponsor = (optional) Team's personal sponsor
  • earnings = (optional) Team's earnings, approximately

Example

The following code was used to create the infobox on this page.

{{Infobox 2on2team
|name=My team
|team=ABCD
|image=Infobox placeholder.png
|color1=4
|color2=13
|flag=tbd
|created=2016
|status=Active
|sponsor=Dreamhack
|earnings=2000 SEK
}}