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 19: Line 19:
STAFF
STAFF


-->{{#if:{{{kit1||{{{kit2|}}}}}}|<tr><td align=center colspan=2 style="background: #e3e3e3; border:1px #aaa solid">'''Management'''</td></tr>{{#if:{{{President|}}}| {{infobox/row|label=Full name|data={{{President}}}}}|}}{{#if:{{{Chairman|}}}|{{infobox/row|label=Short name|data={{{Chairman}}}}}|}}{{#if:{{{Coach|}}}| {{infobox/row|label=Nickname|data={{{Coach}}}}}|}}}}<!--
-->{{#if:{{{President|{{{Coach|}}}}}}|<tr><td align=center colspan=2 style="background: #e3e3e3; border:1px #aaa solid">'''Management'''</td></tr>{{#if:{{{President|}}}| {{infobox/row|label=Full name|data={{{President}}}}}|}}{{#if:{{{Chairman|}}}|{{infobox/row|label=Short name|data={{{Chairman}}}}}|}}{{#if:{{{Coach|}}}| {{infobox/row|label=Nickname|data={{{Coach}}}}}|}}}}<!--


PRIZES
PRIZES
Line 33: Line 33:
EDIT
EDIT


-->{{#if:{{{lastedit|}}}|<tr><td colspan=2 style="font-size:100%" >{{Template:Last Update|{{{lastedit}}}}}</td></tr>}}</table>
-->{{#if:{{{lastedit|}}}|<tr><td colspan=2>{{Template:Last Update|{{{lastedit}}}}}</td></tr>}}</table>
<noinclude>{{documentation}}</noinclude>
<noinclude>{{documentation}}</noinclude>
<noinclude>[[Category:Club templates]]</noinclude>
<noinclude>[[Category:Club templates]]</noinclude>

Revision as of 08:40, 14 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.