Template:Country: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 3: Line 3:
  |continent={{{continent|}}}
  |continent={{{continent|}}}
  |region={{{region|}}}
  |region={{{region|}}}
|historical_region={{{historical_region|}}}
  |area_sq_km={{{area_sq_km|}}}
  |area_sq_km={{{area_sq_km|}}}
  |population={{{population|}}}
  |population={{{population|}}}
Line 11: Line 12:
  |capital_city={{{capital_city|}}}
  |capital_city={{{capital_city|}}}
  |date_catholicism_introduced={{{date_catholicism_introduced|}}}
  |date_catholicism_introduced={{{date_catholicism_introduced|}}}
|catholicism_status={{{catholicism_status|}}}
  |ecclesiastical_provinces_count={{{ecclesiastical_provinces_count|}}}
  |ecclesiastical_provinces_count={{{ecclesiastical_provinces_count|}}}
  |dioceses_count={{{dioceses_count|}}}
  |dioceses_count={{{dioceses_count|}}}
  |patron_saints={{{patron_saints|}}}
  |patron_saints={{{patron_saints|}}}
|start_year={{{start_year|}}}
|end_year={{{end_year|}}}
|predecessor_states={{{predecessor_states|}}}
|successor_states={{{successor_states|}}}
}}
}}


{| class="wikitable" style="float:right; width:350px; background-color:#FFF8DC; border:1px solid #6B7280"
{| class="wikitable" style="float:right; width:350px; background-color:#FFF8DC; border:1px solid #6B7280"
| style="text-align: center; background-color:#1E3A8A; color:#FFFFFF" colspan="2" | '''Country: {{{country_name|}}}'''
| style="text-align: center; background-color:#1E3A8A; color:#FFFFFF" colspan="2" | '''Country: {{{country_name|}}}'''
|-
| style="background:#FFF8DC; color:#000000" align="right" | '''Existence:'''
| style="color:#000000" | {{{start_year|}}}–{{{end_year|}}}
|-
|-
| style="background:#FFF8DC; color:#000000" align="right" | '''Continent:'''
| style="background:#FFF8DC; color:#000000" align="right" | '''Continent:'''
Line 24: Line 33:
| style="background:#FFF8DC; color:#000000" align="right" | '''Region:'''
| style="background:#FFF8DC; color:#000000" align="right" | '''Region:'''
| style="color:#000000" | {{{region|}}}
| style="color:#000000" | {{{region|}}}
|-
| style="background:#FFF8DC; color:#000000" align="right" | '''Historical Region:'''
| style="color:#000000" | {{{historical_region|}}}
|-
|-
| style="background:#FFF8DC; color:#000000" align="right" | '''Area:'''
| style="background:#FFF8DC; color:#000000" align="right" | '''Area:'''
Line 37: Line 49:
| style="color:#000000" | {{{catholic_percentage|}}}%
| style="color:#000000" | {{{catholic_percentage|}}}%
|-
|-
| style="background:#FFF8DC; color:#000000" align="right" | '''Rank Among Religions:'''
| style="background:#FFF8DC; color:#000000" align="right" | '''Catholicism Status:'''
| style="color:#000000" | {{{rank_among_religions|}}}
| style="color:#000000" | {{{catholicism_status|}}}
|-
|-
| style="background:#FFF8DC; color:#000000" align="right" | '''Official Languages:'''
| style="background:#FFF8DC; color:#000000" align="right" | '''Official Languages:'''
Line 57: Line 69:
| style="background:#FFF8DC; color:#000000" align="right" | '''Patron Saints:'''
| style="background:#FFF8DC; color:#000000" align="right" | '''Patron Saints:'''
| style="color:#000000" | {{{patron_saints|}}}
| style="color:#000000" | {{{patron_saints|}}}
|-
| style="background:#FFF8DC; color:#000000" align="right" | '''Predecessor States:'''
| style="color:#000000" | {{{predecessor_states|}}}
|-
| style="background:#FFF8DC; color:#000000" align="right" | '''Successor States:'''
| style="color:#000000" | {{{successor_states|}}}
|}
|}
[[Category:Countries]]{{#if:{{{end_year|}}}|[[Category:Historic Countries]]|[[Category:Modern Countries]]}}
</includeonly><noinclude>
</includeonly><noinclude>
{{#cargo_declare:_table=Countries
{{#cargo_declare:_table=Countries
Line 63: Line 82:
  |continent=String
  |continent=String
  |region=String
  |region=String
  |area_sq_km=Integer
  |historical_region=String
|area area_sq_km=Integer
  |population=Integer
  |population=Integer
  |catholic_population=Integer
  |catholic_population=Integer
Line 71: Line 91:
  |capital_city=String
  |capital_city=String
  |date_catholicism_introduced=String
  |date_catholicism_introduced=String
|catholicism_status=String
  |ecclesiastical_provinces_count=Integer
  |ecclesiastical_provinces_count=Integer
  |dioceses_count=Integer
  |dioceses_count=Integer
  |patron_saints=String
  |patron_saints=String
|start_year=String
|end_year=String
|predecessor_states=String
|successor_states=String
}}
}}
{{#template_params:country_name|continent|region|area_sq_km|population|catholic_population|catholic_percentage|rank_among_religions|official_languages|capital_city|date_catholicism_introduced|ecclesiastical_provinces_count|dioceses_count|patron_saints}}
{{#template_params:country_name|continent|region|historical_region|area_sq_km|population|catholic_population|catholic_percentage|rank_among_religions|official_languages|capital_city|date_catholicism_introduced|catholicism_status|ecclesiastical_provinces_count|dioceses_count|patron_saints|start_year|end_year|predecessor_states|successor_states}}


== Usage ==
== Usage ==
This template is used to store and display key information about countries on Saintapedia.org, with a focus on the Catholic Church. It stores data in the Cargo table `Countries` and displays it in an infobox. Additional details (e.g., pilgrimage sites, cultural practices) are covered in the article text.
This template is used to store and display key information about modern and historic countries on Saintapedia.org, with a focus on the Catholic Church. It stores data in the Cargo table `Countries` and displays it in an infobox. Additional details (e.g., pilgrimage sites, cultural practices, full lists of predecessor/successor states) are covered in the article text.


=== Syntax ===
=== Syntax ===
Line 86: Line 111:
  | continent =  
  | continent =  
  | region =  
  | region =  
| historical_region =
  | area_sq_km =  
  | area_sq_km =  
  | population =  
  | population =  
Line 94: Line 120:
  | capital_city =  
  | capital_city =  
  | date_catholicism_introduced =  
  | date_catholicism_introduced =  
| catholicism_status =
  | ecclesiastical_provinces_count =  
  | ecclesiastical_provinces_count =  
  | dioceses_count =  
  | dioceses_count =  
  | patron_saints =  
  | patron_saints =  
| start_year =
| end_year =
| predecessor_states =
| successor_states =
}}
}}
</pre>
</pre>


=== Example ===
=== Example: Modern Country ===
<pre>
<pre>
{{Country
{{Country
Line 108: Line 139:
  | area_sq_km = 2381741
  | area_sq_km = 2381741
  | population = 46000000
  | population = 46000000
| | catholic_population = 5000
  | catholic_population = 5000
  | catholic_percentage = 0.01
  | catholic_percentage = 0.01
  | rank_among_religions = Catholicism is a minor religion, with Islam being the dominant faith (99%).
  | rank_among_religions = Catholicism is a minor religion, with Islam being the dominant faith (99%).
Line 117: Line 148:
  | dioceses_count = 4
  | dioceses_count = 4
  | patron_saints = Saint Augustine of Hippo
  | patron_saints = Saint Augustine of Hippo
}}
</pre>
=== Example: Historic Country ===
<pre>
{{Country
| country_name = Holy Roman Empire
| continent = Europe
| historical_region = Central Europe
| area_sq_km = 1000000
| population = 20000000
| catholic_population = 15000000
| catholic_percentage = 75
| catholicism_status = State religion under multiple emperors
| official_languages = Latin, German
| capital_city = Aachen
| date_catholicism_introduced = 4th century AD
| patron_saints = Saint Boniface
| start_year = 800 AD
| end_year = 1806 AD
| predecessor_states = Frankish Empire
| successor_states = Austrian Empire, Prussia
}}
}}
</pre>
</pre>
Line 122: Line 175:
== Fields ==
== Fields ==
* '''country_name''': Official name of the country.
* '''country_name''': Official name of the country.
* '''continent''': Continent (e.g., Africa).
* '''continent''': Continent (e.g., Europe, Africa).
* '''region''': Region (e.g., North Africa, Sub-Saharan Africa).
* '''region''': Modern region (e.g., North Africa); leave blank for historic countries if inapplicable.
* '''area_sq_km''': Land area in square kilometers.
* '''historical_region''': Historical region (e.g., Gaul, Central Europe); used for historic countries.
* '''population''': Estimated population.
* '''area_sq_km''': Land area in square kilometers (approximate for historic countries).
* '''catholic_population''': Number of Catholics.
* '''population''': Estimated population (modern or historical).
* '''catholic_population''': Number of Catholics (modern or historical estimate).
* '''catholic_percentage''': Percentage of population that is Catholic.
* '''catholic_percentage''': Percentage of population that is Catholic.
* '''rank_among_religions''': Catholicism’s position relative to other religions.
* '''rank_among_religions''': Catholicism’s position relative to other religions (modern countries).
* '''official_languages''': Official languages (comma-separated).
* '''official_languages''': Official languages (comma-separated).
* '''capital_city''': Capital city.
* '''capital_city''': Capital city or primary seat of government.
* '''date_catholicism_introduced''': Year/century Catholicism was introduced.
* '''date_catholicism_introduced''': Year/century Catholicism was introduced.
* '''ecclesiastical_provinces_count''': Number of ecclesiastical provinces.
* '''catholicism_status''': Role of Catholicism (e.g., “State religion”, “Minority religion”); max 150 characters, especially for historic countries.
* '''dioceses_count''': Total number of dioceses.
* '''ecclesiastical_provinces_count''': Number of ecclesiastical provinces (modern countries).
* '''patron_saints''': Patron saints of the country (comma-separated).
* '''dioceses_count''': Total number of dioceses (modern countries).
* '''patron_saints''': Patron saints (comma-separated).
* '''start_year''': Year or century the country was established (e.g., “27 BC”, “9th century”).
* '''end_year''': Year or century the country ceased to exist (leave blank for modern countries).
* '''predecessor_states''': Primary states that preceded the country (comma-separated, max 150 characters; full list in article text).
* '''successor_states''': Primary states that succeeded the country (comma-separated, max 150 characters; full list in article text).
 
</noinclude>
</noinclude>