Template:Round4/doc: Difference between revisions
From Hattrick
Jump to navigationJump to search
Created page with '==Usage== <pre> {{Round4 <!-- Date-Place/Team 1/Score 1/Team 2/Score 2 --> <!-- semi finals --> ||||| ||||| <!-- final --> ||||| <!-- parameters --> | }} </pre> Use the paramete…' |
No edit summary |
||
| Line 2: | Line 2: | ||
<pre> | <pre> | ||
{{Round4 | {{Round4 | ||
<!-- Date-Place/Team 1/Score 1/Team 2/Score 2 --> | <!-- Date-Place/[Seed 1]/Team 1/[Leg 11]/[Leg 12]/Score 1/[Seed 2]/Team 2/[Leg 21]/[Leg 22]/Score 2 --> | ||
<!-- semi finals --> | <!-- semi finals --> | ||
||||| | ||||| | ||
| Line 19: | Line 19: | ||
!Parameter value !! Description | !Parameter value !! Description | ||
|- bgcolor=#f9f9f9 | |- bgcolor=#f9f9f9 | ||
|''RD1=name''|| | |''RD1=name''||Rename Semi-finals to ''name''. | ||
|- bgcolor=#f9f9f9 | |- bgcolor=#f9f9f9 | ||
|''RD2=name''|| | |''RD2=name''||Rename Final to ''name''. | ||
|- bgcolor=#f9f9f9 | |||
|''Consol=name''||Rename Third place to ''name''. | |||
|- bgcolor=#f9f9f9 | |||
|''color=yes''||Add color for Gold, Silver & Bronze position. | |||
|- bgcolor=#f9f9f9 | |||
|''3rdplace=yes''||Add 3rd place match. | |||
|- bgcolor=#f9f9f9 | |||
|''semifinalwinner1=top''||Indicate winner of first semi-final (''top'' or ''bottom''). | |||
|- bgcolor=#f9f9f9 | |||
|''semifinalwinner2=bottom''||Indicate winner of second semi-final (''top'' or ''bottom''). | |||
|- bgcolor=#f9f9f9 | |||
|''finalwinner=top''||Indicate winner of final (''top'' or ''bottom''). | |||
|- bgcolor=#f9f9f9 | |||
|''3rdplacewinner=bottom''||Indicate 3rd place match (''top'' or ''bottom''). | |||
|} | |} | ||
Note: | |||
* 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== | ==See also== | ||
*[[Template:Round8]] | *[[Template:Round8]] | ||
<noinclude>[[Category: Template documentation]]</noinclude> | <noinclude>[[Category: Template documentation]]</noinclude> | ||
Revision as of 05:00, 26 March 2013
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 -->
|||||
<!-- 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. |
| 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:
- 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