Template:Infobox Cup: Difference between revisions

From Hattrick
Jump to navigationJump to search
Lleida (talk | contribs)
mNo edit summary
Para Para (talk | contribs)
mNo edit summary
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<table class="infobox" style="float:right; font-size:88%;"><!--
<table class="infobox" style="float:right; font-size:88%;"><!--


=== Name, ID and Logo ===
=== Name and image ===
-->{{#if:{{{cupname|}}}|<caption>'''{{{cupname|}}}'''<!--  
-->{{#if:{{{cupname|}}}|<caption>'''{{{cupname|}}}'''<!--  
--></caption>|}}<!--
--></caption>|}}<!--
-->{{#if:{{{cupname|}}}|<tr><td colspan="2" align="center">[[Image:National Cup.PNG|link=]]</td></tr>|}}<!--


=== Additional Names ===
=== Symbol & Location ===
-->{{#if:{{{fullname|}}}|{{infobox/row|label=Full name|data={{{fullname}}}}}|}}<!--
-->{{#if:{{{cuplogo|}}}|<tr><td colspan=2 align=center>{{{cuplogo}}}</td></tr>|}}<!--
-->{{#if:{{{nickname|}}}|{{infobox/row|label=Nickname|data=''{{{nickname}}}''}}|}}<!--
-->{{#if:{{{country|}}}|<tr><td width=100px>'''Country'''</td><td>{{flag|{{{country}}}}}}}<!--


=== Dates ===
=== Number of teams ===
-->{{#if:{{{founded|}}}|<tr><td>'''Founded'''</td><td>{{{founded}}}</td></tr>|}}<!--
-->{{#if:{{{teams|}}}|{{infobox/row|label=Number of teams|data={{{teams}}}}}|}}<!--
-->{{#if:{{{abandoned|}}}|<tr><td>'''Abandoned'''</td><td>{{{abandoned}}}</td></tr>|}}<!--


=== Geographical Location and Group ===
=== Champions ===
-->{{#if:{{{region|{{{country|}}}}}}|<tr><td>'''Location'''</td><td><!--
-->{{#if:{{{lastchampions|}}}|{{infobox/row|label=Current Champions|data=[[{{{lastchampions}}}]] <br>{{{lastseason}}}}}|}}<!--
    -->{{#if:{{{region|}}}|{{{region}}}<!--
-->{{#if:{{{mostchampions|}}}|{{infobox/row|label=Most successful team|data={{{mostchampions}}}<br>{{{championships}}} titles}}|}}<!--
          -->{{#if:{{{country|}}}|<br>|}}<!--
    -->|}}<!--
    -->{{#if:{{{country|}}}|{{Flag|{{{country}}}}}|}}</td></tr>|<!--
-->}}<!--
-->{{#if:{{{league|}}}|{{infobox/row|label=League|data=[[{{{league}}} ({{{country}}})|{{{league}}}]]}}|}}<!--
 
=== Arena ===
-->{{#if:{{{arena|}}}|<tr><td>'''Arena'''</td><td>{{{arena}}}<!--
    -->{{#if:{{{capacity|}}}|&nbsp;(capacity {{{capacity}}})</td></tr>|}}<!--
-->|}}<!--
 
=== Board of directors ===
-->{{#if:{{{manager|}}}|{{infobox/row|label=Manager|data={{{manager}}}}}|}}<!--
-->{{#if:{{{htuser|}}}|{{infobox/row|label=Manager|data=[[User:{{{htuser}}}|{{{htuser}}}]]}}|}}<!--
 
=== Coach ===
-->{{#if:{{{coach|}}}|<tr><td>'''Coach'''</td><td><!--
    -->{{#if:{{{countrycoach|}}}|{{flagicon|{{{countrycoach}}}}}&nbsp;|}}<!--
-->[[{{{teamname}}}/{{{coach}}}|{{{coach}}}]]</td></tr>|}}<!--
 
=== Fan Club ===
-->{{#if:{{{fanclub|}}}|<tr><td>'''Fan Club'''</td><td>{{{fanclub}}}<!--
    -->{{#if:{{{fanclubsize|}}}|&nbsp;({{{fanclubsize}}} members)</td></tr>|}}<!--
-->|}}<!--
 
=== Web ===
-->{{#if:{{{web|}}}|{{infobox/row|label=Web|data=[{{{web}}} Club home page]}}|}}<!--
 
=== Match Kits ===
-->{{#if:{{{homematchkit|{{{awaymatchkit}}}}}}|<tr><td colspan="2" align="center"><!--
-->{{#if:{{{homematchkit|}}}|[[File:{{{homematchkit}}}|150px|Home colours]]|}}<!--
-->{{#if:{{{awaymatchkit|}}}|&nbsp;[[File:{{{awaymatchkit}}}|150px|Away colours]]|}}</td></tr>}}<!--


-->{{#if:{{{cupname|}}}|<tr><td colspan="2" align="center">{{cup}}</td></tr>|}}<!--
--></table><noinclude>
--></table><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 17:31, 19 October 2012

[edit] Template documentation

{{Infobox Cup
|             cupname = 
|             country = 
|             cuplogo =
|
|               teams = 
|       lastchampions = 
|          lastseason = 
|       mostchampions = 
|       championships = 
}}