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

From QWiki
m (Updating doc with favourite map 1on1/2on2/4on4)
m (Removed param 'id=' as it's not used anymore)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Infobox player
 
{{Infobox player
 
|id=Terminator
 
|id=Terminator
 +
|image=
 
|ids=RoboCop, The_Terminat0r
 
|ids=RoboCop, The_Terminat0r
 
|name=Jan Long
 
|name=Jan Long
 +
|birth_date={{Birth date and age|1981|5|27}}
 +
|death_date=May 31, 2020
 +
|role=Commander
 +
|hadcovid=Yes
 +
|sponsor=Danske Bank
 
|color=4 3
 
|color=4 3
 
|favmap1on1=aerowalk
 
|favmap1on1=aerowalk
 
|favmap2on2=dm6
 
|favmap2on2=dm6
 
|favmap4on4=e1m2
 
|favmap4on4=e1m2
|hadcovid=Yes
 
 
|country=Denmark
 
|country=Denmark
|birth_date={{Birth date and age|1981|5|27}}
+
|country2=Italy
 +
|spawned=2001
 +
|status=Active
 +
|years_active=2001-'''Present'''
 +
|years_active_admin=2011-2012
 +
|team={{Team|Team Denmark|flag=dk}}
 +
|team2={{Team|Danske Bank|link=abbr|abbr=Royal Bank of Denmark|flag=dk}}
 
|clan=Zetor
 
|clan=Zetor
|image=Infobox placeholder.png
+
|twitch=suddendeathTV
|status=Active
+
|youtube=tvsuddendeath
|spawned=2001
 
|role=
 
|twitch=
 
 
|history=
 
|history=
 
{{TH|2009 – '''Present'''|Star Alliance}}
 
{{TH|2009 – '''Present'''|Star Alliance}}
Line 23: Line 31:
 
}}
 
}}
 
This template produces an Infobox on a player page.
 
This template produces an Infobox on a player page.
 +
 
==Parameters==
 
==Parameters==
 
These are the variables in the Player template:
 
These are the variables in the Player template:
* '''id''' = Main ID
+
* '''image''' = Picture  
* '''image''' = (optional) Picture  
+
* '''ids''' = Alternative nicknames
* '''color''' = (optional) QW colors. Insert two values (0-13) separated by space.
+
* '''name''' = Real Name
* '''name''' = (optional) Real Name
+
* '''birth_date''' = <nowiki>{{Birth date and age|YYYY|MM|DD}}</nowiki>
* '''birth_date''' = (optional) <nowiki>{{Birth date and age|YYYY|MM|DD}}</nowiki>
+
* '''death_date''' = Date of death
 +
* '''role''' = Player, Caster, or whatever you want
 +
* '''hadcovid''' = Yes/No, if the player had Covid-19
 +
* '''sponsor''' = Player's personal sponsor
 +
* '''color''' = QW colors. Insert two values (0-13) separated by space.
 
* '''favmap1on1''' = Favourite 1on1 map
 
* '''favmap1on1''' = Favourite 1on1 map
 
* '''favmap2on2''' = Favourite 2on2 map
 
* '''favmap2on2''' = Favourite 2on2 map
 
* '''favmap4on4''' = Favourite 4on4 map
 
* '''favmap4on4''' = Favourite 4on4 map
* '''hadcovid''' = (optional) Yes/No
+
* '''country''' = Country
* '''country''' = (optional) Country
+
* '''country2''' = Secound country (if needed)
* '''country2''' = (optional) Secound country (If needed)
+
* '''spawned''' = Started playing YYYY
* '''team''' = (optional) Current Team
+
* '''status''' = Active or Inactive
* '''clan''' = (optional) Current Clan
+
* '''years_active''' = YYYY - YYYY
* '''hadcovid''' = (optional) Infected with Covid
+
* '''years_active_admin''' = YYYY - YYYY
* '''sponsor''' = (optional) Player's personal sponsor
+
* '''team''' = Current Team
* '''ids''' = (optional)Alternative IDs
+
* '''clan''' = Current Clan
* '''site''' = (optional) Player's Homepage
+
* '''twitch''' = Username on Twitch
* '''twitch''' = (optional) Username on Twitch
+
* '''youtube''' = YouTube channel name
* '''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 {{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''' = 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==
Line 55: Line 64:
 
{{Infobox player
 
{{Infobox player
 
|id=Terminator
 
|id=Terminator
 +
|image=Infobox placeholder.png
 
|ids=RoboCop, The_Terminat0r
 
|ids=RoboCop, The_Terminat0r
 
|name=Jan Long
 
|name=Jan Long
 +
|birth_date={{Birth date and age|1981|5|27}}
 +
|death_date=May 31, 2020
 +
|role=Commander
 +
|hadcovid=Yes
 +
|sponsor=Danske Bank
 
|color=4 3
 
|color=4 3
 
|favmap1on1=aerowalk
 
|favmap1on1=aerowalk
 
|favmap2on2=dm6
 
|favmap2on2=dm6
 
|favmap4on4=e1m2
 
|favmap4on4=e1m2
|hadcovid=Yes
 
 
|country=Denmark
 
|country=Denmark
|birth_date={{Birth date and age|1981|5|27}}
+
|country2=Italy
 +
|spawned=2001
 +
|status=Active
 +
|years_active=2001-'''Present'''
 +
|years_active_admin=2011-2012
 +
|team={{Team|Team Denmark|flag=dk}}
 +
|team2={{Team|Danske Bank|link=abbr|abbr=Royal Bank of Denmark|flag=dk}}
 
|clan=Zetor
 
|clan=Zetor
|image=Infobox placeholder.png
+
|twitch=suddendeathTV
|status=Active
+
|youtube=tvsuddendeath
|spawned=2001
 
|role=
 
|twitch=
 
 
|history=
 
|history=
 
{{TH|2009 – '''Present'''|Star Alliance}}
 
{{TH|2009 – '''Present'''|Star Alliance}}
Line 82: Line 99:
 
{{Infobox player
 
{{Infobox player
 
|id=
 
|id=
 +
|image=
 
|ids=
 
|ids=
 
|name=
 
|name=
 +
|birth_date=
 +
|death_date=
 +
|role=
 +
|hadcovid=
 +
|sponsor=
 
|color=
 
|color=
 
|favmap1on1=
 
|favmap1on1=
 
|favmap2on2=
 
|favmap2on2=
 
|favmap4on4=
 
|favmap4on4=
|hadcovid=
 
 
|country=
 
|country=
|birth_date={{Birth date and age|||}}
+
|country2=
 +
|spawned=
 +
|status=
 +
|years_active=
 +
|years_active_admin=
 +
|team=
 +
|team2=
 
|clan=
 
|clan=
|image=
 
|status=
 
|spawned=
 
|role=
 
 
|twitch=
 
|twitch=
 +
|youtube=
 
|history=
 
|history=
 +
{{TH|YYY-MM-DD – YYYY-MM-DD|First team}}
 +
{{TH|YYY-MM-DD – YYYY-MM-DD|Second team}}
 +
{{TH|YYY-MM-DD – YYYY-MM-DD|Third team}}
 
}}
 
}}
 
</pre>
 
</pre>

Latest revision as of 13:34, 23 March 2023

Click here to upload a photo
Player Information
Nicknames:
RoboCop, The_Terminat0r
Name:
Jan Long
Born:
May 27, 1981 (1981-05-27) (age 43)
Died:
May 31, 2020
Role:
Commander
Had Covid:
Yes
Sponsor:
Danske Bank
Color:
  4     3  
Map 1on1:
Map 2on2:
Map 4on4:
Country:
First spawned:
2001
Status:
Active
Years Active (Player):
2001-Present
Years Active (admin):
2011-2012
Team:
Denmark Team Denmark
Denmark Danske Bank
Clan:
Links
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:

  • image = Picture
  • ids = Alternative nicknames
  • name = Real Name
  • birth_date = {{Birth date and age|YYYY|MM|DD}}
  • death_date = Date of death
  • role = Player, Caster, or whatever you want
  • hadcovid = Yes/No, if the player had Covid-19
  • sponsor = Player's personal sponsor
  • color = QW colors. Insert two values (0-13) separated by space.
  • favmap1on1 = Favourite 1on1 map
  • favmap2on2 = Favourite 2on2 map
  • favmap4on4 = Favourite 4on4 map
  • country = Country
  • country2 = Secound country (if needed)
  • spawned = Started playing YYYY
  • status = Active or Inactive
  • years_active = YYYY - YYYY
  • years_active_admin = YYYY - YYYY
  • team = Current Team
  • clan = Current Clan
  • twitch = Username on Twitch
  • youtube = YouTube channel name
  • history = Team History. Use {{TH}}.
  • team_history_list = 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
|image=Infobox placeholder.png
|ids=RoboCop, The_Terminat0r
|name=Jan Long
|birth_date={{Birth date and age|1981|5|27}}
|death_date=May 31, 2020
|role=Commander
|hadcovid=Yes
|sponsor=Danske Bank
|color=4 3
|favmap1on1=aerowalk
|favmap2on2=dm6
|favmap4on4=e1m2
|country=Denmark
|country2=Italy
|spawned=2001
|status=Active
|years_active=2001-'''Present'''
|years_active_admin=2011-2012
|team={{Team|Team Denmark|flag=dk}}
|team2={{Team|Danske Bank|link=abbr|abbr=Royal Bank of Denmark|flag=dk}}
|clan=Zetor
|twitch=suddendeathTV
|youtube=tvsuddendeath
|history=
{{TH|2009 – '''Present'''|Star Alliance}}
{{TH|2003 – 2008|Earthquake}}
{{TH|2001|Paranoia}}
{{TH|1999 – 2001|Zetor}}
}}

Copy / Paste

{{Infobox player
|id=
|image=
|ids=
|name=
|birth_date=
|death_date=
|role=
|hadcovid=
|sponsor=
|color=
|favmap1on1=
|favmap2on2=
|favmap4on4=
|country=
|country2=
|spawned=
|status=
|years_active=
|years_active_admin=
|team=
|team2=
|clan=
|twitch=
|youtube=
|history=
{{TH|YYY-MM-DD – YYYY-MM-DD|First team}}
{{TH|YYY-MM-DD – YYYY-MM-DD|Second team}}
{{TH|YYY-MM-DD – YYYY-MM-DD|Third team}}
}}