Template:Round4: Difference between revisions

From Hattrick
Jump to navigationJump to search
Crazycompgeek (talk | contribs)
fixed typo
Crazycompgeek (talk | contribs)
fixed typo
Line 58: Line 58:
| rowspan="{{#ifeq: {{{3rdplace|no}}}|yes|9|2}}" style="border-width:2px 0 0 0; border-style: solid;border-color:black;"| 
| rowspan="{{#ifeq: {{{3rdplace|no}}}|yes|9|2}}" style="border-width:2px 0 0 0; border-style: solid;border-color:black;"| 
|-
|-
{{#ifeq: {{{3rdplace|no}}}|yes|{{!}}height=6
{{#ifeq: {{{3rdplace|no}}}|yes|{{!}} height=6
{{!}}colspan="2" rowspan="2" align="center" style="border:1px solid #aaa;" bgcolor="#f2f2f2"{{!}}{{{Consol|Third place}}}
{{!}} colspan="2" rowspan="2" align="center" style="border:1px solid #aaa;" bgcolor="#f2f2f2"{{!}}{{{Consol|Third place}}}
{{!-}}
{{!-}}
{{!}}height=6
{{!}} height=6
{{!}}colspan="2" rowspan="7"{{!}} 
{{!}} colspan="2" rowspan="7"{{!}} 
{{!-}}
{{!-}}
{{!}}height=6
{{!}} height=6
{{!}}colspan="2" rowspan="2"{{!}}{{{16| }}}
{{!}} colspan="2" rowspan="2"{{!}}{{{16| }}}
{{!-}}
{{!-}}
{{!}}height=6
{{!}} height=6
{{!-}}
{{!-}}
{{!}}height=6
{{!}} height=6
{{!}}rowspan="2" style="border:1px solid #aaa;" bgcolor="{{#ifeq: {{{color|no}}}|yes|{{#ifeq: {{{3rdplacewinner|top}}}|top|{{{color-bronze}}}|#f9f9f9}}|#f9f9f9}}"{{!}} {{{17| }}}
{{!}} rowspan="2" style="border:1px solid #aaa;" bgcolor="{{#ifeq: {{{color|no}}}|yes|{{#ifeq: {{{3rdplacewinner|top}}}|top|{{{color-bronze}}}|#f9f9f9}}|#f9f9f9}}"{{!}} {{{17| }}}
{{!}}rowspan="2" align="center" style="border:1px solid #aaa;" bgcolor="{{#ifeq: {{{color|no}}}|yes|{{#ifeq: {{{3rdplacewinner|top}}}|top|{{{color-bronze}}}|#f9f9f9}}|#f9f9f9}}"{{!}} {{{18| }}}
{{!}} rowspan="2" align="center" style="border:1px solid #aaa;" bgcolor="{{#ifeq: {{{color|no}}}|yes|{{#ifeq: {{{3rdplacewinner|top}}}|top|{{{color-bronze}}}|#f9f9f9}}|#f9f9f9}}"{{!}} {{{18| }}}
{{!-}}
{{!-}}
{{!}}height=6
{{!}} height=6
{{!-}}
{{!-}}
{{!}}height=6
{{!}} height=6
{{!}}rowspan="2" style="border:1px solid #aaa;" bgcolor="{{#ifeq: {{{color|no}}}|yes|{{#ifeq: {{{3rdplacewinner|top}}}|top|#f9f9f9|{{{color-bronze}}} }}|#f9f9f9}}"{{!}} {{{19| }}}
{{!}} rowspan="2" style="border:1px solid #aaa;" bgcolor="{{#ifeq: {{{color|no}}}|yes|{{#ifeq: {{{3rdplacewinner|top}}}|top|#f9f9f9|{{{color-bronze}}} }}|#f9f9f9}}"{{!}} {{{19| }}}
{{!}}rowspan="2" align="center" style="border:1px solid #aaa;" bgcolor="{{#ifeq: {{{color|no}}}|yes|{{#ifeq: {{{3rdplacewinner|top}}}|top|#f9f9f9|{{{color-bronze}}} }}|#f9f9f9}}"{{!}} {{{20| }}}
{{!}} rowspan="2" align="center" style="border:1px solid #aaa;" bgcolor="{{#ifeq: {{{color|no}}}|yes|{{#ifeq: {{{3rdplacewinner|top}}}|top|#f9f9f9|{{{color-bronze}}} }}|#f9f9f9}}"{{!}} {{{20| }}}
{{!-}}
{{!-}}
{{!}}height=6
{{!}} height=6
}}
}}
|}
|}

Revision as of 02:53, 28 June 2010

Semi-finals   Final
           
       
     
 
       
     
 
         
     
 
       


[edit] Template documentation

Usage

{{Round4
<!-- Date-Place/[Seed 1]/Team 1/[Leg 11]/[Leg 12]/Score 1/[Seed 2]/Team 2/[Leg 21]/[Leg 22]/Score 2 -->
<!-- semi finals -->
|||||
|||||
<!-- final -->
|||||
<!-- 3rd place -->
|||||
<!-- parameters -->
|
}}

Use the parameters listed below to customize the template. For example, putting |RD1=Final Four|RD2=Championship}} in the last line will rename the 1st round to "Final Four" and the 2nd round to "Championship". The following parameter values are acceptable:

Parameter value Description
RD1=name Rename Semi-finals to name.
RD2=name Rename Final to name.
Consol=name Rename Third place to name.
seeded=yes Add seeds in front of each team.
aggregated1=yes Added two legged scores for semi-finals.
aggregated2=yes Added two legged scores for final/3rd place.
color=yes Add color for Gold, Silver & Bronze position.
3rdplace=yes Add 3rd place match.
semifinalwinner1=top Indicate winner of first semi-final (top or bottom).
semifinalwinner2=bottom Indicate winner of second semi-final (top or bottom).
finalwinner=top Indicate winner of final (top or bottom).
3rdplacewinner=bottom Indicate 3rd place match (top or bottom).

Note:

  • [Seed 1] and [Seed 2] game data are required when seeded=yes and omitted when seeded=no
  • [Leg 11], [Leg 12], [Leg 21], [Leg 22] are required when aggregated1=yes (semi-finals)and/or aggregated2=yes (final/3rd place match) and omitted when no
  • 3rd place game data is only needed when 3rdplace=yes
  • finalwinner is only needed when color=yes
  • 3rdplacewinner is only needed when 3rdplace=yes and color=yes
  • semifinalwinner1 and semifinalwinner2 are only needed when 3rdplace=no and color=yes

See also