Difference between revisions of "Template:Infobox 2on2team"
From QWiki
m |
m |
||
Line 79: | Line 79: | ||
<div class="infobox-cell-2 infobox-description">Earnings (approx):</div> | <div class="infobox-cell-2 infobox-description">Earnings (approx):</div> | ||
<div class="infobox-cell-2">{{{earnings}}}</div> | <div class="infobox-cell-2">{{{earnings}}}</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> | </div> | ||
}}<!-- | }}<!-- |
Revision as of 07:29, 6 April 2017
Documentation (view - edit)
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 }}