Template:Infobox Cup: Difference between revisions

From Hattrick
Jump to navigationJump to search
Para Para (talk | contribs)
No edit summary
Para Para (talk | contribs)
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
-->{{#if:{{{cupname|}}}|<caption>'''{{{cupname|}}}'''<!--  
-->{{#if:{{{cupname|}}}|<caption>'''{{{cupname|}}}'''<!--  
--></caption>|}}<!--
--></caption>|}}<!--
-->{{#if:{{{cupname|}}}|<tr><td colspan="2" align="center">{{cup}}</td></tr>|}}<!--


=== Symbol & Location ===
=== Symbol & Location ===
-->{{#if:{{{cuplogo|}}}|[[image:{{{cuplogo}}}]]|}}<!--
-->{{#if:{{{cuplogo|}}}|<tr><td colspan=2 align=center>{{{cuplogo}}}</td></tr>|}}<!--
-->{{#if:{{{country|}}}|<tr><td width=100px>'''Country'''</td><td>{{flag|{{{country}}}}}}}<!--
-->{{#if:{{{country|}}}|<tr><td width=100px>'''Country'''</td><td>{{flag|{{{country}}}}}}}<!--


Line 14: Line 13:


=== Champions ===
=== Champions ===
-->{{#if:{{{lastchampions|}}}|{{infobox/row|label=Current Champions|data=[[{{{lastchampions}}}]] <br>''{{{lastseason}}}''}}|}}<!--
-->{{#if:{{{lastchampions|}}}|{{infobox/row|label=Current Champions|data=[[{{{lastchampions}}}]] <br>{{{lastseason}}}}}|}}<!--
-->{{#if:{{{mostchampions|}}}|{{infobox/row|label=Most successful team|data=[[{{{mostchampions}}}]] <br>{{{championships}}} titles}}|}}<!--
-->{{#if:{{{mostchampions|}}}|{{infobox/row|label=Most successful team|data={{{mostchampions}}}<br>{{{championships}}} titles}}|}}<!--


-->{{#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 = 
}}