Template:Group4/doc: Difference between revisions
From Hattrick
Jump to navigationJump to search
Created page with '==Usage== This template should only be used to create other templates of 4 team groups with different color/line format (check "See also"). <pre> {{Group4 <!-- Team/Played/Win/D…' |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
==Usage== | ==Usage== | ||
This template | This template can be used to create a group of 4 teams. | ||
<pre> | <pre> | ||
{{Group4 | {{Group4 | ||
<!-- Team/Played/ | <!-- Team/Played/Wins/Draws/Losses/Goals for/Goals against/Goals difference/Points --> | ||
<!-- rows --> | <!-- rows --> | ||
|||||||||| | |||||||||| | ||
| Line 15: | Line 15: | ||
</pre> | </pre> | ||
Use the parameters listed below to customize the template. For example, putting <code>| | Use the parameters listed below to customize the template. For example, putting <code>|final=yes}}</code> in the last line will display the gold background for the first team, silver background for the second team and the bronze background for the third team. The following parameter values are acceptable: | ||
{ | {{table-begin}} | ||
|- bgcolor=#f2f2f2 | |- bgcolor=#f2f2f2 | ||
!Parameter value !! Description | ! Parameter value !! Description | ||
|- bgcolor=#f9f9f9 | |- bgcolor=#f9f9f9 | ||
|'' | |''advanced=num''|| Highlight the top ''num'' advanced teams (to the next round). | ||
|- bgcolor=#f9f9f9 | |- bgcolor=#f9f9f9 | ||
|'' | |''final=yes''|| The group is the final. No further competition. Top 3 teams are highlighted. | ||
{{table-end}} | |||
==See also== | ==See also== | ||
*[[Template: | *[[Template:Group6]]<noinclude> | ||
[[Category: Template documentation]] | |||
</noinclude> | |||
<noinclude>[[Category: Template documentation]]</noinclude> | |||
Latest revision as of 21:15, 13 May 2010
Usage
This template can be used to create a group of 4 teams.
{{Group4
<!-- Team/Played/Wins/Draws/Losses/Goals for/Goals against/Goals difference/Points -->
<!-- rows -->
||||||||||
||||||||||
||||||||||
||||||||||
<!-- parameters -->
|
}}
Use the parameters listed below to customize the template. For example, putting |final=yes}} in the last line will display the gold background for the first team, silver background for the second team and the bronze background for the third team. The following parameter values are acceptable:
| Parameter value | Description |
|---|---|
| advanced=num | Highlight the top num advanced teams (to the next round). |
| final=yes | The group is the final. No further competition. Top 3 teams are highlighted. |