Difference between revisions of "Template:Infobox 4on4team/doc"
From QWiki
m (Expanded to allow color 1-16) |
|||
| (4 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
|image=Infobox placeholder.png | |image=Infobox placeholder.png | ||
|color1=4 | |color1=4 | ||
| − | |color2= | + | |color2=15 |
|flag=us | |flag=us | ||
|created=2016 | |created=2016 | ||
| Line 10: | Line 10: | ||
|sponsor=Dreamhack | |sponsor=Dreamhack | ||
|earnings=2000 SEK | |earnings=2000 SEK | ||
| − | |founder={{player| | + | |founder={{player|Player|flag=se}} |
| − | |manager={{player| | + | |manager={{player|Player|flag=us}} |
| − | |captain={{player| | + | |captain={{player|Player|flag=fi}} |
|irc-channel=#quakeworld | |irc-channel=#quakeworld | ||
|website=quakeworld.nu | |website=quakeworld.nu | ||
| 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''' = | + | * '''team''' = Team tag / shortname |
| − | * '''image''' = | + | * '''image''' = Picture (will become 600px wide) <small>''(optional)''</small> |
| − | * '''color1''' = | + | * '''color1''' = Top color, 1-16 <small>''(optional)''</small> |
| − | * '''color2''' = | + | * '''color2''' = Bottom color, 1-16 <small>''(optional)''</small> |
| − | * '''flag''' = | + | * '''flag''' = 2 letter country code |
| − | * '''created''' = | + | * '''created''' = Year, month (2010, April) <small>''(optional)''</small> |
| − | * '''status''' = (optional) | + | * '''status''' = Active / Inactive <small>''(optional)''</small> |
| − | * '''sponsor''' = | + | * '''sponsor''' = Team's personal sponsor <small>''(optional)''</small> |
| − | * '''earnings''' = | + | * '''earnings''' = Team's earnings, approximately <small>''(optional)''</small> |
| − | * '''founder''' = | + | * '''founder''' = <nowiki>{{player|Playername|flag=se}}</nowiki> <small>''(optional)''</small> |
| − | * '''manager''' = | + | * '''manager''' = <nowiki>{{player|Playername|flag=us}}</nowiki> <small>''(optional)''</small> |
| − | * '''captain''' = | + | * '''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 07:51, 16 April 2025
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-16 (optional)
- color2 = Bottom color, 1-16 (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.
