Difference between revisions of "Template:Infobox 4on4team"

From QWiki
m
m
Line 120: Line 120:
 
</div>
 
</div>
 
}}<!--
 
}}<!--
 
Website
 
 
-->{{#if:{{{website|}}}|
 
<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
 
Icons
  
-->{{#if:{{{site|}}} {{{tlstream|}}} {{{twitch|}}} {{{own3d|}}} {{{stream|}}} {{{youtube|}}} {{{twitter|}}} {{{facebook|}}} {{{gplus|}}} {{{tlprofile|}}} {{{reddit|}}} {{{fanclub|}}} {{{azubu|}}} {{{weibo|}}} {{{tencent|}}} {{{vk|}}} {{{askfm|}}} {{{steam|}}} {{{psn|}}} |
+
-->{{#if:{{{website|}}} {{{website2|}}} {{{website3|}}} {{{website4|}}} {{{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 158: Line 129:
 
<div>
 
<div>
 
<div class="infobox-center infobox-icons"><!--
 
<div class="infobox-center infobox-icons"><!--
--> {{#if:{{{site|}}}|[http://{{{site}}} {{{site}}}]}}<!--
+
--> {{#if:{{{website|}}}|[http://{{{website}}} {{{website}}}]}}<!--
 +
--> {{#if:{{{website2|}}}|[http://{{{website2}}} {{{website2}}}]}}<!--
 +
--> {{#if:{{{website3|}}}|[http://{{{website3}}} {{{website3}}}]}}<!--
 +
--> {{#if:{{{website4|}}}|[http://{{{website4}}} {{{website4}}}]}}<!--
 
--> {{#if:{{{askfm|}}}|[http://ask.fm/{{{askfm|}}} <i class="lp-icon lp-ask-fm"></i>]}}<!--
 
--> {{#if:{{{askfm|}}}|[http://ask.fm/{{{askfm|}}} <i class="lp-icon lp-ask-fm"></i>]}}<!--
 
--> {{#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>]}}<!--

Revision as of 08:56, 6 April 2017

Documentation (view - edit)

United States My team
Infobox placeholder.png
4on4 team Information
Short team:
ABCD
Color:
  4    13 
Founded:
2016
Founder:
Manager:
Team Captain:
Status:
Active
Sponsor:
Dreamhack
Earnings (approx):
2000 SEK
IRC channel:
#quakeworld
Links

This template produces an Infobox on a team page.

Parameters

These are the variables in the Player template:

  • name = Team Name
  • team = Team tag / shortname
  • image = Picture (will become 600px wide) (optional)
  • color1 = Top color, 1-13 (optional)
  • color2 = Bottom color, 1-13 (optional)
  • flag = 2 letter country code
  • created = Year, month (2010, April) (optional)
  • status = Active / Inactive (optional)
  • sponsor = Team's personal sponsor (optional)
  • earnings = Team's earnings, approximately (optional)
  • founder = {{player|Playername|flag=se}} (optional)
  • manager = {{player|Playername|flag=us}} (optional)
  • captain = {{player|Playername|flag=fi}} (optional)
  • irc-channel = #quakeworld (QuakeNet) (optional)
  • website = quakeworld.nu (http:// is auto added). Multiple websites can be added with website2,3,4. (optional)

Example

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

{{Infobox 4on4team
|name=My team
|team=ABCD
|image=Infobox placeholder.png
|color1=4
|color2=13
|flag=us
|created=2016
|status=Active
|sponsor=Dreamhack
|earnings=2000 SEK
|founder={{player|Playername|flag=se}}
|manager={{player|Playername|flag=us}}
|captain={{player|Playername|flag=fi}}
|irc-channel=#quakeworld
|website=quakeworld.nu
}}


Adapted from Liquipedia under CC-BY-SA license.