Difference between revisions of "Template:Infobox 2on2team"
From QWiki
m |
m (Added creator, manager, team captain - similar to the 4on4 team template) |
||
| (32 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
<div class="fo-nttax-infobox wiki-bordercolor-light"> | <div class="fo-nttax-infobox wiki-bordercolor-light"> | ||
<div> | <div> | ||
| − | <div class="infobox-header wiki-backgroundcolor-light" | + | <div class="infobox-header wiki-backgroundcolor-light">{{#if:{{{flag|}}}|{{flag/{{lc:{{{flag}}}}}}}}} {{{name}}} |
| − | + | </div> | |
</div><!-- | </div><!-- | ||
| Line 13: | Line 13: | ||
<div> | <div> | ||
<div class="infobox-image">[[File:{{{image}}}|center|600px]]</div> | <div class="infobox-image">[[File:{{{image}}}|center|600px]]</div> | ||
| + | </div> | ||
| + | |<div> | ||
| + | <div class="infobox-image">[[File:Infobox placeholder.png|center|600px]]</div> | ||
</div> | </div> | ||
}}<!-- | }}<!-- | ||
| Line 28: | Line 31: | ||
</div><!-- | </div><!-- | ||
| − | + | Team | |
-->{{#if:{{{team|}}}| | -->{{#if:{{{team|}}}| | ||
<div> | <div> | ||
| − | <div class="infobox-cell-2 infobox-description"> | + | <div class="infobox-cell-2 infobox-description">Short team:</div> |
<div class="infobox-cell-2">{{{team}}}</div> | <div class="infobox-cell-2">{{{team}}}</div> | ||
</div> | </div> | ||
| Line 46: | Line 49: | ||
}}<!-- | }}<!-- | ||
| − | + | Created | |
| − | -->{{#if:{{{ | + | -->{{#if:{{{created|}}}| |
<div> | <div> | ||
| − | <div class="infobox-cell-2 infobox-description"> | + | <div class="infobox-cell-2 infobox-description">Founded:</div> |
| − | <div class="infobox-cell-2">{{{ | + | <div class="infobox-cell-2">{{{created}}}</div> |
</div> | </div> | ||
}}<!-- | }}<!-- | ||
| − | + | Founder | |
| − | -->{{#if:{{{ | + | -->{{#if:{{{founder|}}}| |
<div> | <div> | ||
| − | <div class="infobox-cell-2 infobox-description"> | + | <div class="infobox-cell-2 infobox-description">Founder:</div> |
| − | <div class="infobox-cell-2">{{{ | + | <div class="infobox-cell-2">{{{founder}}}</div> |
</div> | </div> | ||
}}<!-- | }}<!-- | ||
| − | + | Manager | |
| − | -->{{#if:{{{ | + | -->{{#if:{{{manager|}}}| |
<div> | <div> | ||
| − | <div class="infobox-cell-2 infobox-description"> | + | <div class="infobox-cell-2 infobox-description">Manager:</div> |
| − | <div class="infobox-cell-2">{{ | + | <div class="infobox-cell-2">{{{manager}}}</div> |
</div> | </div> | ||
}}<!-- | }}<!-- | ||
| − | + | Team Captain | |
| − | -->{{#if:{{{ | + | -->{{#if:{{{captain|}}}| |
<div> | <div> | ||
| − | <div class="infobox-cell-2 infobox-description"> | + | <div class="infobox-cell-2 infobox-description">Team Captain:</div> |
| − | <div class="infobox-cell-2"> | + | <div class="infobox-cell-2">{{{captain}}}</div> |
</div> | </div> | ||
}}<!-- | }}<!-- | ||
| − | + | Status | |
| − | -->{{#if:{{{ | + | -->{{#if:{{{status|}}}| |
<div> | <div> | ||
| − | <div class="infobox-cell-2 infobox-description"> | + | <div class="infobox-cell-2 infobox-description">Status:</div> |
| − | <div class="infobox-cell-2">{{#ifexist:{{{ | + | <div class="infobox-cell-2">{{#ifexist:{{{status}}}|[[{{{status}}}]]|{{{status}}}}}</div> |
</div> | </div> | ||
}}<!-- | }}<!-- | ||
| Line 102: | Line 105: | ||
Earnings | Earnings | ||
| − | --> | + | -->{{#if:{{{earnings|}}}| |
| + | <div> | ||
| + | <div class="infobox-cell-2 infobox-description">Earnings (approx):</div> | ||
| + | <div class="infobox-cell-2">{{{earnings}}}</div> | ||
| + | </div> | ||
| + | }}<!-- | ||
| + | |||
| + | IRC Channel | ||
| + | |||
| + | -->{{#if:{{{irc|}}}| | ||
<div> | <div> | ||
| − | <div class="infobox-cell-2 infobox-description"> | + | <div class="infobox-cell-2 infobox-description">IRC channel:</div> |
| − | <div class="infobox-cell-2 ">{{ | + | <div class="infobox-cell-2">{{{irc}}}</div> |
</div> | </div> | ||
}}<!-- | }}<!-- | ||
| − | Icons | + | Icons & Links |
| − | -->{{#if:{{{ | + | -->{{#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 117: | Line 129: | ||
<div> | <div> | ||
<div class="infobox-center infobox-icons"><!-- | <div class="infobox-center infobox-icons"><!-- | ||
| − | --> {{#if:{{{ | + | --> {{#if:{{{website|}}}|[http://{{{website}}} {{{website}}}]<br>}}<!-- |
| − | --> {{#if:{{{ | + | --> {{#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:{{{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:{{{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>]}}<!-- | ||
| Line 161: | Line 169: | ||
</div> | </div> | ||
}}<!-- | }}<!-- | ||
| − | |||
--></div> | --></div> | ||
</div><!-- | </div><!-- | ||
| − | + | }} | |
| − | + | </includeonly><noinclude>[[Category:Infoboxes]] {{documentation}}</noinclude> | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
Latest revision as of 09:06, 11 December 2024
Documentation (view - edit)
2on2 team Information
Short team:
ABCD
Color:
4 13
Founded:
2016
Founder:
Status:
Active
Sponsor:
Dreamhack
Earnings (approx):
2000 SEK
IRC channel:
#myircchannel
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)
- founder = {{player|Playername|flag=se}} (optional)
- manager = {{player|Playername|flag=us}} (optional)
- captain = {{player|Playername|flag=fi}} (optional)
- status = (optional) Active / Inactive
- irc = (optional) IRC channel
- sponsor = (optional) Team's personal sponsor
- earnings = (optional) Team's earnings, approximately
- website1 = (optional) Website, supports 1-4 entries (strip prefix like www/https)
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
|founder={{Player|Janne|flag=fi}}
|status=Active
|sponsor=Dreamhack
|earnings=2000 SEK
|irc=myircchannel
|website=quakeworld.nu
}}
