Template:Infobox tournament: Difference between revisions

From Hattrick
Jump to navigationJump to search
Jhattara (talk | contribs)
Undo revision 160590 by Jhattara (Talk)
Jhattara (talk | contribs)
added parameter ''top_scorer''
Line 36: Line 36:
   }}
   }}
}}
}}
{{#if:{{{matches_played|}}} {{{goals_scored|}}}
{{#if:{{{matches_played|}}} {{{goals_scored|}}} {{{top_scorer|}}}
  |{{infobox/row | header = Tournament statistics }}
  |{{infobox/row | header = Tournament statistics }}
   {{#if:{{{matches_played|}}}
   {{#if:{{{matches_played|}}}
Line 43: Line 43:
   {{#if:{{{goals_scored|}}}
   {{#if:{{{goals_scored|}}}
   |{{infobox/row | label = Goals scored | data = {{{goals_scored}}} }}
   |{{infobox/row | label = Goals scored | data = {{{goals_scored}}} }}
  }}
  {{#if:{{{top_scorer|}}}
  |{{infobox/row | label = Top scorer | data = {{{top_scorer}}} }}
   }}
   }}
}}
}}

Revision as of 13:11, 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 = 
}}