Template:Infotable NT U-21 Coaches: Difference between revisions

From Hattrick
Jump to navigationJump to search
Para Para (talk | contribs)
No edit summary
Para Para (talk | contribs)
mNo edit summary
Line 33: Line 33:
! Ed. / Host !! Election !! Votes !! Manager !!  World Cup Result !! Continental Cup
! Ed. / Host !! Election !! Votes !! Manager !!  World Cup Result !! Continental Cup
|-
|-
! colspan=5 bgcolor={{{color2|white}}} |<!--
! colspan=6 bgcolor={{{color2|white}}} |<!--


This template starts his function after U-20 WC 31 and transformation to U-21 WC format
This template starts his function after U-20 WC 31 and transformation to U-21 WC format
Line 39: Line 39:
-->
-->
|-
|-
! [[U-21 World Cup 1|U-21 WC 01]] {{Flaglink|SUI}}!! <small>18 Jan 2021</small>
! [[U-21 World Cup 1|U-21 WC 01]] {{Flaglink|SUI}}!! <small>18 Jan. 2021</small>
| {{#if:{{{WC01_votes_nolink|}}}|{{{WC01_votes_nolink}}}|[[{{{national}}} elections for U-21 World Cup 1|{{#if:{{{WC01_votes|}}}|{{{WC31_votes}}}|? / ?}}]]}}
| {{#if:{{{WC01_votes_nolink|}}}|{{{WC01_votes_nolink}}}|[[{{{national}}} elections for U-21 World Cup 1|{{#if:{{{WC01_votes|}}}|{{{WC31_votes}}}|? / ?}}]]}}
| {{#if:{{{WC01_coach_nolink|}}}|{{{WC01_coach_nolink}}}|{{#if:{{{WC01_coach|}}}|[[User:{{{WC01_coach}}}|{{{WC01_coach}}}]]|''[[File:User.png]] [[Retired user|unknown]]''}} }}
| {{#if:{{{WC01_coach_nolink|}}}|{{{WC01_coach_nolink}}}|{{#if:{{{WC01_coach|}}}|[[User:{{{WC01_coach}}}|{{{WC01_coach}}}]]|''[[File:User.png]] [[Retired user|unknown]]''}} }}

Revision as of 10:38, 13 April 2021

Usage

Pattern for template update

To keep this template up to date, for every missing edition of World Cup add:

|-
! [[U-21 World Cup ?number?|U-21 WC ?edition?]] {{Flagicon|?host?}} !!<small>?election?</small> 
| {{#if:{{{WC?_votes_nolink|}}}|{{{WC?_votes_nolink}}}|[[{{{national}}} elections for U-21 World Cup ?number?|{{#if:{{{WC?edition?_votes|}}}|{{{WC?edition?_votes}}}|? / ?}}]]}}
| {{#if:{{{WC?edition?_coach|}}}|[[User:{{{WC?edition?_coach}}}|{{{WC?edition?_coach}}}]]|''unknown''}}
| {{#if:{{{WC?edition?result|}}}|{{{WC01result}}}|Eliminated in the Group stage}}
| {{#if:{{{CC?edition?result|}}}|{{{CC01result}}}|-}}

Legend:

  • WC?edition?_coach = name of elected coach for that WC.
  • WC?edition?_votes = add only if known: number of votes / total votes in national election.
  • WC?edition?result = final position in World Cup.
  • CC?edition?result = final position in Continental Cup.
  • national = (required!) "adjective" of nation (example: Italian, Polish, Oceanian, etc.).
  • color1 = optional, adds a color border outside table.
  • color2 = more optional color border inside the table.

Remember to add correct text between ?_? (for ?number?, ?host?, ?edition?, ?election?)

{{{national}}} NT U-21 Coaches History
Ed. / Host Election Votes Manager World Cup Result Continental Cup
U-21 WC 01 Switzerland 18 Jan. 2021 [[{{{national}}} elections for U-21 World Cup 1|? / ?]] unknown Eliminated in the Group stage -