Template:Infobox/Club: Difference between revisions
From Hattrick
Jump to navigationJump to search
No edit summary |
+ president |
||
| Line 16: | Line 16: | ||
--><tr><td align=center colspan=2 style="background: #ddd; border:1px #aaa solid">'''Club information'''</td></tr> | --><tr><td align=center colspan=2 style="background: #ddd; border:1px #aaa solid">'''Club information'''</td></tr> | ||
{{#if:{{{fullname|}}}|<tr><td bgcolor=#f3f3f3>'''Full name'''</td><td>{{{fullname}}}</td></tr>|}}{{#if:{{{shortname|}}}|<tr><td bgcolor=#f3f3f3>'''Short name'''</td><td>{{{shortname}}}</td></tr>|}}{{#if:{{{nickname|}}}| <tr><td bgcolor=#f3f3f3>'''Nickname'''</td><td>{{{nickname}}}</td></tr>|}}{{#if:{{{country|}}}|<tr><td bgcolor=#f3f3f3>'''Location'''</td><td> {{#if:{{{region|}}}|[[{{{region}}}]]{{#if:{{{country|{{{region|}}}}}}|, |}}|}}{{Flag|{{{country}}}}}</td></tr>|}}{{#if:{{{continent|}}}| <tr><td bgcolor=#f3f3f3>'''Geographic area'''</td><td>{{{continent}}}</td></tr>|}}{{#if:{{{founded|}}}|<tr><td bgcolor=#f3f3f3>'''Founded'''</td><td>{{{founded}}}</td></tr>|}}{{#if:{{{defunct|}}}|<tr><td bgcolor=#f3f3f3>'''Defunct'''</td><td>{{{defunct}}}</td></tr>|}}{{#if:{{{coach|}}}|<tr><td bgcolor=#f3f3f3>'''Coach'''</td><td>{{{coach}}}</td></tr>|}}{{#if:{{{series|}}}|<tr><td bgcolor=#f3f3f3>'''Series'''</td><td>{{{series}}}</td></tr>|}}{{#if:{{{arena|}}}|<tr><td bgcolor=#f3f3f3>'''Stadium'''</td><td>{{{arena}}} {{#if:{{{seats|}}}|({{{seats|}}} seats)|}}</td></tr>|}}{{#if:{{{fanclub|}}}|<tr><td bgcolor=#f3f3f3>'''Fan Club'''</td><td>{{#if:{{{fanclub|{{{fansize|}}}}}}|{{{fanclub}}}{{#if:{{{fansize|}}}| ({{{fansize}}} members)}}|}}</td></tr>|}}<!-- | {{#if:{{{fullname|}}}|<tr><td bgcolor=#f3f3f3>'''Full name'''</td><td>{{{fullname}}}</td></tr>|}}{{#if:{{{shortname|}}}|<tr><td bgcolor=#f3f3f3>'''Short name'''</td><td>{{{shortname}}}</td></tr>|}}{{#if:{{{nickname|}}}| <tr><td bgcolor=#f3f3f3>'''Nickname'''</td><td>{{{nickname}}}</td></tr>|}}{{#if:{{{country|}}}|<tr><td bgcolor=#f3f3f3>'''Location'''</td><td> {{#if:{{{region|}}}|[[{{{region}}}]]{{#if:{{{country|{{{region|}}}}}}|, |}}|}}{{Flag|{{{country}}}}}</td></tr>|}}{{#if:{{{continent|}}}| <tr><td bgcolor=#f3f3f3>'''Geographic area'''</td><td>{{{continent}}}</td></tr>|}}{{#if:{{{founded|}}}|<tr><td bgcolor=#f3f3f3>'''Founded'''</td><td>{{{founded}}}</td></tr>|}}{{#if:{{{defunct|}}}|<tr><td bgcolor=#f3f3f3>'''Defunct'''</td><td>{{{defunct}}}</td></tr>|}}{{#if:{{{president|}}}|<tr><td bgcolor=#f3f3f3>'''President'''</td><td>{{{president}}}</td></tr>|}}{{#if:{{{coach|}}}|<tr><td bgcolor=#f3f3f3>'''Coach'''</td><td>{{{coach}}}</td></tr>|}}{{#if:{{{series|}}}|<tr><td bgcolor=#f3f3f3>'''Series'''</td><td>{{{series}}}</td></tr>|}}{{#if:{{{arena|}}}|<tr><td bgcolor=#f3f3f3>'''Stadium'''</td><td>{{{arena}}} {{#if:{{{seats|}}}|({{{seats|}}} seats)|}}</td></tr>|}}{{#if:{{{fanclub|}}}|<tr><td bgcolor=#f3f3f3>'''Fan Club'''</td><td>{{#if:{{{fanclub|{{{fansize|}}}}}}|{{{fanclub}}}{{#if:{{{fansize|}}}| ({{{fansize}}} members)}}|}}</td></tr>|}}<!-- | ||
RECORDS | RECORDS | ||
Revision as of 23:43, 13 March 2020
| 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
}}
|
| ||||||||||||||||||||||||||||||||||||||||||||