Template:Group6: Difference between revisions

From Hattrick
Jump to navigationJump to search
Crazycompgeek (talk | contribs)
Created page with '{{table-begin}} {{group-header}} {{group-team |color={{#ifeq: {{{final}}}|yes|{{color-gold}}|{{color-default}}}} |team={{{1|}}}|played={{{2|}}}|win={{{3|}}}|draw={{{4|}}}|loss={{…'
 
Crazycompgeek (talk | contribs)
add advanced teams
 
Line 2: Line 2:
{{group-header}}
{{group-header}}
{{group-team
{{group-team
|color={{#ifeq: {{{final}}}|yes|{{color-gold}}|{{color-default}}}}
|color={{#ifeq: {{{final}}}|yes|{{color-gold}}|{{#ifexpr: {{{advanced|0}}}>0|{{color-advanced}}|{{color-default}}}}}}
|team={{{1|}}}|played={{{2|}}}|win={{{3|}}}|draw={{{4|}}}|loss={{{5|}}}|goalsfor={{{6|}}}|goalsagst={{{7|}}}|goalsdiff={{{8|}}}|points={{{9|}}}}}
|team={{{1|}}}|played={{{2|}}}|win={{{3|}}}|draw={{{4|}}}|loss={{{5|}}}|goalsfor={{{6|}}}|goalsagst={{{7|}}}|goalsdiff={{{8|}}}|points={{{9|}}}}}
{{group-team
{{group-team
|color={{#ifeq: {{{final}}}|yes|{{color-silver}}|{{color-default}}}}
|color={{#ifeq: {{{final}}}|yes|{{color-silver}}|{{#ifexpr: {{{advanced|1}}}>1|{{color-advanced}}|{{color-default}}}}}}
|team={{{10|}}}|played={{{11|}}}|win={{{12|}}}|draw={{{13|}}}|loss={{{14|}}}|goalsfor={{{15|}}}|goalsagst={{{16|}}}|goalsdiff={{{17|}}}|points={{{18|}}}}}
|team={{{10|}}}|played={{{11|}}}|win={{{12|}}}|draw={{{13|}}}|loss={{{14|}}}|goalsfor={{{15|}}}|goalsagst={{{16|}}}|goalsdiff={{{17|}}}|points={{{18|}}}}}
{{group-team
{{group-team
|color={{#ifeq: {{{final}}}|yes|{{color-bronze}}|{{color-default}}}}
|color={{#ifeq: {{{final}}}|yes|{{color-bronze}}|{{#ifexpr: {{{advanced|2}}}>2|{{color-advanced}}|{{color-default}}}}}}
|team={{{19|}}}|played={{{20|}}}|win={{{21|}}}|draw={{{22|}}}|loss={{{23|}}}|goalsfor={{{24|}}}|goalsagst={{{25|}}}|goalsdiff={{{26|}}}|points={{{27|}}}}}
|team={{{19|}}}|played={{{20|}}}|win={{{21|}}}|draw={{{22|}}}|loss={{{23|}}}|goalsfor={{{24|}}}|goalsagst={{{25|}}}|goalsdiff={{{26|}}}|points={{{27|}}}}}
{{group-team|team={{{28|}}}|played={{{29|}}}|win={{{30|}}}|draw={{{31|}}}|loss={{{32|}}}|goalsfor={{{33|}}}|goalsagst={{{34|}}}|goalsdiff={{{35|}}}|points={{{36|}}}}}
{{group-team|team={{{28|}}}|played={{{29|}}}|win={{{30|}}}|draw={{{31|}}}|loss={{{32|}}}|goalsfor={{{33|}}}|goalsagst={{{34|}}}|goalsdiff={{{35|}}}|points={{{36|}}}}}

Latest revision as of 20:42, 13 May 2010

Team Pld W D L GF GA GD Pts
                 
                 
                 
                 
                 
                 

[edit] Template documentation

Usage

This template can be used to create a group of 6 teams.

{{Group6
<!-- 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 |advanced=2}} in the last line will highlight the top 2 teams as advanced teams into the next round. 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.

See also