Template:Infobox2012: Difference between revisions

From Hattrick
Jump to navigationJump to search
Para Para (talk | contribs)
No edit summary
Para Para (talk | contribs)
No edit summary
Line 12: Line 12:
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><!--
   -->{{#if:{{{fullname|}}}|{{infobox/row|label=Full name|data={{{fullname}}}}}|}}<!--
   -->{{#if:{{{fullname|}}}|<td style="background: #fff">{{infobox/row|label=Full name|data={{{fullname}}}}}|}}<!--
     -->{{#if:{{{shortname|}}}|{{infobox/row|label=Short name|data={{{shortname}}}}}|}}<!--
     -->{{#if:{{{shortname|}}}|{{infobox/row|label=Short name|data={{{shortname}}}}}|}}<!--
       -->{{#if:{{{nickname|}}}|{{infobox/row|label=Nickname|data={{{nickname}}}}}|}}<!--
       -->{{#if:{{{nickname|}}}|{{infobox/row|label=Nickname|data={{{nickname}}}}}|}}<!--
Line 22: 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 style="background: #fff">'''Stadium'''<td><!--
   -->{{#if:{{{arena|{{{seats|}}}}}}|<tr><td style="background: #fff">'''Stadium'''</td><!--
     -->{{#if:{{{arena|}}}|{{{arena}}}<!--
     -->{{#if:{{{arena|}}}|<td style="background: #fff">{{{arena}}}</td><!--
       -->{{#if:{{{seats|}}}|&nbsp;(|}}|}}{{#if:{{{seats|}}}|{{{seats|}}} seats)}}</tr>|}}<!--
       -->{{#if:{{{seats|}}}|<td style="background: #fff">&nbsp;(|}}|}}{{#if:{{{seats|}}}|{{{seats|}}} seats)}}</td></tr>|}}<!--
         -->}}<!--
         -->}}<!--
   -->{{#if:{{{fanclub|{{{fansize|}}}}}}|<tr><td style="background: #fff">'''Fan Club'''<td><!--
   -->{{#if:{{{fanclub|{{{fansize|}}}}}}|<tr><td style="background: #fff">'''Fan Club'''</td><!--
     -->{{#if:{{{fanclub|}}}|{{{fanclub}}}<!--
     -->{{#if:{{{fanclub|}}}|{{{fanclub}}}<!--
       -->{{#if:{{{fansize|}}}|&nbsp;(|}}|}}{{#if:{{{fansize|}}}|{{{fansize}}} members)}}</td></tr>|}}<!--
       -->{{#if:{{{fansize|}}}|&nbsp;(|}}|}}{{#if:{{{fansize|}}}|{{{fansize}}} members)}}</td></tr>|}}<!--

Revision as of 15:32, 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.