Difference between revisions of "Template:Infobox 2on2team"
From QWiki
m (Fixed bad param name) |
m (Added creator, manager, team captain - similar to the 4on4 team template) |
||
Line 55: | Line 55: | ||
<div class="infobox-cell-2 infobox-description">Founded:</div> | <div class="infobox-cell-2 infobox-description">Founded:</div> | ||
<div class="infobox-cell-2">{{{created}}}</div> | <div class="infobox-cell-2">{{{created}}}</div> | ||
+ | </div> | ||
+ | }}<!-- | ||
+ | |||
+ | Founder | ||
+ | |||
+ | -->{{#if:{{{founder|}}}| | ||
+ | <div> | ||
+ | <div class="infobox-cell-2 infobox-description">Founder:</div> | ||
+ | <div class="infobox-cell-2">{{{founder}}}</div> | ||
+ | </div> | ||
+ | }}<!-- | ||
+ | |||
+ | Manager | ||
+ | |||
+ | -->{{#if:{{{manager|}}}| | ||
+ | <div> | ||
+ | <div class="infobox-cell-2 infobox-description">Manager:</div> | ||
+ | <div class="infobox-cell-2">{{{manager}}}</div> | ||
+ | </div> | ||
+ | }}<!-- | ||
+ | |||
+ | Team Captain | ||
+ | |||
+ | -->{{#if:{{{captain|}}}| | ||
+ | <div> | ||
+ | <div class="infobox-cell-2 infobox-description">Team Captain:</div> | ||
+ | <div class="infobox-cell-2">{{{captain}}}</div> | ||
</div> | </div> | ||
}}<!-- | }}<!-- |
Latest revision as of 09:06, 11 December 2024
Documentation (view - edit)
My team
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 }}