Template:Group4/doc: Difference between revisions

From Hattrick
Jump to navigationJump to search
Crazycompgeek (talk | contribs)
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…'
 
Crazycompgeek (talk | contribs)
Line 4: Line 4:
<pre>
<pre>
{{Group4
{{Group4
<!-- Team/Played/Win/Draw/Loss/Goals for/Goals against/Goals difference/Points -->
<!-- Team/Played/Wins/Draws/Losses/Goals for/Goals against/Goals difference/Points -->
<!-- rows -->
<!-- rows -->
||||||||||
||||||||||

Revision as of 23:19, 10 April 2010

Usage

This template should only be used to create other templates of 4 team groups with different color/line format (check "See also").

{{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 |color1=gold|color2=silver|color3=#cc9966}} 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
color1=color Change background color in row 1 to color.
color2=color Change background color in row 2 to color.
color3=color Change background color in row 3 to color.
color4=color Change background color in row 4 to color.
line1=width Change width (in px) of the line between in row 1 and 2 to width.
line2=width Change width (in px) of the line between in row 2 and 3 to width.
line3=width Change width (in px) of the line between in row 3 and 4 to width.
linecolor1=color Change color of the line between in row 1 and 2 to color.
linecolor1=color Change color of the line between in row 2 and 3 to color.
linecolor1=color Change color of the line between in row 3 and 4 to color.

See also