Difference between revisions of "Template:Infobox 2on2team/doc"
From QWiki
m |
m |
||
(3 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
|color1=4 | |color1=4 | ||
|color2=13 | |color2=13 | ||
+ | |flag=tbd | ||
|created=2016 | |created=2016 | ||
− | |||
− | |||
|status=Active | |status=Active | ||
|sponsor=Dreamhack | |sponsor=Dreamhack | ||
− | |earnings=2000 | + | |earnings=2000 SEK |
}} | }} | ||
− | This template produces an Infobox on a | + | This template produces an Infobox on a team page. |
==Parameters== | ==Parameters== | ||
These are the variables in the Player template: | These are the variables in the Player template: | ||
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) | ||
− | |||
− | |||
* '''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== | ||
The following code was used to create the infobox on this page. | The following code was used to create the infobox on this page. | ||
<pre style="display: inline-block;"> | <pre style="display: inline-block;"> | ||
− | {{Infobox | + | {{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 |
− | | | ||
}} | }} | ||
</pre> | </pre> | ||
<noinclude>[[Category:Template Documentation Pages]]</noinclude> | <noinclude>[[Category:Template Documentation Pages]]</noinclude> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 06:48, 29 March 2017
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 }}