Template:Round4: Difference between revisions
From Hattrick
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{| border=0 cellpadding=0 cellspacing=0 style="font-size: 90%; margin:1em 2em 1em 1em;" | {| border=0 cellpadding=0 cellspacing=0 style="font-size: 90%; margin:1em 2em 1em 1em;" | ||
| height=6| | | height=6| | ||
| align="center" {{RoundBased-colspan|seeded={{{seeded}}}|aggregated={{{aggregated1}}}}} style="border:1px solid #aaa;" bgcolor="#f2f2f2"|{{{RD1|Semi-finals}}} | | align="center" {{RoundBased-colspan|seeded={{{seeded|no}}}|aggregated={{{aggregated1|no}}}}} style="border:1px solid #aaa;" bgcolor="#f2f2f2"|{{{RD1|Semi-finals}}} | ||
| colspan="2"| | | colspan="2"| | ||
| align="center | | align="center" {{RoundBased-colspan|seeded={{{seeded|no}}}|aggregated={{{aggregated2|no}}}}} style="border:1px solid #aaa;" bgcolor="#f2f2f2"|{{{RD2|Final}}} | ||
|- | |- | ||
| height=6| | | height=6| | ||
| Line 24: | Line 24: | ||
|- | |- | ||
| height=6| | | height=6| | ||
| | | {{RoundBased-colspan|seeded={{{seeded|no}}}|aggregated={{{aggregated1|no}}}}} rowspan="2"|{{{{{BracketParameterNumber|key=match|number=1|seeded={{{seeded}}}|aggregated={{{aggregated1}}}}}| }}} | ||
| rowspan="4" style="border-width:0 0 1px 0; border-style: solid;border-color:black;"| | | rowspan="4" style="border-width:0 0 1px 0; border-style: solid;border-color:black;"| | ||
| rowspan="7" style="border-width:0 0 1px 0; border-style: solid;border-color:black;"| | | rowspan="7" style="border-width:0 0 1px 0; border-style: solid;border-color:black;"| | ||
| Line 33: | Line 33: | ||
| height=6| | | height=6| | ||
{{RoundBased-team | {{RoundBased-team | ||
|seeded={{{seeded}}} | |seeded={{{seeded|no}}} | ||
|aggregated={{{aggregated1}}} | |aggregated={{{aggregated1|no}}} | ||
|color={{{color}}} | |color={{{color|no}}} | ||
|3rdplace={{{3rdplace}}} | |3rdplace={{{3rdplace|no}}} | ||
|match=semifinal | |match=semifinal | ||
|winner={{#ifeq: {{{semifinalwinner1|}}}|top|yes|no}} | |winner={{#ifeq: {{{semifinalwinner1|}}}|top|yes|no}} | ||
|seed={{{{{BracketParameterNumber|key=seed1|number=1|seeded={{{seeded}}}|aggregated={{{aggregated1}}}}}|| }}} | |seed={{{{{BracketParameterNumber|key=seed1|number=1|seeded={{{seeded|no}}}|aggregated={{{aggregated1|no}}}}}|| }}} | ||
|team={{{{{BracketParameterNumber|key=team1|number=1|seeded={{{seeded}}}|aggregated={{{aggregated1}}}}}| }}} | |team={{{{{BracketParameterNumber|key=team1|number=1|seeded={{{seeded|no}}}|aggregated={{{aggregated1|no}}}}}| }}} | ||
|aggregate1={{{{{BracketParameterNumber|key=aggregate11|number=1|seeded={{{seeded}}}|aggregated={{{aggregated1}}}}}| }}} | |aggregate1={{{{{BracketParameterNumber|key=aggregate11|number=1|seeded={{{seeded|no}}}|aggregated={{{aggregated1|no}}}}}| }}} | ||
|aggregate2={{{{{BracketParameterNumber|key=aggregate12|number=1|seeded={{{seeded}}}|aggregated={{{aggregated1}}}}}| }}} | |aggregate2={{{{{BracketParameterNumber|key=aggregate12|number=1|seeded={{{seeded|no}}}|aggregated={{{aggregated1|no}}}}}| }}} | ||
|score={{{{{BracketParameterNumber|key=score1|number=1|seeded={{{seeded}}}|aggregated={{{aggregated1}}}}}| }}}}} | |score={{{{{BracketParameterNumber|key=score1|number=1|seeded={{{seeded|no}}}|aggregated={{{aggregated1|no}}}}}| }}}}} | ||
|- | |- | ||
| height=6| | | height=6| | ||
Revision as of 01:11, 27 March 2013
| 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