Template:Infobox/Club: Difference between revisions
From Hattrick
Jump to navigationJump to search
Created page with '<table class="infobox" id="toc" style="float:right; width:321px; text-align:center; background:#e3e3e3; border:1px #aaa solid; margin:0.5em auto; border-collapse:collapse"><!-- …' |
No edit summary |
||
| Line 11: | Line 11: | ||
MAIN | MAIN | ||
--><table class="infobox" style="float:right; width:321px; background:#fff; text-align:left; font-size:88%; margin-left:1em; border-spacing:1;">{{#if:{{{logourl|}}}|<tr><td colspan=2 align=center>{{{logourl}}}</td></tr>|}}{{#if:{{{manager|}}}| | --><table class="infobox" style="float:right; width:321px; background:#fff; text-align:left; font-size:88%; margin-left:1em; border-spacing:1;">{{#if:{{{logourl|}}}|<tr><td colspan=2 align=center>{{{logourl}}}</td></tr>|}}{{#if:{{{manager|}}}|<td colspan=3 align=center style="font-size:1.1em">Managed by '''{{{manager}}}'''</td>|{{#if:{{{htuser|}}}|<td colspan=3 align=center style="font-size:1.1em">Managed by '''[[User:{{{htuser}}}|{{{htuser}}}]]'''</td>}}<!-- | ||
INFO | INFO | ||
Revision as of 22:59, 16 August 2012
| Club information |
[edit]
Template documentation
Usage
{{Infobox/Club
| lastedit =
| teamid =
| clubname = <!--required-->
| logourl = <!--[[image: |200px]]-->
| htuser = <!--active link-->
| manager = <!--htuser alternative, no link-->
| nickname = <!--short name on match page-->
| fullname =
| shortname=
| region =
| country = <!--NAT code-->
| continent=
| founded =
| arena =
| seats =
| fanclub =
| fansize =
| president =
| coach =
| kit1 =
| kit2 =
| yteam =
| yarena =
| prizeshelf =
| title = <!--competition name-->
| wintitle = <!--competition edition-->
| before = <!--winner before-->
| after = <!--winner after-->
}}
Help
Copy parameters at the very beginning of team page and compile to show the club box on the right.
- The only required sectors is club name, other parameters are optional and will show in the template only when given a non-empty value.
TITLE highlight (last 4 parameters) is an optional separeted box for notable club victories. (note: in TITLE sub-box you can change color with bgclr = parameter)
Example
| TEXT | RESULT | ||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{Infobox/Club
| bgclr = red
| title = [[J. League]] Champion
| wintitle = 14 Times
| before = <small>''Hokkaido'' (Bot)<br>Season 1</small>
| after = <small>[[vino rosso]]<br>Season 16</small>
| teamid = 32048
| clubname = Shirayuri Sky
| logourl = [[image:32048.jpg|200px]]
| htuser = saheki
| nickname = Shirayuri
| fullname =
| shortname=
| region = Tokyo
| country = JPN
| continent= [[Asia]]
| founded = 10-06-2001
| arena = Shirayuri Skydome
| seats = 200 000
| fanclub = The Red Shoes
| fansize = 3 000+
| president = bleh
| kit1 =
http://res.hattrick.org/kits/1/8/80/79504/matchKitLarge.png
| kit2 =
http://res.hattrick.org/kits/1/9/87/86047/matchKitSmall.png
| prizeshelf = {{Cup}} The Emperor's Cup Winner<br>
season 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15<br>
{{DivI}} [[J. League]] National Champion<br>
season 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
| yteam = Shirayuri Sky
| yarena = The Little Match Girl
| lastedit = 30-08-2012
}}
|
| ||||||||||||||||||||||||||||||||||||||||||