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

From QWiki
m
m
Line 1: Line 1:
 
{{Infobox 2on2team
 
{{Infobox 2on2team
 
|name=My team
 
|name=My team
 +
|team=ABCD
 
|image=Infobox placeholder.png
 
|image=Infobox placeholder.png
|caption=Caption text to image.
 
|team=ABCD
 
 
|color1=4
 
|color1=4
 
|color2=13
 
|color2=13
Line 16: Line 15:
 
==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>
+
* '''created''' = (optional) Year, month (2010, April)
* '''country''' = (optional) Country
+
* '''country''' = (optional) Country 1
* '''country2''' = (optional) Secound country (If needed)
+
* '''country2''' = (optional) Country 2 (If needed)
* '''team''' = (optional) Current Team
+
* '''status''' = (optional) Active / Inactive
* '''clan''' = (optional) Current Clan
+
* '''sponsor''' = (optional) Team's personal sponsor
* '''sponsor''' = (optional) Player's personal sponsor
+
* '''earnings''' = (optional) Team's earnings
* '''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==

Revision as of 10:52, 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 player 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 player
|id=bps
|image=
|name=Jon 
|romanized_name=
|team=Suddendeath
|ids=
|country=Sweden
|birth_date={{Birth date and age|1982|08|14}}
|nicknames=hEmoGloBiN
|twitter=
|no-cat=true
}}

Copy / Paste

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