Difference between revisions of "Template:Infobox tournament"

From Hattrick
(added parameters)
Line 1: Line 1:
 
{{infobox/start|header={{{tournament}}}}}
 
{{infobox/start|header={{{tournament}}}}}
 +
{{#if:{{{local_name|}}}
 +
|{{infobox/row | data = {{{local_name}}} | datastyle = font-weight:bold; }}
 +
}}
 +
{{#if:{{{logo|}}}
 +
|{{infobox/row | data = {{{logo}}}}}
 +
}}
 
{{#if:{{{host|}}} {{{season|}}} {{{number_of_teams|}}}
 
{{#if:{{{host|}}} {{{season|}}} {{{number_of_teams|}}}
 
  |{{infobox/row | header = Tournament details }}
 
  |{{infobox/row | header = Tournament details }}

Revision as of 10:56, 21 May 2010

{{{tournament}}}

[edit] Template documentation

Usage

Cup format without bronze match

{{Infobox tournament
| tournament = 
| infobox_style = 
| local_name = 
| logo = 
| host = 
| season = 
| number_of_teams = 
| champions = 
| runner_up = 
| semi_finalists = 
| matches_played = 
| goals_scored = 
| top_scorer = 
| previous = 
| next = 
| notes_header = 
| notes = 
}}

Bronze settled in group format or cup match

{{Infobox tournament
| tournament = 
| infobox_style = 
| local_name = 
| logo = 
| host = 
| season = 
| number_of_teams = 
| champions = 
| runner_up = 
| third_place = 
| fourth_place = 
| matches_played = 
| goals_scored = 
| top_scorer = 
| previous = 
| next = 
| notes_header = 
| notes = 
}}