Template:Infobox/Club: Difference between revisions

From Hattrick
Jump to navigationJump to search
Para Para (talk | contribs)
No edit summary
Romulopoulos (talk | contribs)
No edit summary
 
(52 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<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"><!--
<table class="infobox" id="toc" style="float:right; width:321px; text-align:center; border:1px #aaa solid; margin:0.5em auto; border-collapse:collapse"><!--


HEADER
HEADER


-->{{#if:{{{teamname|{{{clubname|}}}}}}|<caption>'''{{{teamname|{{{clubname}}}}}}'''{{#if:{{{teamid|}}}|&nbsp;(<span class="plainlinks">[http://www.hattrick.org/Club/?TeamID={{{teamid}}} {{{teamid}}}]</span>)|}}</caption>|}}<!--
--><caption>{{#if:{{{teamname|{{{clubname|}}}}}}|'''{{{teamname|}}}{{{clubname|}}}'''|}}{{#if:{{{teamid|}}}|&nbsp;(<span class="plainlinks">[https://www.hattrick.org/goto.ashx?path=/Club/?TeamID={{{teamid}}} {{{teamid}}}]</span>)|}}</caption><!--


TITLES
TITLES


-->{{#if: {{{title|}}}|<tr><td colspan=3 style="border:1px #aaa solid" bgcolor={{#if: {{{bgclr|}}}| {{{bgclr}}}| #55CC66}}> '''{{{title}}}''' </td></tr>}}{{#if: {{{wintitle|}}}|<td rowspan=1 width=30% style="border:1px #aaa solid" > ''<small>Preceded by </small>'' <br> {{#if: {{{before}}}|{{{before}}}| ''new title'' }} </td>}}{{#if: {{{wintitle|}}}|<td rowspan=1 width=40% >'''{{{wintitle}}}'''</td>}}{{#if: {{{wintitle|}}}|<td rowspan=1 width=30% style="border:1px #aaa solid" > ''<small>Succeeded by</small>'' <br> {{#if: {{{after}}}|{{{after}}} | ''incumbent'' }} </td>}}</table><!--
-->{{#if: {{{title|}}}|<tr><td colspan=3 width=100% style="border:1px #aaa solid" bgcolor={{#if: {{{bgclr|}}}| {{{bgclr}}}| #b0c4de}}> '''{{{title}}}''' </td></tr>}}{{#if: {{{wintitle|}}}|<td rowspan=1 width=30% style="border:1px #aaa solid"> ''<small>Preceded by </small>'' <br> {{#if: {{{before}}}|{{{before}}}| ''new title'' }} </td>}}{{#if: {{{wintitle|}}}|<td rowspan=1 width=40% >'''{{{wintitle}}}'''</td>}}{{#if: {{{wintitle|}}}|<td rowspan=1 width=30% style="border:1px #aaa solid" > ''<small>Succeeded by</small>'' <br> {{#if: {{{after}}}|{{{after}}} | ''incumbent'' }} </td>}}</table><!--


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|}}}|<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>}}<!--
--><table class="infobox" style="float:right; width:321px; text-align:left; font-size:88%; margin-left:1em; border-spacing:1;">{{#if:{{{current|}}}|<tr><td colspan=2 align=center>[[Image:Soccerball current event.png{{!}}33px{{!}}link={{!}}alt=]] ''[[{{{current}}}{{!}}{{CurrentSeasonName}}]]''</td></tr>}}{{#if:{{{logourl|}}}|<tr><td colspan=2 align=center style="background: #fff; border:1px solid lightgrey">{{{logourl}}}</td></tr>|<tr><td colspan=2 align=center style="opacity:0.15">[[image:Blue-question-mark.jpg|x120px|Please, help us find this missing logo|link=]]</td></tr>}}{{#if:{{{manager|}}}|{{#if:{{{htuser|}}}|<tr><td colspan=3 align=center style="font-size:1.1em">Managed by '''[[User:{{{htuser}}}|{{{manager}}}]]'''</td></tr>|<tr><td colspan=3 align=center style="font-size:1.1em">Managed by '''{{{manager}}}'''</td></tr>}}|{{#if:{{{htuser|}}}|<tr><td colspan=3 align=center style="font-size:1.1em">Managed by '''[[User:{{{htuser}}}|{{{htuser}}}]]'''</td></tr>}}}}<!--


INFO
INFO


--><tr><td align=center colspan=2 style="background: #e3e3e3; 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|}}}| {{infobox/row|label=Full name|data={{{fullname}}}}}|}}{{#if:{{{shortname|}}}|{{infobox/row|label=Short name|data={{{shortname}}}}}|}}{{#if:{{{nickname|}}}| {{infobox/row|label=Nickname|data={{{nickname}}}}}|}}{{#if:{{{country|}}}|<tr><td>'''Location'''</td><td> {{#if:{{{region|}}}| [[{{{region}}}]]{{#if:{{{country|{{{region|}}}}}}|,&nbsp;|}}|}}{{Flag|{{{country}}}}}</td></tr>|}}}}{{#if:{{{continent|}}}|{{infobox/row|label=Geographical area|data={{{continent}}}}}|}}{{#if:{{{founded|}}}|{{infobox/row|label=Founded|data={{{founded}}}|}}{{#if:{{{arena|}}}|<tr><td>'''Stadium'''</td><td>{{{arena}}}&nbsp;{{#if:{{{seats|}}}|({{{seats|}}} seats)|}}</td></tr>|}}{{#if:{{{fanclub|{{{fansize|}}}}}}|<tr><td>'''Fan Club'''</td><td>{{#if:{{{fanclub|}}}|{{{fanclub}}}{{#if:{{{fansize|}}}|&nbsp;(|}}|}}{{#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|}}}}}}|,&nbsp;|}}|}}{{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}}}&nbsp;{{#if:{{{seats|}}}|({{{seats|}}} seats)|}}</td></tr>|}}{{#if:{{{fanclub|}}}|<tr><td bgcolor=#f3f3f3>'''Fan Club'''</td><td>{{#if:{{{fanclub|{{{fansize|}}}}}}|{{{fanclub}}}{{#if:{{{fansize|}}}|&nbsp;({{{fansize}}} members)}}|}}</td></tr>|}}<!--
 
RECORDS
 
-->{{#if:{{{first|}}}{{{biggestwin|}}}{{{worstdefeat|}}}|<tr><td align=center colspan=2 style="background: #ddd; border:1px #aaa solid">'''Records'''</td></tr>
{{#if:{{{first|}}}|<tr><td bgcolor=#f3f3f3>'''First game'''</td><td>{{{first}}}</td></tr>}}{{#if:{{{biggestwin|}}}|<tr><td bgcolor=#f3f3f3>'''Biggest win'''</td><td>{{{biggestwin}}}</td></tr>}}{{#if:{{{worstdefeat|}}}|<tr><td bgcolor=#f3f3f3>'''Worst defeat'''</td><td>{{{worstdefeat}}}</td></tr>}}}}<!--


COLOURS
COLOURS


-->{{#if:{{{kit1||{{{kit2|}}}}}}|<tr><td align=center colspan=2 style="background: #e3e3e3; border:1px #aaa solid">'''Team colours'''</td></tr>}}{{#if:{{{kit1||{{{kit2|}}}}}}|<tr><td align=center colspan=2>{{{kit1}}} {{{kit2}}}</td></tr>}}<!--
-->{{#if:{{{kit1||{{{kit2|}}}}}}|<tr><td align=center colspan=2 style="background: #ddd; border:1px #aaa solid">'''Team colours'''</td></tr>}}{{#if:{{{kit1||{{{kit2|}}}}}}|<tr><td align=center colspan=2>{{{kit1}}} {{{kit2}}}</td></tr>}}<!--


PRIZES
PRIZES


-->{{#if:{{{prizeshelf|}}}|<tr><td align=center colspan=2 style="background: #e3e3e3; border:1px #aaa solid">'''Prize shelf'''</td></tr>}}
-->{{#if:{{{prizeshelf|}}}|<tr><td align=center colspan=2 style="background: #ddd; border:1px #aaa solid">'''Prize shelf'''</td></tr>}}
{{#if:{{{prizeshelf|}}}|<tr><td align=center colspan=2>{{{prizeshelf}}}</td></tr>}}<!--
{{#if:{{{prizeshelf|}}}|<tr><td align=center colspan=2 style="background: #fff; border:1px solid lightgrey">{{{prizeshelf}}}</td></tr>}}<!--


YOUTH
YOUTH


-->{{#if:{{{yteam|}}}|<tr><td align=center colspan=2 style="background: #e3e3e3; border:1px #aaa solid">'''Youth Team'''</td></tr>}}
-->{{#if:{{{yteam|{{{yarena|}}}}}}|<tr><td align=center colspan=2 style="background: #ddd; border:1px #aaa solid">'''Youth Team'''</td></tr>}}{{#if:{{{yteam|}}}| <tr><td bgcolor=#f3f3f3>'''Team name'''</td><td>{{{yteam}}}</td></tr>|}}{{#if:{{{yarena|}}}|<tr><td bgcolor=#f3f3f3>'''Arena'''</td><td>{{{yarena}}}</td></tr>|}}{{#if:{{{yleague|}}}|<tr><td bgcolor=#f3f3f3>'''League'''</td><td>{{{yleague}}}</td></tr>|}}<!--
{{#if:{{{yteam|}}}|{{infobox/row|label=Team name|data={{{yteam}}}}}|}}{{#if:{{{yarena|}}}|{{infobox/row|label=Arena|data={{{yarena}}}}}|}}<!--
 
EDIT
EDIT


-->{{#if:{{{lastedit|}}}|<tr><td colspan=2 style="font-size:100%" >{{Template:Last Update|{{{lastedit}}}}}</td></tr>}}<!--
--></table><!--
--></table><!--


--><noinclude>{{documentation}}</noinclude><!--
--><noinclude>{{documentation}}</noinclude><!--
--><noinclude>[[Category:Club templates]]</noinclude>
--><noinclude>
[[Category:Club templates]]
[[Category:Infobox templates|Club]]
</noinclude>

Latest revision as of 04:29, 21 October 2024

Please, help us find this missing logo
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

}}
Shirayuri Sky (32048)
J. League Champion
Preceded by
Hokkaido (Bot)
Season 1
14 Times Succeeded by
vino rosso
Season 16
Managed by saheki
Club information
NicknameShirayuri
Location Tokyo Nippon
Geographic areaAsia
Founded10-06-2001
CoachJapan Taiyoh Kuwabara
StadiumShirayuri Skydome (200 000 seats)
Fan ClubThe Red Shoes (3 000+ members)
Team colours
http://res.hattrick.org/kits/1/8/80/79504/matchKitLarge.png http://res.hattrick.org/kits/1/9/87/86047/matchKitSmall.png
Prize shelf
The Emperor's Cup Winner
season 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
J. League National Champion
season 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
Youth Team
Team nameShirayuri Sky
ArenaThe Little Match Girl