Template:Infobox country: Difference between revisions
Content added Content deleted
Lawrencedepe (talk | contribs) mNo edit summary |
No edit summary |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 28: | Line 28: | ||
| image1 = {{#if:{{{image_coat|}}}{{{image_symbol|}}}{{{image_flag|}}}{{{image_flag2|}}} |
| image1 = {{#if:{{{image_coat|}}}{{{image_symbol|}}}{{{image_flag|}}}{{{image_flag2|}}} |
||
|{{infobox country/imagetable |
|{{infobox country/imagetable |
||
|image1a = {{#invoke:InfoboxImage|InfoboxImage|suppressplaceholder={{main other||no}}|image={{{image_flag|}}}|sizedefault= |
|image1a = {{#invoke:InfoboxImage|InfoboxImage|suppressplaceholder={{main other||no}}|image={{{image_flag|}}}|sizedefault=x75px|size={{{flag_width|{{{flag_size|}}}}}}|maxsize=250|border={{yesno |{{{flag_border|}}}|yes=yes|blank=yes}}|alt={{{alt_flag|{{{flag_alt|}}}}}}|title=Flag of {{{common_name|{{{name|{{{linking_name|{{PAGENAME}}}}}}}}}}}}} |
||
|image1b = {{#invoke:InfoboxImage|InfoboxImage|suppressplaceholder={{main other||no}}|image={{{image_flag2|}}}|sizedefault= |
|image1b = {{#invoke:InfoboxImage|InfoboxImage|suppressplaceholder={{main other||no}}|image={{{image_flag2|}}}|sizedefault=x75px|size={{{flag_width|}}}|maxsize=250|border={{yesno |{{{flag2_border|}}}|yes=yes|blank=yes}}|alt={{{alt_flag2|{{{flag_alt2|}}}}}}}} |
||
|caption1= {{#ifexist:{{if empty |{{{flag_type_article|}}} |{{{flag|}}} | {{if empty |{{{flag_type|}}} |Flag}} of {{if empty |{{{linking_name|}}} |{{{common_name|}}} |{{{name|}}} |{{PAGENAME}} }} }} |[[{{if empty |{{{flag_type_article|}}} |{{{flag|}}} |{{if empty |{{{flag_type|}}} |Flag}} of {{if empty |{{{linking_name|}}} |{{{common_name|}}} |{{{name|}}} |{{PAGENAME}} }} }}|{{if empty |{{{flag_caption|}}} |{{{flag_type|}}} |Flag}}]] |{{if empty |{{{flag_caption|}}} |{{{flag_type|}}} |Flag}} }} |
|caption1= {{#ifexist:{{if empty |{{{flag_type_article|}}} |{{{flag|}}} | {{if empty |{{{flag_type|}}} |Flag}} of {{if empty |{{{linking_name|}}} |{{{common_name|}}} |{{{name|}}} |{{PAGENAME}} }} }} |[[{{if empty |{{{flag_type_article|}}} |{{{flag|}}} |{{if empty |{{{flag_type|}}} |Flag}} of {{if empty |{{{linking_name|}}} |{{{common_name|}}} |{{{name|}}} |{{PAGENAME}} }} }}|{{if empty |{{{flag_caption|}}} |{{{flag_type|}}} |Flag}}]] |{{if empty |{{{flag_caption|}}} |{{{flag_type|}}} |Flag}} }} |
||
|image2 = {{#invoke:InfoboxImage|InfoboxImage|suppressplaceholder={{main other||no}}|image={{if empty|{{{image_coat|}}}|{{{image_symbol|}}}}} |size={{{symbol_width|{{{coa_size|}}}}}}|sizedefault= |
|image2 = {{#invoke:InfoboxImage|InfoboxImage|suppressplaceholder={{main other||no}}|image={{if empty|{{{image_coat|}}}|{{{image_symbol|}}}}} |size={{{symbol_width|{{{coa_size|}}}}}}|sizedefault=x75px|alt={{#if:{{{image_coat|}}}|{{{alt_coat|{{{coat_alt|}}}}}}|{{{alt_symbol|}}}}}|title={{{symbol_type|Coat of arms}}} of {{{common_name|{{{name|{{{linking_name|{{PAGENAME}}}}}}}}}}}}} |
||
|caption2= {{#ifexist:{{if empty |{{{symbol_type_article|}}} |{{{symbol|}}} |{{if empty |{{{symbol_type|}}} |Coat of arms}} of {{if empty |{{{linking_name|}}} |{{{common_name|}}} |{{{name|}}} |{{PAGENAME}} }} }} |[[{{if empty |{{{symbol_type_article|}}} |{{{symbol|}}} |{{if empty |{{{symbol_type|}}} |Coat of arms}} of {{if empty |{{{linking_name|}}} |{{{common_name|}}} |{{{name|}}} |{{PAGENAME}} }} }} | {{if empty |{{{symbol_type|}}} |Coat of arms}}]] |{{if empty |{{{symbol_type|}}} |Coat of arms}} }} |
|caption2= {{#ifexist:{{if empty |{{{symbol_type_article|}}} |{{{symbol|}}} |{{if empty |{{{symbol_type|}}} |Coat of arms}} of {{if empty |{{{linking_name|}}} |{{{common_name|}}} |{{{name|}}} |{{PAGENAME}} }} }} |[[{{if empty |{{{symbol_type_article|}}} |{{{symbol|}}} |{{if empty |{{{symbol_type|}}} |Coat of arms}} of {{if empty |{{{linking_name|}}} |{{{common_name|}}} |{{{name|}}} |{{PAGENAME}} }} }} | {{if empty |{{{symbol_type|}}} |Coat of arms}}]] |{{if empty |{{{symbol_type|}}} |Coat of arms}} }} |
||
}} }} |
}} }} |
||
Line 83: | Line 83: | ||
| data4 = {{#if:{{{image_map|}}} |
| data4 = {{#if:{{{image_map|}}} |
||
|{{#invoke:InfoboxImage|InfoboxImage|image={{{image_map|}}}|size= |
|{{#invoke:InfoboxImage|InfoboxImage|image={{{image_map|}}}|size=200px|upright=1.15|alt={{{alt_map|{{{image_map_alt|}}}}}}|title={{{map_caption|{{{image_map_caption|Location of {{{common_name|{{{name|{{{linking_name|{{PAGENAME}} }}} }}} }}} }}} }}} }}<!-- |
||
-->{{#if:{{{map_caption|{{{image_map_caption|}}}}}}|<div style="position:relative;top:0.3em;">{{{map_caption|{{{image_map_caption|}}}}}}</div>}} }} |
-->{{#if:{{{map_caption|{{{image_map_caption|}}}}}}|<div style="position:relative;top:0.3em;">{{{map_caption|{{{image_map_caption|}}}}}}</div>}} }} |
||
Line 169: | Line 169: | ||
| data18 = {{{languages2|}}} |
| data18 = {{{languages2|}}} |
||
| label19 = |
| label19 = Ethnic group|Ethnic groups <!-- |
||
-->{{#if:{{{ethnic_groups_year|}}} |<div style="font-weight:normal;display:inline;"> ({{{ethnic_groups_year}}}){{{ethnic_groups_ref|}}}</div>|<div style="font-weight:normal;display:inline;">{{{ethnic_groups_ref|}}}</div>}} |
-->{{#if:{{{ethnic_groups_year|}}} |<div style="font-weight:normal;display:inline;"> ({{{ethnic_groups_year}}}){{{ethnic_groups_ref|}}}</div>|<div style="font-weight:normal;display:inline;">{{{ethnic_groups_ref|}}}</div>}} |
||
| data19 = {{{ethnic_groups|}}} |
| data19 = {{{ethnic_groups|}}} |
||
Line 418: | Line 418: | ||
| rowclass101= mergedtoprow |
| rowclass101= mergedtoprow |
||
| label101= {{#ifeq:{{{micronation|}}}|yes|Claimed|}} |
| label101= {{#ifeq:{{{micronation|}}}|yes|Claimed|}} {{w|Gross domestic product|GDP}} <span style="font-weight:normal;">({{w|Purchasing power parity|PPP}})</span> |
||
| data101= {{#if:{{{GDP_PPP|}}}{{{GDP_PPP_per_capita|}}} |
| data101= {{#if:{{{GDP_PPP|}}}{{{GDP_PPP_per_capita|}}} |
||
|{{#if:{{{GDP_PPP_year|}}} |{{{GDP_PPP_year}}} }}estimate |
|{{#if:{{{GDP_PPP_year|}}} |{{{GDP_PPP_year}}} }}estimate |
||
Line 436: | Line 436: | ||
| rowclass104= mergedtoprow |
| rowclass104= mergedtoprow |
||
| label104= {{#ifeq:{{{micronation|}}}|yes|Claimed|}} |
| label104= {{#ifeq:{{{micronation|}}}|yes|Claimed|}} <span style="font-weight:normal;">GDP (nominal)</span> |
||
| data104= {{#if:{{{GDP_nominal|}}}{{{GDP_nominal_per_capita|}}} |
| data104= {{#if:{{{GDP_nominal|}}}{{{GDP_nominal_per_capita|}}} |
||
|{{#if:{{{GDP_nominal_year|}}} |{{{GDP_nominal_year}}} }}estimate |
|{{#if:{{{GDP_nominal_year|}}} |{{{GDP_nominal_year}}} }}estimate |
||
Line 454: | Line 454: | ||
}} |
}} |
||
| label107= |
| label107= {{w|Gini_coefficient|Gini}}{{#if:{{{Gini_year|}}} | <span style="font-weight:normal;">({{{Gini_year}}})</span>}} |
||
| data107= {{#if:{{{Gini|}}} |
| data107= {{#if:{{{Gini|}}} |
||
| {{#switch:{{{Gini_change|}}} |
| {{#switch:{{{Gini_change|}}} |
||
Line 488: | Line 488: | ||
-->}} |
-->}} |
||
| label108= |
| label108= {{w|Human Development Index|HDI}}{{#if:{{{HDI_year|}}} | <span style="font-weight:normal;">({{{HDI_year}}})</span>}} |
||
| data108= {{#if:{{{HDI|}}} |
| data108= {{#if:{{{HDI|}}} |
||
| {{#switch:{{{HDI_change|}}} |
| {{#switch:{{{HDI_change|}}} |
||
Line 525: | Line 525: | ||
| label109= {{#ifeq:{{{micronation|}}}|yes|Purported currency|Currency}} |
| label109= {{#ifeq:{{{micronation|}}}|yes|Purported currency|Currency}} |
||
| data109= {{#if:{{{currency|}}} |
| data109= {{#if:{{{currency|}}} |
||
| {{{currency}}} {{#if:{{{currency_code|}}} |
| {{{currency}}} {{#if:{{{currency_code|}}}}} |
||
}} |
}} |
||
Line 571: | Line 571: | ||
-->{{#if:{{{common_name|}}} |
-->{{#if:{{{common_name|}}} |
||
| {{#if:{{ISO 3166 code|{{{common_name}}}|nocat=true}} |
| {{#if:{{ISO 3166 code|{{{common_name}}}|nocat=true}} |
||
| |
| ISO 3166-2:{{ISO 3166 code|{{{common_name}}}}}|{{ISO 3166 code|{{{common_name}}}}} |
||
}} |
}} |
||
}} |
}} |
||
|#default = |
|#default = ISO 3166-2:{{uc:{{{iso3166code}}}}}|{{uc:{{{iso3166code}}}}} |
||
}} |
}} |
||
| label128= Internet TLD |
| label128= {{w|Country code top-level domain|Internet TLD}} |
||
| data128= {{{cctld|}}} |
| data128= {{{cctld|}}} |
||