Difference between revisions of "Template:Infobox player/doc"

From QWiki
m (Fix for colors)
m (Declaration of usage for |color)
Line 18: Line 18:
 
* '''id''' = Main ID
 
* '''id''' = Main ID
 
* '''image''' = (optional) Picture  
 
* '''image''' = (optional) Picture  
 +
* '''color''' = (optional) QW colors. Insert two values (0-13) separated by space.
 
* '''name''' = (optional) Real Name (If needed, use romanized_name for romanization)
 
* '''name''' = (optional) Real Name (If needed, use romanized_name for romanization)
 
* '''romanized_name''' = (optional) Romanized Real Name
 
* '''romanized_name''' = (optional) Romanized Real Name

Revision as of 07:13, 8 November 2020

Click here to upload a photo
Player Information
Nicknames:
hEmoGloBiN
Name:
Jon
Born:
August 14, 1982 (1982-08-14) (age 42)
Color:
  2    12 
Country:
Team:
Suddendeath

This template produces an Infobox on a player page.

Parameters

These are the variables in the Player template:

  • id = Main ID
  • image = (optional) Picture
  • color = (optional) QW colors. Insert two values (0-13) separated by space.
  • name = (optional) Real Name (If needed, use romanized_name for romanization)
  • romanized_name = (optional) Romanized Real Name
  • birth_date = (optional) {{Birth date and age|YYYY|MM|DD}}
  • country = (optional) Country
  • country2 = (optional) Secound country (If needed)
  • team = (optional) Current Team
  • clan = (optional) Current Clan
  • 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 {{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

The following code was used to create the infobox on this page.

{{Infobox player
|id=bps
|image=
|name=Jon 
|color=2 12
|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=
}}