Template:Infobox country: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Jukethatbox (talk | contribs) mNo edit summary |
||
| Line 106: | Line 106: | ||
| data10 = {{{official_languages|}}} | | data10 = {{{official_languages|}}} | ||
| rowclass11 = mergedrow | | rowclass11 = mergedrow | ||
| label11 = | | label11 = {{#if:{{{recognized_languages|}}}|Recognized|Recognised}} languages</span> | ||
| data11 = {{if empty| {{{recognized_languages|}}} | {{{recognised_languages|}}} }} | | data11 = {{if empty| {{{recognized_languages|}}} | {{{recognised_languages|}}} }} | ||
| rowclass12 = mergedrow | | rowclass12 = mergedrow | ||
| label12 = | | label12 = {{#if:{{{recognized_national_languages|}}}|Recognized|Recognised}} national languages</span> | ||
| data12 = {{if empty| {{{recognized_national_languages|}}} | {{{recognised_national_languages|}}} | {{{national_languages|}}} }} | | data12 = {{if empty| {{{recognized_national_languages|}}} | {{{recognised_national_languages|}}} | {{{national_languages|}}} }} | ||
| rowclass13 = mergedrow | | rowclass13 = mergedrow | ||
| label13 = | | label13 = {{#if:{{{recognized_regional_languages|}}}|Recognized|Recognised}} regional languages</span> | ||
| data13 = {{if empty| {{{recognized_regional_languages|}}} | {{{recognised_regional_languages|}}} | {{{regional_languages|}}} }} | | data13 = {{if empty| {{{recognized_regional_languages|}}} | {{{recognised_regional_languages|}}} | {{{regional_languages|}}} }} | ||
| Line 411: | Line 411: | ||
| rowclass76 = mergedtoprow | | rowclass76 = mergedtoprow | ||
| label76 = {{#ifeq:{{{micronation|}}}|yes|Claimed|}} [[Gross domestic product|GDP]] <span style="font-weight:normal;">([[Purchasing power parity|PPP]])</span> | | label76 = {{#ifeq:{{{micronation|}}}|yes|Claimed|}} [[w:Gross domestic product|GDP]] <span style="font-weight:normal;">([[Purchasing power parity|PPP]])</span> | ||
| data76 = {{#if:{{{GDP_PPP|}}}{{{GDP_PPP_per_capita|}}} | | data76 = {{#if:{{{GDP_PPP|}}}{{{GDP_PPP_per_capita|}}} | ||
|{{#if:{{{GDP_PPP_year|}}} |{{{GDP_PPP_year}}} }}estimate | |{{#if:{{{GDP_PPP_year|}}} |{{{GDP_PPP_year}}} }}estimate | ||
| Line 429: | Line 429: | ||
| rowclass79 = mergedtoprow | | rowclass79 = mergedtoprow | ||
| label79 = {{#ifeq:{{{micronation|}}}|yes|Claimed|}} [[Gross domestic product|GDP]] <span style="font-weight:normal;">(nominal)</span> | | label79 = {{#ifeq:{{{micronation|}}}|yes|Claimed|}} [[w:Gross domestic product|GDP]] <span style="font-weight:normal;">(nominal)</span> | ||
| data79 = {{#if:{{{GDP_nominal|}}}{{{GDP_nominal_per_capita|}}} | | data79 = {{#if:{{{GDP_nominal|}}}{{{GDP_nominal_per_capita|}}} | ||
|{{#if:{{{GDP_nominal_year|}}} |{{{GDP_nominal_year}}} }}estimate | |{{#if:{{{GDP_nominal_year|}}} |{{{GDP_nominal_year}}} }}estimate | ||
| Line 438: | Line 438: | ||
| data80 = {{#if:{{{GDP_nominal|}}} | | data80 = {{#if:{{{GDP_nominal|}}} | ||
|{{{GDP_nominal}}}<!-- | |{{{GDP_nominal}}}<!-- | ||
-->{{#if:{{{GDP_nominal_rank|}}} | ([[List of countries by GDP (nominal)|{{{GDP_nominal_rank}}}]])}} | -->{{#if:{{{GDP_nominal_rank|}}} | ([[w:List of countries by GDP (nominal)|{{{GDP_nominal_rank}}}]])}} | ||
}} | }} | ||
| rowclass81 = mergedbottomrow | | rowclass81 = mergedbottomrow | ||
| Line 447: | Line 447: | ||
}} | }} | ||
| label82 = [[Gini_coefficient|Gini]]{{#if:{{{Gini_year|}}} | <span style="font-weight:normal;">({{{Gini_year}}})</span>}} | | label82 = [[w:Gini_coefficient|Gini]]{{#if:{{{Gini_year|}}} | <span style="font-weight:normal;">({{{Gini_year}}})</span>}} | ||
| data82 = {{#if:{{{Gini|}}} | | data82 = {{#if:{{{Gini|}}} | ||
| {{#switch:{{{Gini_change|}}} | | {{#switch:{{{Gini_change|}}} | ||
| Line 481: | Line 481: | ||
-->}} | -->}} | ||
| label83 = [[Human Development Index|HDI]]{{#if:{{{HDI_year|}}} | <span style="font-weight:normal;">({{{HDI_year}}})</span>}} | | label83 = [[w:Human Development Index|HDI]]{{#if:{{{HDI_year|}}} | <span style="font-weight:normal;">({{{HDI_year}}})</span>}} | ||
| data83 = {{#if:{{{HDI|}}} | | data83 = {{#if:{{{HDI|}}} | ||
| {{#switch:{{{HDI_change|}}} | | {{#switch:{{{HDI_change|}}} | ||
| Line 526: | Line 526: | ||
|{{{time_zone|}}} <!-- | |{{{time_zone|}}} <!-- | ||
-->{{#if:{{{utc_offset|}}} | -->{{#if:{{{utc_offset|}}} | ||
|{{nowrap|([[Coordinated Universal Time|UTC]]{{{utc_offset}}})}}<!-- | |{{nowrap|([[w:Coordinated Universal Time|UTC]]{{{utc_offset}}})}}<!-- | ||
-->}} | -->}} | ||
}} | }} | ||
| rowclass86 = {{#if:{{{DST_note|}}} |mergedrow |mergedbottomrow}} | | rowclass86 = {{#if:{{{DST_note|}}} |mergedrow |mergedbottomrow}} | ||
| label86 = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">• Summer ([[Daylight saving time|DST]])</div> | | label86 = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">• Summer ([[w:Daylight saving time|DST]])</div> | ||
| data86 = {{#if:{{{time_zone_DST|}}}{{{DST|}}}{{{utc_offset_DST|}}} | | data86 = {{#if:{{{time_zone_DST|}}}{{{DST|}}}{{{utc_offset_DST|}}} | ||
|{{if empty| {{{time_zone_DST|}}} | {{{DST|}}} }} ([[Coordinated Universal Time|UTC]]{{{utc_offset_DST}}}) | |{{if empty| {{{time_zone_DST|}}} | {{{DST|}}} }} ([[Coordinated Universal Time|UTC]]{{{utc_offset_DST}}}) | ||
| Line 556: | Line 556: | ||
| data91 = {{{calling_code|}}} | | data91 = {{{calling_code|}}} | ||
| label92 = [[Patron saint]]{{#if:{{{patron_saints|}}}|s}} | | label92 = [[w:Patron saint|Patron saint]]{{#if:{{{patron_saints|}}}|s}} | ||
| data92 = {{if empty| {{{patron_saints|}}} | {{{patron_saint|}}} }} | | data92 = {{if empty| {{{patron_saints|}}} | {{{patron_saint|}}} }} | ||
Revision as of 09:29, 22 October 2023
- The following documentation is located at Template:Infobox country/doc. [edit]
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox
| This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here. |
This Infobox is for countries and nations.
Usage
{{Infobox country
| name =
| native_name =
| demonym =
| image_flag =
| image_map =
| image_map2 =
| motto =
| englishmotto =
| capital =
| largest_settlement =
| anthem =
| established =
| official_languages =
| recognized_languages =
| recognized_regional_languages =
| ethnic_groups =
| religion =
| patron_saints =
| status =
| loctext = [Location in latitude and longitude]
| population_estimate =
| GDP_nominal =
| GDP_nominal_per_capita =
| GDP_nominal_rank =
| GDP_PPP =
| GDP_PPP_per_capita =
| GDP_PPP_rank =
| Gini = [Gini coefficient, from >=60(very high) to 0(low)]
| Gini_rank =
| HDI = [Human Development Index, from 0(low) to 1(very high)
| HDI_rank =
| currency =
| calling_code =
| cctld = [Country domain extension]
| official_website =
| time_zone =
| date_format =
| government_type =
| legislature =
| upper house =
| lower house =
| area_km2 = [Area in square kilometres]
| population_density_km2 = [Population density in square kilometres]
}}