Template:Infobox2012: Difference between revisions
From Hattrick
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<table class="infobox" id="toc" style="float:right; background:#fff; width:321px; text-align:left; font-size:88%; margin-left:1em; border-spacing:1"><!-- | <table class="infobox" id="toc" style="float:right; background:#fff; width:321px; text-align:left; font-size:88%; margin-left:1em; border-spacing:1"><!-- | ||
-->{{#if:{{{ | -->{{#if:{{{htmaster|}}}|<tr><td colspan="3" border="2" cellpadding="4" cellspacing="0" style="background:#F9F9F9; text-align:center; border:1px #AAA solid; margin:0.5em auto; border-collapse:collapse;">{{[[Hattrick_Masters_Winners|WINNER OF HATTRICK MASTERS]]}}</td></tr><!-- | ||
-->{{#if:{{{before|{{{bseasons|}}}}}}|{{s-bef|rowsl=1|before={{{before}}}|bseasons={{{bseasons}}}}}<!-- | |||
-->{{s-ttl|rowsm=1|title=[[Hattrick Masters {{{htmaster}}}|CHAMPION]]}}<!-- | |||
-->{{#if:{{{after|{{{aseasons|}}}}}}|{{s-aft|rowsr=1|after={{{after}}}|aseasons={{{aseasons}}}}}<!-- | |||
HEADER | HEADER | ||
-->{{#if:{{{teamname|{{{clubname|}}}}}}|<caption>'''{{{teamname|{{{clubname}}}}}}'''<!-- | -->{{#if:{{{teamname|{{{clubname|}}}}}}|<caption>'''{{{teamname|{{{clubname}}}}}}'''<!-- | ||
| Line 9: | Line 11: | ||
--><tr><td colspan="2" align="center" style="font-size:1.1em>Managed by '''{{{manager}}}'''</td></tr>|<!-- | --><tr><td colspan="2" align="center" style="font-size:1.1em>Managed by '''{{{manager}}}'''</td></tr>|<!-- | ||
-->{{#if:{{{htuser|}}}|<!-- | -->{{#if:{{{htuser|}}}|<!-- | ||
--><tr><td colspan="2" align="center" style="font-size:1.1em>Managed by '''[[User:{{{htuser}}}|{{{htuser}}}]]'''</td></tr>| | --><tr><td colspan="2" align="center" style="font-size:1.1em>Managed by '''[[User:{{{htuser}}}|{{{htuser}}}]]'''</td></tr>|}}<!-- | ||
INFO | INFO | ||
--><tr><td style="background: #e3e3e3" align=center colspan="2" >'''Club information'''</td></tr><!-- | --><tr><td style="background: #e3e3e3" align=center colspan="2" >'''Club information'''</td></tr><!-- | ||
| Line 42: | Line 44: | ||
EDIT | EDIT | ||
-->{{#if:{{{lastedit|}}}|<tr><td colspan="2" style="font-size:100%" >{{Template:Last Update|{{{lastedit}}}}}</td></tr>}}<!-- | -->{{#if:{{{lastedit|}}}|<tr><td colspan="2" style="font-size:100%" >{{Template:Last Update|{{{lastedit}}}}}</td></tr>}}<!-- | ||
--></table><noinclude> | --></table> | ||
{{documentation}} | <noinclude>{{documentation}}</noinclude> | ||
</noinclude> | <noinclude>[[Category:clubinfo templates]]</noinclude> | ||
Revision as of 23:10, 12 August 2012
{{#if:|{{#if:||- valign="middle"
| style="text-align:center;" rowspan="1" width="25%" | Preceded by
{{{before}}}
{{{bseasons}}}
| style="text-align:center; rowspan="1" width="50%" | [[Hattrick Masters {{{htmaster}}}|CHAMPION]]
{{#if:|| style="text-align:center;" rowspan="1" width="25%" | Succeeded by
{{{after}}}
{{{aseasons}}}
| {{WINNER OF HATTRICK MASTERS}} | ||
| Club information | ||
[edit]
Template documentation
Usage
{{Infobox2012
| lastedit =
| teamid =
| clubname = <!--required-->
| logourl = <!--[[image: |200px]]-->
| htuser = <!--active link-->
| nickname = <!--short name on match page-->
| shortname=
| region =
| country =
| continent=
| founded =
| arena =
| seats =
| fanclub =
| president= <!--shows link and picture with formula [[Image:{{{president}}}.jpg|thumb|left| [[User:{{{htuser}}}|{{{htuser}}}]] ]]-->
| chairman =
| coach = <!-- {{Flagicon|}}-->
| kit1 =
| kit2 = <!--<br><td align=center><span style="background-color:#f49; border:1px solid #000"> </span> <small> PINK </td> -->
| yteam =
| yarena =
| prizeshelf =
}}
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.