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

From QWiki
(Created page with "{{Infobox 2on2team |name=My team |image= |caption=Caption text to image. |team=ABCD |color1=4 |color2=13 |created=2016 |country=Brazil |country2=Poland |status=Active |sponsor...")
 
m
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Infobox 2on2team
 
{{Infobox 2on2team
 
|name=My team
 
|name=My team
|image=
 
|caption=Caption text to image.
 
 
|team=ABCD
 
|team=ABCD
 +
|image=Infobox placeholder.png
 
|color1=4
 
|color1=4
 
|color2=13
 
|color2=13
 +
|flag=tbd
 
|created=2016
 
|created=2016
|country=Brazil
 
|country2=Poland
 
 
|status=Active
 
|status=Active
 
|sponsor=Dreamhack
 
|sponsor=Dreamhack
|earnings=2000
+
|earnings=2000 SEK
 
}}
 
}}
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:
 +
* '''name''' = Team Name
 +
* '''team''' = (optional) Team tag / shortname
 
* '''image''' = (optional) Picture  
 
* '''image''' = (optional) Picture  
* '''name''' = (optional) Real Name (If needed, use romanized_name for romanization)
+
* '''color1''' = (optional) Top color, 1-13
* '''romanized_name''' = (optional) Romanized Real Name
+
* '''color2''' = (optional) Bottom color, 1-13
* '''birth_date''' = (optional) <nowiki>{{Birth date and age|YYYY|MM|DD}}</nowiki>
+
* '''flag''' = (optional) 2 letter country code
* '''country''' = (optional) Country
+
* '''created''' = (optional) Year, month (2010, April)
* '''country2''' = (optional) Secound country (If needed)
+
* '''status''' = (optional) Active / Inactive
* '''team''' = (optional) Current Team
+
* '''sponsor''' = (optional) Team's personal sponsor
* '''clan''' = (optional) Current Clan
+
* '''earnings''' = (optional) Team's earnings, approximately
* '''sponsor''' = (optional) Player's personal sponsor
 
* '''ids''' = (optional)Alternative IDs
 
* '''site''' = (optional) Player's Homepage
 
* '''twitch''' = (optional) Username on Twitch
 
* '''stream''' = (optional) Link to stream (if not on Twitch or Own3D.tv)
 
* '''youtube''' = (optional) YouTube Channel Name
 
* '''twitter''' = (optional) Username on Twitter
 
* '''facebook''' =(optional)  Username on Facebook
 
* '''gplus''' =  (optional)Username on Google Plus
 
* '''history''' = Team History. Use {{tl|TH}}.
 
* '''team_history_list''' = (optional) full team history in [[linked form]] for Semantic Mediawiki property, please keep as text. Note "team_history_list" does to output back into the Player page, but solely to gather this parameter.
 
  
 
==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 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=
+
|flag=tbd
|country=Sweden
+
|created=2016
|birth_date={{Birth date and age|1982|08|14}}
+
|status=Active
|nicknames=hEmoGloBiN
+
|sponsor=Dreamhack
|twitter=
+
|earnings=2000 SEK
|no-cat=true
 
 
}}
 
}}
 
</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>
 

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