Jump to content

Template:Infobox country: Difference between revisions

From Green Sea Wiki
No edit summary
No edit summary
 
(21 intermediate revisions by the same user not shown)
Line 7: Line 7:
<includeonly>
<includeonly>
{| class="infobox" style="width: 24em; font-size: 90%; text-align: left; border: 1px solid #aaa; background: #f9f9f9; float:right;"
{| class="infobox" style="width: 24em; font-size: 90%; text-align: left; border: 1px solid #aaa; background: #f9f9f9; float:right;"
|+ style="font-size: 125%;" | '''{{{conventional_long_name}}}'''
|-
| colspan="2" style="text-align: center; font-size: 125%;" | '''{{{conventional_long_name}}}'''
|-
|-
| colspan="2" style="text-align: center; font-size: 100%;" | ''{{{native_name|}}}'' ({{{native_lang|}}})
| colspan="2" style="text-align: center; font-size: 100%;" | ''{{{native_name|}}}'' ({{{native_lang|}}})
|-
|-
| colspan="2" style="text-align: center; font-size: 100%;" | ''{{{native2_name|}}}'' ({{{native2_lang|}}})
| colspan="2" style="text-align: center; font-size: 100%;" | ''{{{native2_name|}}}'' ({{{native2_lang|}}})
|-
! colspan="2" style="text-align: center;" | '''Flag'''
|-
| colspan="2" style="text-align: center;" | [[File:{{{flag|Placeholder_flag.png}}}|250px]]
|-
|-
| colspan="2" style="background:#ccc; height:1px;" |
| colspan="2" style="background:#ccc; height:1px;" |
Line 17: Line 22:
! colspan="2" style="text-align: center;" | '''Anthem:'''
! colspan="2" style="text-align: center;" | '''Anthem:'''
|-
|-
| colspan="2" style="text-align: center;" | ''{{{anthem_name|}}}''<br />{{{anthem_translit|}}}<br />''{{{anthem2_name|}}}''<br />{{{anthem2_translit|}}}<br />[[{{{anthem_english|}}}]]
| colspan="2" style="text-align: center;" | {{{anthem_name|}}}<br />{{{anthem2_name|}}}<br />''{{{anthem2_translit|}}}''<br />{{{anthem_english|}}}
|-
|-
| colspan="2" style="background:#ccc; height:1px;" |
| colspan="2" style="background:#ccc; height:1px;" |
Line 67: Line 72:
|-
|-
! Area
! Area
|-
| • Total:
| {{{area_km2|}}} km²
| {{{area_km2|}}} km²
|-
|-
! Population ({{{population_year|}}})
! Population ({{{population_year|}}})
| {{{population_estimate|}}}<br />Density: {{{population_density|}}}/km²
|-
| • Census:
| {{{population_estimate|}}}
|-
| • Density:
| {{{population_density|}}}/km²
|-
|-
! GDP (Nominal) ({{{gdp_year|}}})
! GDP (Nominal) ({{{gdp_year|}}})
| Total: {{{gdp_total|}}}<br />Per capita: {{{gdp_per_capita|}}}
|-
| • Total:
| {{{gdp_total|}}}
|-
| • Per capita:
| {{{gdp_per_capita|}}}
|-
|-
! GDP (PPP) ({{{gdp_ppp_year|}}})
! GDP (PPP) ({{{gdp_ppp_year|}}})
| Total: {{{gdp_ppp_total|}}}<br />Per capita: {{{gdp_ppp_per_capita|}}}
|-
|-
| colspan="2" style="background:#ccc; height:1px;" |
| • Total:
| {{{gdp_ppp_total|}}}
|-
| • Per capita:
| {{{gdp_ppp_per_capita|}}}
|-
|-
! Currency
! Currency
| {{{currency|}}}
| {{{currency|}}}
|-
| colspan="2" style="background:#ccc; height:1px;" |
|-
|-
! Time Zone
! Time Zone
Line 107: Line 129:
| native2_name = Second native name
| native2_name = Second native name
| native2_lang = Second native language
| native2_lang = Second native language
| flag = flag.png
| anthem_name = Native anthem name
| anthem_name = Native anthem name
| anthem_translit = Native translit
| anthem2_name = Second native name
| anthem2_name = Second native name
| anthem2_translit = Second native translit
| anthem2_translit = Second native translit
Line 152: Line 174:
         "native2_name": {"label": "Second native name", "type": "string"},
         "native2_name": {"label": "Second native name", "type": "string"},
         "native2_lang": {"label": "Second native language", "type": "string"},
         "native2_lang": {"label": "Second native language", "type": "string"},
        "flag": {"label": "Flag image filename", "type": "string"},
         "anthem_name": {"label": "Anthem name (native)", "type": "string"},
         "anthem_name": {"label": "Anthem name (native)", "type": "string"},
        "anthem_translit": {"label": "Anthem transliteration", "type": "string"},
         "anthem2_name": {"label": "Second anthem name", "type": "string"},
         "anthem2_name": {"label": "Second anthem name", "type": "string"},
         "anthem2_translit": {"label": "Second anthem transliteration", "type": "string"},
         "anthem2_translit": {"label": "Second anthem transliteration", "type": "string"},

Latest revision as of 02:42, 8 April 2025



Usage

Full English name
First native name (Native language)
Second native name (Second native language)
Flag
File:Flag.png
Anthem:
Native anthem name
Second native name
Second native translit
Anthem name english
Map
File:Map.png
Capital Capital
Largest city Big City
Official languages Languages
Recognised regional languages Regional Languages
Ethnic groups % then name
Religion (Year of the polling) Religion
Demonym(s) Demonym
Government
Type Type
• President President
• Prime Minister Prime-Minister
Formation Date
Area
• Total: Area in km2 km²
Population (Year of pop census)
• Census: Pop
• Density: Density/km²
GDP (Nominal) (GDP Year)
• Total: GDP total
• Per capita: GDP per capita
GDP (PPP) (GDP PPP Year)
• Total: GDP PPP total
• Per capita: GDP PPP per capita
Currency Currency
Time Zone UTC+/-
Calling code +xxx
ISO 3166 code code
Internet TLD .xx



Infobox for a country styled like Wikipedia's infobox, with optional sections that automatically hide if empty.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Conventional long nameconventional_long_name

no description

Stringoptional
Native namenative_name

no description

Stringoptional
Native languagenative_lang

no description

Stringoptional
Second native namenative2_name

no description

Stringoptional
Second native languagenative2_lang

no description

Stringoptional
Flag image filenameflag

no description

Stringoptional
Anthem name (native)anthem_name

no description

Stringoptional
Second anthem nameanthem2_name

no description

Stringoptional
Second anthem transliterationanthem2_translit

no description

Stringoptional
Anthem (English) page linkanthem_english

no description

Stringoptional
Map image filenamemap

no description

Stringoptional
Capitalcapital

no description

Stringoptional
Largest citylargest_city

no description

Stringoptional
Official languagesofficial_languages

no description

Stringoptional
Recognised regional languagesregional_languages

no description

Stringoptional
Ethnic groupsethnic_groups

no description

Stringoptional
Religion census yearreligion_year

no description

Stringoptional
Religionreligion

no description

Stringoptional
Demonym(s)demonym

no description

Stringoptional
Government typegovernment_type

no description

Stringoptional
Presidentpresident

no description

Stringoptional
Prime Ministerprime_minister

no description

Stringoptional
Formationformation

no description

Stringoptional
Area (km²)area_km2

no description

Numberoptional
Population census yearpopulation_year

no description

Stringoptional
Population estimatepopulation_estimate

no description

Stringoptional
Population densitypopulation_density

no description

Stringoptional
GDP census yeargdp_year

no description

Stringoptional
GDP Total (Nominal)gdp_total

no description

Stringoptional
GDP Per Capita (Nominal)gdp_per_capita

no description

Stringoptional
GDP PPP census yeargdp_ppp_year

no description

Stringoptional
GDP Total (PPP)gdp_ppp_total

no description

Stringoptional
GDP Per Capita (PPP)gdp_ppp_per_capita

no description

Stringoptional
Currencycurrency

no description

Stringoptional
Time Zonetime_zone

no description

Stringoptional
Calling Codecalling_code

no description

Stringoptional
ISO 3166 codeiso_code

no description

Stringoptional
Internet TLDcctld

no description

Stringoptional