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 1: Line 1:
<table 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:{{{masters|}}}|<!--
    -->{{s-start|header=[[Hattrick_Masters_Winners|WINNER OF HATTRICK MASTERS]]}}|{{succession box|before=<SMALL>[[{{{bmasters}}}]]|bseasons=Season {{{bseasons}}}|title=[[Hattrick Masters {{{masters}}}|CHAMPION]]|seasons=Season 42|after=<SMALL>[[{{{amasters}}}]]|aseasons=Season {{{aseasons}}}}}}}<!--  
HEADER
HEADER
-->{{#if:{{{teamname|{{{clubname|}}}}}}|<caption>'''{{{teamname|{{{clubname}}}}}}'''<!--  
-->{{#if:{{{teamname|{{{clubname|}}}}}}|<caption>'''{{{teamname|{{{clubname}}}}}}'''<!--  
Line 7: Line 9:
     --><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><!--

Revision as of 22:32, 12 August 2012

|- valign="middle" | style="text-align:center;" rowspan="1" width="25%" | Preceded by
[[{{{bmasters}}}]]
Season {{{bseasons}}} | style="text-align:center; rowspan="1" width="50%" | [[Hattrick Masters {{{masters}}}|CHAMPION]]
Season 42 | style="text-align:center;" rowspan="1" width="25%" | Succeeded by
[[{{{amasters}}}]]
Season {{{aseasons}}}
}}
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.