Jump to content

Template:Infobox country: Difference between revisions

From Green Sea Wiki
No edit summary
No edit summary
 
(31 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!-- =========================== -->
<!-- =========================== -->
<!-- Green Sea Wiki Template Pack (MediaWiki) -->
<!-- Green Sea Wiki Template Pack (MediaWiki) -->
<!-- Version 2.9 - Safe Table Syntax with Escapes -->
<!-- Version 3.2 - Simplified Version without Auto-Hide -->
<!-- =========================== -->
<!-- =========================== -->


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|}}})
{{#if:{{{native2_name|}}}|{{!}}-  
|-
{{!}} 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="text-align: center;" | '''Anthem:'''
! colspan="2" style="text-align: center;" | '''Anthem:'''
|-
|-
| colspan="2" style="text-align: center;" | ''{{{anthem_name|}}}''<br />{{{anthem_translit|}}}{{#if:{{{anthem2_name|}}}|<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="text-align: center;" | '''Map'''
! colspan="2" style="text-align: center;" | '''Map'''
|-
|-
| colspan="2" style="text-align: center;" | [[File:{{{map|Placeholder_map.png}}}|250px]]
| colspan="2" style="text-align: center;" | [[File:{{{map|Placeholder_map.png}}}|250px]]
|-
| colspan="2" style="background:#ccc; height:1px;" |
|-
|-
! Capital
! Capital
Line 42: Line 53:
| {{{demonym|}}}
| {{{demonym|}}}
|-
|-
! Government
| colspan="2" style="background:#ccc; height:1px;" |
| {{{government_type|}}}{{#if:{{{president|}}}|<br />President: {{{president}}}}}{{#if:{{{prime_minister|}}}|<br />Prime Minister: {{{prime_minister}}}}}{{#if:{{{king|}}}|<br />King: {{{king}}}}}{{#if:{{{queen|}}}|<br />Queen: {{{queen}}}}}{{#if:{{{other_heads|}}}|<br />{{{other_heads}}}}}
|-
! colspan="2" | Government
|-
| style="width:40%" | Type
| {{{government_type|}}}
|-
| President
| {{{president|}}}
|-
| Prime Minister
| {{{prime_minister|}}}
|-
|-
! Formation
! Formation
| {{{formation|}}}
| {{{formation|}}}
|-
| colspan="2" style="background:#ccc; height:1px;" |
|-
|-
! 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|}}})
|-
| • 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 79: Line 124:


{{Infobox country
{{Infobox country
| conventional_long_name = Republic of Chernarus
| conventional_long_name = Full English name
| native_name = Республика Чернорусь
| native_name = First native name
| native_lang = Chernarussian
| native_lang = Native language
| native2_name = Czernorus
| native2_name = Second native name
| native2_lang = Czech
| native2_lang = Second native language
| anthem_name = Hymna Černarusi
| flag = flag.png
| anthem_translit = Hymna Chernarusi
| anthem_name = Native anthem name
| anthem2_name =  
| anthem2_name = Second native name
| anthem2_translit =  
| anthem2_translit = Second native translit
| anthem_english = Chernarus National Anthem
| anthem_english = Anthem name english
| map = Chernarus_map.png
| map = Map.png
| capital = Chernogorsk
| capital = Capital
| largest_city = Chernogorsk
| largest_city = Big City
| official_languages = Chernarussian, Russian
| official_languages = Languages
| regional_languages = Takistani
| regional_languages = Regional Languages
| ethnic_groups = 85% Chernarussian, 10% Russian, 5% others
| ethnic_groups = % then name
| religion_year = 2025
| religion_year = Year of the polling
| religion = Orthodox Christianity
| religion = Religion
| demonym = Chernarussian
| demonym = Demonym
| government_type = Semi-presidential republic
| government_type = Type
| president = Ivan B. Kaminski
| president = President
| prime_minister = Viktor P. Troska
| prime_minister = Prime-Minister
| king =  
| formation = Date
| queen =  
| area_km2 = Area in km2
| other_heads =  
| population_year = Year of pop census
| formation = 1991
| population_estimate = Pop
| area_km2 = 15,045
| population_density = Density
| population_year = 2025
| gdp_year = GDP Year
| population_estimate = 3,500,000
| gdp_total = GDP total
| population_density = 23
| gdp_per_capita = GDP per capita
| gdp_year = 2025
| gdp_ppp_year = GDP PPP Year
| gdp_total = $31.5 billion
| gdp_ppp_total = GDP PPP total
| gdp_per_capita = $9,000
| gdp_ppp_per_capita = GDP PPP per capita
| currency = Chernarussian Koruna (CHK)
| currency = Currency
| time_zone = UTC+3
| time_zone = UTC+/-
| calling_code = +378
| calling_code = +xxx
| iso_code = CH
| iso_code = code
| cctld = .ch
| cctld = .xx
}}
}}


Line 129: 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"},
Line 146: Line 191:
         "president": {"label": "President", "type": "string"},
         "president": {"label": "President", "type": "string"},
         "prime_minister": {"label": "Prime Minister", "type": "string"},
         "prime_minister": {"label": "Prime Minister", "type": "string"},
        "king": {"label": "King", "type": "string"},
        "queen": {"label": "Queen", "type": "string"},
        "other_heads": {"label": "Other heads of state", "type": "string"},
         "formation": {"label": "Formation", "type": "string"},
         "formation": {"label": "Formation", "type": "string"},
         "area_km2": {"label": "Area (km²)", "type": "number"},
         "area_km2": {"label": "Area (km²)", "type": "number"},
Line 157: Line 199:
         "gdp_total": {"label": "GDP Total (Nominal)", "type": "string"},
         "gdp_total": {"label": "GDP Total (Nominal)", "type": "string"},
         "gdp_per_capita": {"label": "GDP Per Capita (Nominal)", "type": "string"},
         "gdp_per_capita": {"label": "GDP Per Capita (Nominal)", "type": "string"},
        "gdp_ppp_year": {"label": "GDP PPP census year", "type": "string"},
        "gdp_ppp_total": {"label": "GDP Total (PPP)", "type": "string"},
        "gdp_ppp_per_capita": {"label": "GDP Per Capita (PPP)", "type": "string"},
         "currency": {"label": "Currency", "type": "string"},
         "currency": {"label": "Currency", "type": "string"},
         "time_zone": {"label": "Time Zone", "type": "string"},
         "time_zone": {"label": "Time Zone", "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