Template:Manager: Difference between revisions

From Hattrick
Jump to navigationJump to search
Para Para (talk | contribs)
m Blanked the page
Tag: Blanking
Para Para (talk | contribs)
No edit summary
Line 1: Line 1:
<noinclude>{| width=100% bgcolor= #ecfcf4
|
==Usage==
===Pattern for template update ===
To keep this template up to date, for every missing edition of World Cup add:
<pre>
|-
! [[World Cup ?number?|WC ?edition?]] {{Flagicon|?host?}} !!<small>?election?</small>
| {{#if:{{{WC?_votes_nolink|}}}|{{{WC?_votes_nolink}}}|[[{{{national}}} elections for 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}}}|Did not qualify}}
| {{#if:{{{CC?edition?result|}}}|{{{CC01result}}}|-}}
</pre>


Legend:
* '''WC?edition?_coach''' = name of elected manager 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.
<mark>Remember to add correct text between ?_? (for ''?number?'', ''?host?'', ''?edition?'', ''?election?'')</mark>
|}</noinclude><!--
Infotable for NT Managers
-->
{| class="toccolours sortable" style="text-align:left; font-size: 92%; border:2px solid {{{color1}}}"
|+ '''{{{national}}} NT Coaches History'''
|- bgcolor=#eeeeee
! Ed. / Host !! Election !! Votes !! Manager !!  World Cup Result !! Continental Cup
|-
! colspan=6 bgcolor={{{color2|white}}} |<!--
This template starts his function after U-20 WC 31 and transformation to WC format
-->
|-
! [[World Cup 33|WC 033]] {{Flaglink|VEN}}!! <small>21 May 2021</small>
| {{#if:{{{WC33_votes_nolink|}}}|{{{WC33_votes_nolink}}}|[[{{{national}}} elections for World Cup XXXIII|{{#if:{{{WC33_votes|}}}|{{{WC31_votes}}}|? / ?}}]]}}
| {{#if:{{{WC33_coach_nolink|}}}|{{{WC33_coach_nolink}}}|{{#if:{{{WC33_coach|}}}|[[User:{{{WC33_coach}}}|{{{WC33_coach}}}]]|''[[File:User.png]] [[Retired user|unknown]]''}} }}
| {{#if:{{{WC33result|}}}|{{{WC33result}}}|''Did not qualify''}}
| {{#if:{{{CC33result|}}}|{{{CC33result}}}|-}}
|-
|}
<noinclude>[[Category:National team templates]]</noinclude>

Revision as of 12:50, 30 July 2021

Usage

Pattern for template update

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

|-
! [[World Cup ?number?|WC ?edition?]] {{Flagicon|?host?}} !!<small>?election?</small> 
| {{#if:{{{WC?_votes_nolink|}}}|{{{WC?_votes_nolink}}}|[[{{{national}}} elections for 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}}}|Did not qualify}}
| {{#if:{{{CC?edition?result|}}}|{{{CC01result}}}|-}}

Legend:

  • WC?edition?_coach = name of elected manager 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 Coaches History
Ed. / Host Election Votes Manager World Cup Result Continental Cup
WC 033 Venezuela 21 May 2021 [[{{{national}}} elections for World Cup XXXIII|? / ?]] unknown Did not qualify -