Difference between revisions of "Template:Infobox 4on4team/doc"

From QWiki
(Created page with "{{Infobox 4on4team |name=My team |team=ABCD |image=Infobox placeholder.png |color1=4 |color2=13 |flag=tbd |created=2016 |status=Active |sponsor=Dreamhack |earnings=2000 SEK |f...")
 
Line 5: Line 5:
 
|color1=4
 
|color1=4
 
|color2=13
 
|color2=13
|flag=tbd
+
|flag=us
 
|created=2016
 
|created=2016
 
|status=Active
 
|status=Active
 
|sponsor=Dreamhack
 
|sponsor=Dreamhack
 
|earnings=2000 SEK
 
|earnings=2000 SEK
|founder={{player|Player|flag=se}}
+
|founder={{player|Playername|flag=se}}
|manager={{player|Player|flag=us}}
+
|manager={{player|Playername|flag=us}}
|captain={{player|Player|flag=fi}}
+
|captain={{player|Playername|flag=fi}}
 
|irc-channel=#quakeworld
 
|irc-channel=#quakeworld
 
|website=quakeworld.nu
 
|website=quakeworld.nu
Line 21: Line 21:
 
* '''name''' = Team Name
 
* '''name''' = Team Name
 
* '''team''' = (optional) Team tag / shortname
 
* '''team''' = (optional) Team tag / shortname
* '''image''' = (optional) Picture  
+
* '''image''' = (optional) Picture (will become 600px wide)
 
* '''color1''' = (optional) Top color, 1-13
 
* '''color1''' = (optional) Top color, 1-13
 
* '''color2''' = (optional) Bottom color, 1-13
 
* '''color2''' = (optional) Bottom color, 1-13
Line 29: Line 29:
 
* '''sponsor''' = (optional) Team's personal sponsor
 
* '''sponsor''' = (optional) Team's personal sponsor
 
* '''earnings''' = (optional) Team's earnings, approximately
 
* '''earnings''' = (optional) Team's earnings, approximately
* '''founder''' = (optional) <nowiki>{{player|Player|flag=se}}</nowiki>
+
* '''founder''' = (optional) <nowiki>{{player|Playername|flag=se}}</nowiki>
* '''manager''' = (optional) <nowiki>{{player|Player|flag=us}}</nowiki>
+
* '''manager''' = (optional) <nowiki>{{player|Playername|flag=us}}</nowiki>
* '''captain''' = (optional) <nowiki>{{player|Player|flag=fi}}</nowiki>
+
* '''captain''' = (optional) <nowiki>{{player|Playername|flag=fi}}</nowiki>
 
* '''irc-channel''' = #quakeworld (QuakeNet)
 
* '''irc-channel''' = #quakeworld (QuakeNet)
* '''website''' = quakeworld.nu
+
* '''website''' = quakeworld.nu (http:// is auto added). Multiple websites can be added with website2,3,4.
  
 
==Example==
 
==Example==
Line 44: Line 44:
 
|color1=4
 
|color1=4
 
|color2=13
 
|color2=13
|flag=tbd
+
|flag=us
 
|created=2016
 
|created=2016
 
|status=Active
 
|status=Active
 
|sponsor=Dreamhack
 
|sponsor=Dreamhack
 
|earnings=2000 SEK
 
|earnings=2000 SEK
|founder={{player|Player|flag=se}}
+
|founder={{player|Playername|flag=se}}
|manager={{player|Player|flag=us}}
+
|manager={{player|Playername|flag=us}}
|captain={{player|Player|flag=fi}}
+
|captain={{player|Playername|flag=fi}}
 
|irc-channel=#quakeworld
 
|irc-channel=#quakeworld
 
|website=quakeworld.nu
 
|website=quakeworld.nu

Revision as of 09:26, 6 April 2017

United States My team
Infobox placeholder.png
4on4 team Information
Short team:
ABCD
Color:
  4    13 
Founded:
2016
Founder:
Manager:
Team Captain:
Status:
Active
Sponsor:
Dreamhack
Earnings (approx):
2000 SEK
IRC channel:
#quakeworld
Links

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 (will become 600px wide)
  • color1 = (optional) Top color, 1-13
  • color2 = (optional) Bottom color, 1-13
  • flag = (optional) 2 letter country code
  • created = (optional) Year, month (2010, April)
  • status = (optional) Active / Inactive
  • sponsor = (optional) Team's personal sponsor
  • earnings = (optional) Team's earnings, approximately
  • founder = (optional) {{player|Playername|flag=se}}
  • manager = (optional) {{player|Playername|flag=us}}
  • captain = (optional) {{player|Playername|flag=fi}}
  • irc-channel = #quakeworld (QuakeNet)
  • website = quakeworld.nu (http:// is auto added). Multiple websites can be added with website2,3,4.

Example

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

{{Infobox 4on4team
|name=My team
|team=ABCD
|image=Infobox placeholder.png
|color1=4
|color2=13
|flag=us
|created=2016
|status=Active
|sponsor=Dreamhack
|earnings=2000 SEK
|founder={{player|Playername|flag=se}}
|manager={{player|Playername|flag=us}}
|captain={{player|Playername|flag=fi}}
|irc-channel=#quakeworld
|website=quakeworld.nu
}}