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

From QWiki
m
m (Added website)
 
(8 intermediate revisions by the same user not shown)
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
 +
|flag=tbd
 +
|founder={{Player|Janne|flag=fi}}
 +
|manager=
 +
|captain=
 +
|irc=#myircchannel
 
|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)
+
* '''founder''' = <nowiki>{{player|Playername|flag=se}}</nowiki> <small>''(optional)''</small>
* '''team''' = (optional) Current Team
+
* '''manager''' = <nowiki>{{player|Playername|flag=us}}</nowiki> <small>''(optional)''</small>
* '''clan''' = (optional) Current Clan
+
* '''captain''' = <nowiki>{{player|Playername|flag=fi}}</nowiki> <small>''(optional)''</small>
* '''sponsor''' = (optional) Player's personal sponsor
+
* '''status''' = (optional) Active / Inactive
* '''ids''' = (optional)Alternative IDs
+
* '''irc''' = (optional) IRC channel
* '''site''' = (optional) Player's Homepage
+
* '''sponsor''' = (optional) Team's personal sponsor
* '''twitch''' = (optional) Username on Twitch
+
* '''earnings''' = (optional) Team's earnings, approximately
* '''stream''' = (optional) Link to stream (if not on Twitch or Own3D.tv)
+
* '''website1''' = (optional) Website, supports 1-4 entries (strip prefix like www/https)
* '''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}}
+
|founder={{Player|Janne|flag=fi}}
|nicknames=hEmoGloBiN
+
|status=Active
|twitter=
+
|sponsor=Dreamhack
|no-cat=true
+
|earnings=2000 SEK
 +
|irc=myircchannel
 +
|website=quakeworld.nu
 
}}
 
}}
 
</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 07:45, 17 December 2024

TBD My team
Infobox placeholder.png
2on2 team Information
Short team:
ABCD
Color:
  4    13 
Founded:
2016
Founder:
Status:
Active
Sponsor:
Dreamhack
Earnings (approx):
2000 SEK
IRC channel:
#myircchannel

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)
  • founder = {{player|Playername|flag=se}} (optional)
  • manager = {{player|Playername|flag=us}} (optional)
  • captain = {{player|Playername|flag=fi}} (optional)
  • status = (optional) Active / Inactive
  • irc = (optional) IRC channel
  • sponsor = (optional) Team's personal sponsor
  • earnings = (optional) Team's earnings, approximately
  • website1 = (optional) Website, supports 1-4 entries (strip prefix like www/https)

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
|founder={{Player|Janne|flag=fi}}
|status=Active
|sponsor=Dreamhack
|earnings=2000 SEK
|irc=myircchannel
|website=quakeworld.nu
}}