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

From QWiki
m
 
(2 intermediate revisions by the same user not shown)
Line 20: Line 20:
 
These are the variables in the Player template:
 
These are the variables in the Player template:
 
* '''name''' = Team Name
 
* '''name''' = Team Name
* '''team''' = (optional) Team tag / shortname
+
* '''team''' = Team tag / shortname
* '''image''' = (optional) Picture (will become 600px wide)
+
* '''image''' = Picture (will become 600px wide) <small>''(optional)''</small>
* '''color1''' = (optional) Top color, 1-13
+
* '''color1''' = Top color, 1-13 <small>''(optional)''</small>
* '''color2''' = (optional) Bottom color, 1-13
+
* '''color2''' = Bottom color, 1-13 <small>''(optional)''</small>
* '''flag''' = (optional) 2 letter country code
+
* '''flag''' = 2 letter country code
* '''created''' = (optional) Year, month (2010, April)
+
* '''created''' = Year, month (2010, April) <small>''(optional)''</small>
* '''status''' = (optional) Active / Inactive
+
* '''status''' = Active / Inactive <small>''(optional)''</small>
* '''sponsor''' = (optional) Team's personal sponsor
+
* '''sponsor''' = Team's personal sponsor <small>''(optional)''</small>
* '''earnings''' = (optional) Team's earnings, approximately
+
* '''earnings''' = Team's earnings, approximately <small>''(optional)''</small>
* '''founder''' = (optional) <nowiki>{{player|Playername|flag=se}}</nowiki>
+
* '''founder''' = <nowiki>{{player|Playername|flag=se}}</nowiki> <small>''(optional)''</small>
* '''manager''' = (optional) <nowiki>{{player|Playername|flag=us}}</nowiki>
+
* '''manager''' = <nowiki>{{player|Playername|flag=us}}</nowiki> <small>''(optional)''</small>
* '''captain''' = (optional) <nowiki>{{player|Playername|flag=fi}}</nowiki>
+
* '''captain''' = <nowiki>{{player|Playername|flag=fi}}</nowiki> <small>''(optional)''</small>
* '''irc-channel''' = #quakeworld (QuakeNet)
+
* '''irc-channel''' = #quakeworld (QuakeNet) <small>''(optional)''</small>
* '''website''' = quakeworld.nu (http:// is auto added). Multiple websites can be added with website2,3,4.
+
* '''website''' = quakeworld.nu (http:// is auto added). Multiple websites can be added with website2,3,4. <small>''(optional)''</small>
  
 
==Example==
 
==Example==
Line 57: Line 57:
 
</pre>
 
</pre>
 
<noinclude>[[Category:Template Documentation Pages]]</noinclude>
 
<noinclude>[[Category:Template Documentation Pages]]</noinclude>
 +
 +
 +
Adapted from [http://wiki.teamliquid.net/starcraft2/Category:Infobox Liquipedia] under [http://wiki.teamliquid.net/starcraft2/Help:Reusing_and_remixing_Liquipedia_content CC-BY-SA] license.

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

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
}}


Adapted from Liquipedia under CC-BY-SA license.