Difference between revisions of "Template:Infobox 4on4team"
From QWiki
m |
m |
||
| Line 10: | Line 10: | ||
Image | Image | ||
| − | -->{{#if:{{{image | + | -->{{#if:{{{image| |
<div> | <div> | ||
| − | <div class="infobox-image">[[File:{{{image}}}|center|600px]]</div> | + | <div class="infobox-image">[[File:{{{image}}}|center|600px]]|[[File:PlayerImagePlaceholder.png|center|600px]]</div> |
</div> | </div> | ||
}}<!-- | }}<!-- | ||
Revision as of 07:38, 6 April 2017
Documentation (view - edit)
{{#if:{Template:Image
4on4 team Information
Short team:
ABCD
Color:
4 15
Founded:
2016
Founder:
Manager:
Team Captain:
Status:
Active
Sponsor:
Dreamhack
Earnings (approx):
2000 SEK
IRC channel:
#quakeworld
Website:
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.