Difference between revisions of "Template:Infobox 2on2team/doc"

From QWiki
m
m
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
|color1=4
 
|color1=4
 
|color2=13
 
|color2=13
 +
|flag=tbd
 
|created=2016
 
|created=2016
|country=Finland
 
|country2=Sweden
 
 
|status=Active
 
|status=Active
 
|sponsor=Dreamhack
 
|sponsor=Dreamhack
Line 20: Line 19:
 
* '''color1''' = (optional) Top color, 1-13
 
* '''color1''' = (optional) Top color, 1-13
 
* '''color2''' = (optional) Bottom color, 1-13
 
* '''color2''' = (optional) Bottom color, 1-13
 +
* '''flag''' = (optional) 2 letter country code
 
* '''created''' = (optional) Year, month (2010, April)
 
* '''created''' = (optional) Year, month (2010, April)
* '''country''' = (optional) Country 1
 
* '''country2''' = (optional) Country 2 (If needed)
 
 
* '''status''' = (optional) Active / Inactive
 
* '''status''' = (optional) Active / Inactive
 
* '''sponsor''' = (optional) Team's personal sponsor
 
* '''sponsor''' = (optional) Team's personal sponsor
* '''earnings''' = (optional) Team's earnings
+
* '''earnings''' = (optional) Team's earnings, approximately
  
 
==Example==
 
==Example==
Line 36: Line 34:
 
|color1=4
 
|color1=4
 
|color2=13
 
|color2=13
 +
|flag=tbd
 
|created=2016
 
|created=2016
|country=Finland
 
|country2=Sweden
 
 
|status=Active
 
|status=Active
 
|sponsor=Dreamhack
 
|sponsor=Dreamhack

Latest revision as of 06:48, 29 March 2017

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
}}