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

From QWiki
m
m
Line 12: Line 12:
 
|earnings=2000
 
|earnings=2000
 
}}
 
}}
This template produces an Infobox on a player page.
+
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 30: Line 30:
 
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 player
+
{{Infobox 2on2team
|id=bps
+
|name=My team
|image=
+
|team=ABCD
|name=Jon
+
|image=Infobox placeholder.png
|romanized_name=
+
|color1=4
|team=Suddendeath
+
|color2=13
|ids=
+
|created=2016
|country=Sweden
+
|country=Finland
|birth_date={{Birth date and age|1982|08|14}}
+
|country2=Sweden
|nicknames=hEmoGloBiN
+
|status=Active
|twitter=
+
|sponsor=Dreamhack
|no-cat=true
+
|earnings=2000
 
}}
 
}}
 
</pre>
 
</pre>
 
<noinclude>[[Category:Template Documentation Pages]]</noinclude>
 
<noinclude>[[Category:Template Documentation Pages]]</noinclude>
==Copy / Paste==
 
<pre style="display: inline-block;">
 
{{Infobox player
 
|id=
 
|image=
 
|name=
 
|romanized_name=
 
|birth_date= {{Birth date and age|YYYY|MM|DD}}
 
|country=
 
|team=
 
|clan=
 
|sponsor=
 
|ids=
 
|site=
 
|twitch=
 
|stream=
 
|youtube=
 
|twitter=
 
|facebook=
 
|gplus=
 
|history=
 
|team_history_list=
 
}}
 
</pre>
 

Revision as of 15:14, 27 March 2017

My team
Infobox placeholder.png
2on2 team Information
Short team:
ABCD
Color:
  4    13 
Founded:
2016
Status:
Active
Sponsor:
Dreamhack
Earnings (approx):
2000

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
  • created = (optional) Year, month (2010, April)
  • country = (optional) Country 1
  • country2 = (optional) Country 2 (If needed)
  • status = (optional) Active / Inactive
  • sponsor = (optional) Team's personal sponsor
  • earnings = (optional) Team's earnings

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
|created=2016
|country=Finland
|country2=Sweden
|status=Active
|sponsor=Dreamhack
|earnings=2000
}}