Template:Infobox2012: Difference between revisions
From Hattrick
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
-->{{#if:{{{teamid|}}}| ([http://www.hattrick.org/Club/?TeamID={{{teamid}}} {{{teamid}}}])|}}<!-- | -->{{#if:{{{teamid|}}}| ([http://www.hattrick.org/Club/?TeamID={{{teamid}}} {{{teamid}}}])|}}<!-- | ||
--></caption>|}}<!-- | --></caption>|}}<!-- | ||
-->{{#if:{{{logourl|}}}|<tr><td colspan="2" align="center">{{{logourl}}}</td></tr>|}}<!-- | -->{{#if:{{{logourl|}}}|<tr><td colspan="2" align="center" style="background: #fff">{{{logourl}}}</td></tr>|}}<!-- | ||
-->{{#if:{{{manager|}}}|<!-- | -->{{#if:{{{manager|}}}|<!-- | ||
--><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; background: #fff">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; background: #fff">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 23: | Line 22: | ||
-->{{#if:{{{continent|}}}|{{infobox/row|label=Geographical area|data={{{continent}}}|}}<!-- | -->{{#if:{{{continent|}}}|{{infobox/row|label=Geographical area|data={{{continent}}}|}}<!-- | ||
-->{{#if:{{{founded|}}}|{{infobox/row|label=Founded|data={{{founded}}}|}}<!-- | -->{{#if:{{{founded|}}}|{{infobox/row|label=Founded|data={{{founded}}}|}}<!-- | ||
-->{{#if:{{{arena|{{{seats|}}}}}}|<tr><td>'''Stadium''' | -->{{#if:{{{arena|{{{seats|}}}}}}|<tr><td style="background: #fff">'''Stadium'''<td><!-- | ||
-->{{#if:{{{arena|}}}|{{{arena}}}<!-- | -->{{#if:{{{arena|}}}|{{{arena}}}<!-- | ||
-->{{#if:{{{seats|}}}| (|}}|}}{{#if:{{{seats|}}}|{{{seats|}}} seats)}} | -->{{#if:{{{seats|}}}| (|}}|}}{{#if:{{{seats|}}}|{{{seats|}}} seats)}}</tr>|}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{fanclub|{{{fansize|}}}}}}|<tr><td>'''Fan Club''' | -->{{#if:{{{fanclub|{{{fansize|}}}}}}|<tr><td style="background: #fff">'''Fan Club'''<td><!-- | ||
-->{{#if:{{{fanclub|}}}|{{{fanclub}}}<!-- | -->{{#if:{{{fanclub|}}}|{{{fanclub}}}<!-- | ||
-->{{#if:{{{fansize|}}}| (|}}|}}{{#if:{{{fansize|}}}|{{{fansize}}} members)}}</td></tr>|}}<!-- | -->{{#if:{{{fansize|}}}| (|}}|}}{{#if:{{{fansize|}}}|{{{fansize}}} members)}}</td></tr>|}}<!-- | ||
| Line 33: | Line 32: | ||
COLOURS | COLOURS | ||
-->{{#if:{{{kit1||{{{kit2|}}}}}}|<tr><td align=center style="background: #e3e3e3" colspan="2" >'''Team colours'''</td></tr>}}<!-- | -->{{#if:{{{kit1||{{{kit2|}}}}}}|<tr><td align=center style="background: #e3e3e3" colspan="2" >'''Team colours'''</td></tr>}}<!-- | ||
-->{{#if:{{{kit1||{{{kit2|}}}}}}|<tr><td colspan="2" >{{{kit1}}} {{{kit2}}}</td></tr>}}<!-- | -->{{#if:{{{kit1||{{{kit2|}}}}}}|<tr><td colspan="2" style="background: #fff">{{{kit1}}} {{{kit2}}}</td></tr>}}<!-- | ||
PRIZES | PRIZES | ||
-->{{#if:{{{prizeshelf|}}}|<tr><td align=center style="background: #e3e3e3" colspan="2" >'''Prize shelf'''</td></tr>}}<!-- | -->{{#if:{{{prizeshelf|}}}|<tr><td align=center style="background: #e3e3e3" colspan="2" >'''Prize shelf'''</td></tr>}}<!-- | ||
-->{{#if:{{{prizeshelf|}}}|<tr><td align=center colspan="2" >{{{prizeshelf}}}</tr>}}<!-- | -->{{#if:{{{prizeshelf|}}}|<tr><td align=center colspan="2" style="background: #fff">{{{prizeshelf}}}</tr>}}<!-- | ||
YOUTH | YOUTH | ||
-->{{#if:{{{yteam|}}}|<tr><td align=center style="background: #e3e3e3" colspan="2" >'''Youth Team'''</td></tr>}}<!-- | -->{{#if:{{{yteam|}}}|<tr><td align=center style="background: #e3e3e3" colspan="2" >'''Youth Team'''</td></tr>}}<!-- | ||
Revision as of 15:29, 12 August 2012
| 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.