Template:Club season results header: Difference between revisions

From Hattrick
Jump to navigationJump to search
Dalepopp (talk | contribs)
Created page with "<noinclude> This template generates the header rows for a club season-results table. The first parameter should match the team's CHPP '''LeagueName''' value. == Usage == <pre> {{Club season results header|<LeagueName>}} </pre> If the league/country is omitted or is not currently defined, the generic Hattrick cup names are used. == Example == {| class="prettytable" style="width:100%; text-align:center;" {{Club season results header}} |- | 95 | V.212 | 2nd | Roun..."
 
Dalepopp (talk | contribs)
No edit summary
 
Line 9: Line 9:
</pre>
</pre>


If the league/country is omitted or is not currently defined, the generic Hattrick cup names are used.
If the league/country or a specific cup name is not defined, the generic Hattrick cup name is used.


== Example ==
== Example ==
Line 29: Line 29:
! rowspan="2" | Series
! rowspan="2" | Series
! rowspan="2" | Finish
! rowspan="2" | Finish
! rowspan="2" style="background:#f6e3a1;" | {{Club season results header/data|{{{1|}}}|national}}
! rowspan="2" style="background:#f6e3a1;" | {{Club season results header/data|{{{1|}}}|national|National Cup}}
! colspan="3" | Challenger Cups
! colspan="3" | Challenger Cups
! rowspan="2" style="background:#d9d9d9;" | {{Club season results header/data|{{{1|}}}|consolation}}
! rowspan="2" style="background:#d9d9d9;" | {{Club season results header/data|{{{1|}}}|consolation|Consolation Cup}}
! rowspan="2" | Notes
! rowspan="2" | Notes
|-
|-
! style="background:#d9ead3;" | {{Club season results header/data|{{{1|}}}|emerald}}
! style="background:#d9ead3;" | {{Club season results header/data|{{{1|}}}|emerald|Emerald Cup}}
! style="background:#f4cccc;" | {{Club season results header/data|{{{1|}}}|ruby}}
! style="background:#f4cccc;" | {{Club season results header/data|{{{1|}}}|ruby|Ruby Cup}}
! style="background:#cfe2f3;" | {{Club season results header/data|{{{1|}}}|sapphire}}</includeonly>
! style="background:#cfe2f3;" | {{Club season results header/data|{{{1|}}}|sapphire|Sapphire Cup}}</includeonly>

Latest revision as of 14:41, 26 August 2026

This template generates the header rows for a club season-results table.

The first parameter should match the team's CHPP LeagueName value.

Usage

{{Club season results header|<LeagueName>}}

If the league/country or a specific cup name is not defined, the generic Hattrick cup name is used.

Example

Season Series Finish National Cup Challenger Cups Consolation Cup Notes
Emerald Cup Ruby Cup Sapphire Cup
95 V.212 2nd Round 2 — Round 3 — — Example note