Template:Infotable NT Coaches/doc: Difference between revisions
From Hattrick
Jump to navigationJump to search
No edit summary |
mNo edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
==Usage== | ==Usage== | ||
===Pattern for update | ===Pattern for template update === | ||
To | To keep this template up to date, for every missing edition of World Cup add: | ||
<pre> | <pre> | ||
|- | |- | ||
! [[World Cup ?roman number?|WC ?edition?]] {{Flagicon|?host?}} | ! [[World Cup ?roman number?|WC ?edition?]] {{Flagicon|?host?}} !!<small>?election?</small> | ||
| | | {{#if:{{{WC31_votes_nolink|}}}|{{{WC31_votes_nolink}}}|[[{{{national}}} elections for World Cup ?roman number?|{{#if:{{{WC?edition?_votes|}}}|{{{WC?edition?_votes}}}|? / ?}}]]}} | ||
| [[{{{national}}} elections for World Cup ?roman number?|{{#if:{{{WC?edition?_votes|}}}|{{{WC?edition?_votes}}}|? / ?}}]] | | {{#if:{{{WC?edition?_coach|}}}|[[User:{{{WC?edition?_coach}}}|{{{WC?edition?_coach}}}]]|''unknown''}} | ||
| {{#if:{{{WC?edition?result|}}}|{{{WC?edition?result}}}|Eliminated in the Group stage}} | | {{#if:{{{WC?edition?result|}}}|{{{WC?edition?result}}}|Eliminated in the Group stage}} | ||
</pre> | </pre> | ||
Legend: | 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''' = NT final position. | |||
* WC?edition?_votes | * '''national''' = (required!) "adjective" of nation (example: Italian, Polish, Oceanian, etc.). | ||
* WC?edition?result | * '''color1''' = optional, adds a color border outside table. | ||
* '''color2''' = more optional color border inside the table. | |||
Remember to add correct text between ?_? (for ''?roman number?'', ''?host?'', ''?edition?'') | <mark>Remember to add correct text between ?_? (for ''?roman number?'', ''?host?'', ''?edition?'', ?election?)</mark> | ||
===Pattern to fill in === | === Pattern to fill in === | ||
In a NT page add: | In a new NT page add: | ||
<pre> | <pre> | ||
{{Infotable NT Coaches| | {{Infotable NT Coaches| | ||
| national = | | national = | ||
| | | color1 = | ||
| color2 = | |||
| Line 42: | Line 44: | ||
| WC28_coach = | | WC28_coach = | ||
| WC28_votes = | | WC28_votes = | ||
| WC28result = | | WC28result = | ||
| WC27_coach = | | WC27_coach = | ||
| Line 130: | Line 132: | ||
| WC06_coach = | | WC06_coach = | ||
| WC06_votes = | | WC06_votes = | ||
| | | WC06result = | ||
| WC05_coach = | | WC05_coach = | ||
| Line 141: | Line 143: | ||
| WC03_coach = | | WC03_coach = | ||
| WC03_votes = | | WC03_votes = | ||
| WC03result = | | WC03result = | ||
| WC02_coach = | | WC02_coach = | ||
| Line 152: | Line 154: | ||
| WC01result = | | WC01result = | ||
}}</pre> | }}</pre> | ||
Then compile | Then compile! | ||
Latest revision as of 15:14, 26 January 2020
Usage
Pattern for template update
To keep this template up to date, for every missing edition of World Cup add:
|-
! [[World Cup ?roman number?|WC ?edition?]] {{Flagicon|?host?}} !!<small>?election?</small>
| {{#if:{{{WC31_votes_nolink|}}}|{{{WC31_votes_nolink}}}|[[{{{national}}} elections for World Cup ?roman number?|{{#if:{{{WC?edition?_votes|}}}|{{{WC?edition?_votes}}}|? / ?}}]]}}
| {{#if:{{{WC?edition?_coach|}}}|[[User:{{{WC?edition?_coach}}}|{{{WC?edition?_coach}}}]]|''unknown''}}
| {{#if:{{{WC?edition?result|}}}|{{{WC?edition?result}}}|Eliminated in the Group stage}}
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 = NT final position.
- 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 ?roman number?, ?host?, ?edition?, ?election?)
Pattern to fill in
In a new NT page add:
{{Infotable NT Coaches|
| national =
| color1 =
| color2 =
| WC31_coach =
| WC31_votes =
| WC31result = ''in progress''
| WC30_coach =
| WC30_votes =
| WC30result =
| WC29_coach =
| WC29_votes =
| WC29result =
| WC28_coach =
| WC28_votes =
| WC28result =
| WC27_coach =
| WC27_votes =
| WC27result =
| WC26_coach =
| WC26_votes =
| WC26result =
| WC25_coach =
| WC25_votes =
| WC25result =
| WC24_coach =
| WC24_votes =
| WC24result =
| WC23_coach =
| WC23_votes =
| WC23result =
| WC22_coach =
| WC22_votes =
| WC22result =
| WC21_coach =
| WC21_votes =
| WC21result =
| WC20_coach =
| WC20_votes =
| WC20result =
| WC19_coach =
| WC19_votes =
| WC19result =
| WC18_coach =
| WC18_votes =
| WC18result =
| WC17_coach =
| WC17_votes =
| WC17result =
| WC16_coach =
| WC16_votes =
| WC16result =
| WC15_coach =
| WC15_votes =
| WC15result =
| WC14_coach =
| WC14_votes =
| WC14result =
| WC13_coach =
| WC13_votes =
| WC13result =
| WC12_coach =
| WC12_votes =
| WC12result =
| WC11_coach =
| WC11_votes =
| WC11result =
| WC10_coach =
| WC10_votes =
| WC10result =
| WC09_coach =
| WC09_votes =
| WC09result =
| WC08_coach =
| WC08_votes =
| WC08result =
| WC07_coach =
| WC07_votes =
| WC07result =
| WC06_coach =
| WC06_votes =
| WC06result =
| WC05_coach =
| WC05_votes =
| WC05result =
| WC04_coach =
| WC04_votes =
| WC04result =
| WC03_coach =
| WC03_votes =
| WC03result =
| WC02_coach =
| WC02_votes =
| WC02result =
| WC01_coach =
| WC01_votes =
| WC01result =
}}
Then compile!