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

From QWiki
m
m (Added website)
 
(6 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
|color1=4
 
|color1=4
 
|color2=13
 
|color2=13
 +
|flag=tbd
 +
|founder={{Player|Janne|flag=fi}}
 +
|manager=
 +
|captain=
 +
|irc=#myircchannel
 
|created=2016
 
|created=2016
|country=Finland
 
|country2=Sweden
 
 
|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:
Line 20: Line 23:
 
* '''color1''' = (optional) Top color, 1-13
 
* '''color1''' = (optional) Top color, 1-13
 
* '''color2''' = (optional) Bottom color, 1-13
 
* '''color2''' = (optional) Bottom color, 1-13
 +
* '''flag''' = (optional) 2 letter country code
 
* '''created''' = (optional) Year, month (2010, April)
 
* '''created''' = (optional) Year, month (2010, April)
* '''country''' = (optional) Country 1
+
* '''founder''' = <nowiki>{{player|Playername|flag=se}}</nowiki> <small>''(optional)''</small>
* '''country2''' = (optional) Country 2 (If needed)
+
* '''manager''' = <nowiki>{{player|Playername|flag=us}}</nowiki> <small>''(optional)''</small>
 +
* '''captain''' = <nowiki>{{player|Playername|flag=fi}}</nowiki> <small>''(optional)''</small>
 
* '''status''' = (optional) Active / Inactive
 
* '''status''' = (optional) Active / Inactive
 +
* '''irc''' = (optional) IRC channel
 
* '''sponsor''' = (optional) Team's personal sponsor
 
* '''sponsor''' = (optional) Team's personal sponsor
* '''earnings''' = (optional) Team's earnings
+
* '''earnings''' = (optional) Team's earnings, approximately
 +
* '''website1''' = (optional) Website, supports 1-4 entries (strip prefix like www/https)
  
 
==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
}}