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

From QWiki
m (Added covid option)
m (Updating doc with favourite map 1on1/2on2/4on4)
Line 1: Line 1:
 
{{Infobox player
 
{{Infobox player
|id=bps
+
|id=Terminator
|image=
+
|ids=RoboCop, The_Terminat0r
|name=Jon
+
|name=Jan Long
|color=2 12
+
|color=4 3
|team=Suddendeath
+
|favmap1on1=aerowalk
|ids=
+
|favmap2on2=dm6
|country=Sweden
+
|favmap4on4=e1m2
|birth_date={{Birth date and age|1982|08|14}}
+
|hadcovid=Yes
|nicknames=hEmoGloBiN
+
|country=Denmark
|twitter=
+
|birth_date={{Birth date and age|1981|5|27}}
|achievements=
+
|clan=Zetor
|no-cat=true
+
|image=Infobox placeholder.png
 +
|status=Active
 +
|spawned=2001
 +
|role=
 +
|twitch=
 +
|history=
 +
{{TH|2009 – '''Present'''|Star Alliance}}
 +
{{TH|2003 – 2008|Earthquake}}
 +
{{TH|2001|Paranoia}}
 +
{{TH|1999 – 2001|Zetor}}
 
}}
 
}}
 
This template produces an Infobox on a player page.
 
This template produces an Infobox on a player page.
Line 19: Line 28:
 
* '''image''' = (optional) Picture  
 
* '''image''' = (optional) Picture  
 
* '''color''' = (optional) QW colors. Insert two values (0-13) separated by space.
 
* '''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
* '''romanized_name''' = (optional) Romanized Real Name
 
 
* '''birth_date''' = (optional) <nowiki>{{Birth date and age|YYYY|MM|DD}}</nowiki>
 
* '''birth_date''' = (optional) <nowiki>{{Birth date and age|YYYY|MM|DD}}</nowiki>
 +
* '''favmap1on1''' = Favourite 1on1 map
 +
* '''favmap2on2''' = Favourite 2on2 map
 +
* '''favmap4on4''' = Favourite 4on4 map
 +
* '''hadcovid''' = (optional) Yes/No
 
* '''country''' = (optional) Country
 
* '''country''' = (optional) Country
 
* '''country2''' = (optional) Secound country (If needed)
 
* '''country2''' = (optional) Secound country (If needed)
Line 35: Line 47:
 
* '''twitter''' = (optional) Username on Twitter
 
* '''twitter''' = (optional) Username on Twitter
 
* '''facebook''' =(optional)  Username on Facebook
 
* '''facebook''' =(optional)  Username on Facebook
* '''gplus''' =  (optional)Username on Google Plus
 
 
* '''history''' = Team History. Use {{tl|TH}}.
 
* '''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.
 
* '''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.
Line 41: Line 52:
 
==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;width:50%;">
 
{{Infobox player
 
{{Infobox player
|id=bps
+
|id=Terminator
|image=
+
|ids=RoboCop, The_Terminat0r
|name=Jon
+
|name=Jan Long
|color=2 12
+
|color=4 3
|romanized_name=
+
|favmap1on1=aerowalk
|team=Suddendeath
+
|favmap2on2=dm6
|ids=
+
|favmap4on4=e1m2
|country=Sweden
+
|hadcovid=Yes
|birth_date={{Birth date and age|1982|08|14}}
+
|country=Denmark
|nicknames=hEmoGloBiN
+
|birth_date={{Birth date and age|1981|5|27}}
|twitter=
+
|clan=Zetor
|no-cat=true
+
|image=Infobox placeholder.png
 +
|status=Active
 +
|spawned=2001
 +
|role=
 +
|twitch=
 +
|history=
 +
{{TH|2009 – '''Present'''|Star Alliance}}
 +
{{TH|2003 – 2008|Earthquake}}
 +
{{TH|2001|Paranoia}}
 +
{{TH|1999 – 2001|Zetor}}
 
}}
 
}}
 
</pre>
 
</pre>
 
<noinclude>[[Category:Template Documentation Pages]]</noinclude>
 
<noinclude>[[Category:Template Documentation Pages]]</noinclude>
 
==Copy / Paste==
 
==Copy / Paste==
<pre style="display: inline-block;">
+
<pre style="display: inline-block;width:50%;">
 
{{Infobox player
 
{{Infobox player
 
|id=
 
|id=
|image=
+
|ids=
 
|name=
 
|name=
|romanized_name=
+
|color=
|birth_date= {{Birth date and age|YYYY|MM|DD}}
+
|favmap1on1=
 +
|favmap2on2=
 +
|favmap4on4=
 +
|hadcovid=
 
|country=
 
|country=
|team=
+
|birth_date={{Birth date and age|||}}
 
|clan=
 
|clan=
|sponsor=
+
|image=
|ids=
+
|status=
|site=
+
|spawned=
 +
|role=
 
|twitch=
 
|twitch=
|stream=
 
|youtube=
 
|twitter=
 
|facebook=
 
|gplus=
 
 
|history=
 
|history=
|team_history_list=
 
 
}}
 
}}
 
</pre>
 
</pre>

Revision as of 21:34, 27 February 2021

Infobox placeholder.png
Player Information
Nicknames:
RoboCop, The_Terminat0r
Name:
Jan Long
Born:
May 27, 1981 (1981-05-27) (age 43)
Had Covid:
Yes
Color:
  4     3  
Map 1on1:
Map 2on2:
Map 4on4:
Country:
First spawned:
2001
Status:
Active
Clan:
History
2009 – Present
2003 – 2008
1999 – 2001

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
  • birth_date = (optional) {{Birth date and age|YYYY|MM|DD}}
  • favmap1on1 = Favourite 1on1 map
  • favmap2on2 = Favourite 2on2 map
  • favmap4on4 = Favourite 4on4 map
  • hadcovid = (optional) Yes/No
  • country = (optional) Country
  • country2 = (optional) Secound country (If needed)
  • team = (optional) Current Team
  • clan = (optional) Current Clan
  • hadcovid = (optional) Infected with Covid
  • 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
  • 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=Terminator
|ids=RoboCop, The_Terminat0r
|name=Jan Long
|color=4 3
|favmap1on1=aerowalk
|favmap2on2=dm6
|favmap4on4=e1m2
|hadcovid=Yes
|country=Denmark
|birth_date={{Birth date and age|1981|5|27}}
|clan=Zetor
|image=Infobox placeholder.png
|status=Active
|spawned=2001
|role=
|twitch=
|history=
{{TH|2009 – '''Present'''|Star Alliance}}
{{TH|2003 – 2008|Earthquake}}
{{TH|2001|Paranoia}}
{{TH|1999 – 2001|Zetor}}
}}

Copy / Paste

{{Infobox player
|id=
|ids=
|name=
|color=
|favmap1on1=
|favmap2on2=
|favmap4on4=
|hadcovid=
|country=
|birth_date={{Birth date and age|||}}
|clan=
|image=
|status=
|spawned=
|role=
|twitch=
|history=
}}