Template:Infobox Country: Difference between revisions
From Hattrick
Jump to navigationJump to search
Added a field for the national cups... |
mNo edit summary |
||
| (42 intermediate revisions by 10 users not shown) | |||
| Line 1: | Line 1: | ||
< | <noinclude> | ||
{| width=100% bgcolor= #ecfcf4 border=0 | |||
| <u>Sample & Result:</u> | |||
| | |||
|- | |- | ||
| | | valign=top | | ||
{| style=" | {{Infobox Country | ||
| name_(english) = Sweden | |||
| style="border: | | full_local_name = Sverige | ||
| style="border: | | nation_code = 1 | ||
| image_logo = | |||
| image_flag = | |||
| image_coat = Coat_of_Arms_of_Sweden.PNG | |||
| image_map = Location_of_Sverige.PNG | |||
| zone = Northern Europe | |||
| link_to_map = http://maps.google.com/maps?f=q&hl=en&q=sverige&ie=UTF8&t=h&z=5&om=1 | |||
| continent = Asia, Africa and Oceania | |||
| season = 99 | |||
| number_of_teams = 10 920<br>(~ 7 250) | |||
| level_of_series = 6 | |||
| number_of_regions = 27 | |||
| currency = kr | |||
| parity = 100 kr = 10 US$ | |||
| htt_offset = +0 | |||
| footnotes = (*) since 30 August 1997, which is also the start of [[global season]]s counting. | |||
| top_serie_name = [[Allsvenskan]] | |||
| cup_name = [[Sverigecupen]] | |||
| national_trainer = ABC | |||
| u20_coach = XYZ}} | |||
<br><pre>{{Infobox Country | |||
| name_(english) = Sweden | |||
| full_local_name = Sverige | |||
| nation_code = 1 | |||
| image_logo = | |||
| image_flag = | |||
| image_coat = Coat_of_Arms_of_Sweden.PNG | |||
| image_map = Location_of_Sverige.PNG | |||
| zone = Northern Europe | |||
| link_to_map = http://maps.google.com/maps?f=q&hl=en&q=sverige&ie=UTF8&t=h&z=5&om=1 | |||
| continent = Asia, Africa and Oceania | |||
| season = 99 | |||
| number_of_teams = 10 920<br>(~ 7 250) | |||
| level_of_series = 6 | |||
| number_of_regions = 27 | |||
| currency = kr | |||
| parity = 100 kr = 10 US$ | |||
| htt_offset = +0 | |||
| footnotes = (*) since 30 August 1997, which is also the start of [[global season]]s counting. | |||
| top_serie_name = [[Allsvenskan]] | |||
| cup_name = [[Sverigecupen]] | |||
| cup_emerald = | |||
| cup_ruby = | |||
| cup_sapphire = | |||
| cup_consolation = | |||
| national_trainer = ABC | |||
| u20_coach = XYZ}} | |||
|}</pre> | |||
|- | |||
| bgcolor= #fff | <u>Code:</u> | |||
|}</noinclude>{{clear}} | |||
{| width=100% style="font-variant: small-caps; text-align: center; font-size: 105%; margin-top: 0; margin-bottom:.2em; " | |||
| width=18% | | |||
| width=16% style="background:#F3F3F3; border-top: 2px solid black; border-top-right-radius:9px; border-top-left-radius:9px; border-left: 1px solid black; border-bottom: 1px solid black; box-shadow: 5px 10px #888888;" | [[{{{full_local_name}}}{{!}}League]] | |||
| width=16% style="background:#FAFAFA; border-top: 2px solid black; border-top-right-radius:9px; border-top-left-radius:9px; border-left: 1px solid black; border-bottom: 1px solid black; box-shadow: 5px 10px #888888;" | <i>{{Country data {{{name_(english)}}}|NationalTeamUnder-20}}</i> | |||
| width=16% style="background:#FAFAFA; border-top: 2px solid black; border-top-right-radius:9px; border-top-left-radius:9px; border-left: 1px solid black; border-bottom: 1px solid black; box-shadow: 5px 10px #888888;" | {{Country data {{{name_(english)}}}|U-21NT}} | |||
| width=16% style="background:#FAFAFA; border-top: 2px solid black; border-top-right-radius:9px; border-top-left-radius:9px; border-left: 1px solid black; border-bottom: 1px solid black; border-right: 1px solid black; box-shadow: 5px 10px #888888;" | {{Country data {{{name_(english)}}}|NationalTeamtemplate}} | |||
| width=18% | | |||
|- | |||
| colspan=6 style="background:#CFEACF; border-radius:9px; margin-bottom:5px; margin-top:5px; padding-left: 5px; padding-right:4px; font-weight:bold; font-variant: small-caps; box-shadow: 1px 3px #888888;" | Hattrick Country | |||
|} | |} | ||
|- style="text-align: center;" | {| class=toccolours align="right" cellpadding="2" style="width: 29.5em; background: #CFEACF; border: 1px solid lightgrey; font-size: 92%; padding:0 20px 10px 20px; margin: 0 1em 1em 1em;" | ||
| | |+ <big><b>{{#if:{{{nation_code|}}}| [https://www.hattrick.org/en-us/World/Leagues/League.aspx?LeagueID={{{nation_code}}} {{{name_(english)}}}] | {{{name_(english)}}} }}</b></big> | ||
|- | |||
| style="text-align: center; vertical-align: middle; background: none; max-width: 11em;" | {{#if:{{{image_flag|}}}| [[Image:{{{image_flag}}}|130px|border|left|Flag of {{{name_(english)}}}]]|{{Flagfull|{{{full_local_name}}}|size=130px|link=Flag of {{{name_(english)}}}}}}} | |||
| style="background: none; text-align: center; vertical-align: middle; max-width: 10em;" | [[Image:{{#if:{{{image_coat|}}}|{{{image_coat}}}|Coat_of_Arms_of_{{{name_(english)}}}.PNG}}|x90px|right|Coat of Arms of {{{name_(english)}}}]] | |||
|- | |||
| colspan=2 | [[Image:{{#if:{{{image_map|}}}|{{{image_map}}}|Location_of_{{{full_local_name}}}.PNG}}|250px|thumb|center|link={{{link_to_map}}}|Location of {{{name_(english)}}} (link to '''Google map''')]] | |||
|- | |||
| colspan=2 style="text-align: center" | | |||
|- | |- | ||
| | | colspan=2 style="text-align: center" | [http://en.wikipedia.org/wiki/{{#if: {{{name_(wiki)|}}}|{{{name_(wiki)}}}|{{{name_(english)}}}}} Wikipedia page] | ||
|- | |- | ||
| | | '''Currency''' | ||
|[[Currencies|{{{currency}}}]]<br />{{{parity}}} | |||
|- | |- | ||
| ''' | | '''Time zone''' | ||
|{{{ | | [[Hattrick Time]] {{{htt_offset}}} | ||
|- | |- | ||
| '''Continent:''' | | '''Continent:''' | ||
|{{{continent}}} | |[[{{{continent}}}]] | ||
|- | |||
| style="padding:0 0px 10px 0px;" | | |||
|- | |||
| colspan=2 | <big><b>{{{name_(english)}}} HT [[Country]]</b></big> | |||
----- | |||
|- | |||
| '''[[Zone]]:'''<br /> | |||
|[[{{{zone}}}]] | |||
|- | |- | ||
| '''[[ | | '''Number of [[regions]]:''' | ||
|{{{ | |{{{number_of_regions}}} | ||
|- | |- | ||
| '''Number of [[Team|teams]] ( | | '''Current local [[season]]:''' | ||
|{{#if:{{{creation_season|}}}|{{#expr:floor{{#expr:{{JULIANDIFF|{{#time:Y}}|{{#time:m}}|{{#time:d}}|1997|6|1}} / 112 + 1 - {{{creation_season|}}}}}}}|{{{season}}}}} | |||
|- | |||
| '''Number of [[Team|teams]]: <br />(~ active)''' | |||
|{{{number_of_teams}}} | |{{{number_of_teams}}} | ||
|- | |- | ||
| Line 34: | Line 109: | ||
|{{{level_of_series}}} | |{{{level_of_series}}} | ||
|- | |- | ||
| '''Top series name:''' | |||
| '''Top | |||
|{{{top_serie_name}}} | |{{{top_serie_name}}} | ||
|- | |- | ||
| '''National [[Cup|cup]] | | '''National [[Cup|cup]]s:''' | ||
|{{{cup_name}}} | |{{{cup_name}}} (main) | ||
|- | |- | ||
| | | colspan=2 align=center | {{#if:{{{cup_emerald|}}}|{{{cup_emerald}}}|{{{full_local_name}}} Emerald Cup}} (challenger) | ||
|{{{ | |||
|- | |- | ||
| | | colspan=2 align=center | {{#if:{{{cup_ruby|}}}|{{{cup_ruby}}}|{{{full_local_name}}} Ruby Cup}} (challenger) | ||
|{{{ | |||
|- | |- | ||
| | | colspan=2 align=center | {{#if:{{{cup_sapphire|}}}|{{{cup_sapphire}}}|{{{full_local_name}}} Sapphire Cup}} (challenger) | ||
| | |||
|- | |- | ||
| | | colspan=2 align=center | {{#if:{{{cup_consolation|}}}|{{{cup_consolation}}}|{{{full_local_name}}} Consolation Cup}} (third tier) | ||
| | |||
|- | |- | ||
| colspan=2 | <small>{{{footnotes}}}</small> | | colspan=2 | <small>{{{footnotes}}}</small> | ||
|} | |- | ||
| style="padding:0 0px 10px 0px;" | | |||
|- | |||
| colspan=2 | {{#if: {{{national_trainer|}}}|<big><b>[[National team]]s</b></big>|}} | |||
----- | |||
|- | |||
| {{#if: {{{national_trainer|}}}| | |||
* [[National_team_{{{full_local_name}}}|National team {{{name_(english)}}}]] {{#if: {{{national_trainer|}}}|<br /><i>Current Coach:</i> {{{national_trainer}}}|}} | |||
|}} | |||
| rowspan=2 style="background: none; max-width: 10em;" align=right | {{#if:{{{image_logo|}}}|[[Image:{{{image_logo}}}|right|Logo of {{{name_(english)}}}]]|{{Flaglogo|{{{full_local_name}}}|size=80px}}}} | |||
|- | |||
| {{#if: {{{u20_coach|}}}| | |||
* [[National_team_U-20_{{{full_local_name}}}|NT U-20 {{{name_(english)}}}]] {{#if: {{{u20_coach|}}}|<br /><i>Current Coach:</i> {{{u20_coach}}}|}} | |||
|}} | |||
|}<noinclude>[[Category:Country templates]]</noinclude> | |||
Latest revision as of 11:59, 20 August 2020
| Sample & Result: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Infobox Country
| name_(english) = Sweden
| full_local_name = Sverige
| nation_code = 1
| image_logo =
| image_flag =
| image_coat = Coat_of_Arms_of_Sweden.PNG
| image_map = Location_of_Sverige.PNG
| zone = Northern Europe
| link_to_map = http://maps.google.com/maps?f=q&hl=en&q=sverige&ie=UTF8&t=h&z=5&om=1
| continent = Asia, Africa and Oceania
| season = 99
| number_of_teams = 10 920<br>(~ 7 250)
| level_of_series = 6
| number_of_regions = 27
| currency = kr
| parity = 100 kr = 10 US$
| htt_offset = +0
| footnotes = (*) since 30 August 1997, which is also the start of [[global season]]s counting.
| top_serie_name = [[Allsvenskan]]
| cup_name = [[Sverigecupen]]
| cup_emerald =
| cup_ruby =
| cup_sapphire =
| cup_consolation =
| national_trainer = ABC
| u20_coach = XYZ}}
|}
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Code: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| [[{{{full_local_name}}}|League]] | {{Country data {{{name_(english)}}}|NationalTeamUnder-20}} | {{Country data {{{name_(english)}}}|U-21NT}} | {{Country data {{{name_(english)}}}|NationalTeamtemplate}} | ||
| Hattrick Country | |||||
| {{country data {{{full_local_name}}} | country flagfull2 | variant= | altlink=Flag of {{{name_(english)}}} | size=130px
}} |
[[Image:Coat_of_Arms_of_{{{name_(english)}}}.PNG|x90px|right|Coat of Arms of {{{name_(english)}}}]] |
| [[Image:Location_of_{{{full_local_name}}}.PNG|250px|thumb|center|link={{{link_to_map}}}|Location of {{{name_(english)}}} (link to Google map)]] | |||||
| Wikipedia page | |||||
| Currency | {{{currency}}} {{{parity}}} | ||||
| Time zone | Hattrick Time {{{htt_offset}}} | ||||
| Continent: | [[{{{continent}}}]] | ||||
| {{{name_(english)}}} HT Country
| |||||
| Zone: |
[[{{{zone}}}]] | ||||
| Number of regions: | {{{number_of_regions}}} | ||||
| Current local season: | {{{season}}} | ||||
| Number of teams: (~ active) |
{{{number_of_teams}}} | ||||
| Level of series: | {{{level_of_series}}} | ||||
| Top series name: | {{{top_serie_name}}} | ||||
| National cups: | {{{cup_name}}} (main) | ||||
| {{{full_local_name}}} Emerald Cup (challenger) | |||||
| {{{full_local_name}}} Ruby Cup (challenger) | |||||
| {{{full_local_name}}} Sapphire Cup (challenger) | |||||
| {{{full_local_name}}} Consolation Cup (third tier) | |||||
| {{{footnotes}}} | |||||
|
| |||||
| {{country data {{{full_local_name}}} | country flag logo | size=80px | link=
}} | ||