Template:Infobox settlement: Difference between revisions

From WikiMD's Wellness Encyclopedia

CSV import
No edit summary
 
Line 1: Line 1:
 
<includeonly>
{{Infobox
{| class="infobox"
| name                    = {{{name|}}}
|+ '''{{{name|{{PAGENAME}}}}}'''
| official_name          = {{{official_name|}}}
<!-- General Information -->
| native_name            = {{{native_name|}}}
|-
| native_name_lang      = {{{native_name_lang|}}}
| colspan="2" style="background:#EFEFEF; text-align:center;" | General Information
| settlement_type        = {{{settlement_type|}}}
|-
| image_skyline          = {{{image_skyline|}}}
| Name || {{{official_name|{{PAGENAMEBASE}}}}}
| image_alt              = {{{image_alt|}}}
|-
| image_caption          = {{{image_caption|}}}
| Native Name || {{#if:{{{native_name|}}}|<div lang="{{{native_name_lang|}}}">{{{native_name}}}</div>}}
| image_flag            = {{{image_flag|}}}
|-
| flag_alt              = {{{flag_alt|}}}
| Other Names || {{{other_name|}}}
| image_seal            = {{{image_seal|}}}
|-
| seal_alt              = {{{seal_alt|}}}
| Settlement Type || {{{settlement_type|{{{type|}}}}}}
| image_shield          = {{{image_shield|}}}
<!-- Transliteration -->
| shield_alt            = {{{shield_alt|}}}
|-
| image_blank_emblem    = {{{image_blank_emblem|}}}
| colspan="2" style="background:#EFEFEF; text-align:center;" | Transliteration
| blank_emblem_alt      = {{{blank_emblem_alt|}}}
|-
| nickname              = {{{nickname|}}}
| Language 1 || {{{translit_lang1|}}}
| motto                  = {{{motto|}}}
|-
| coordinates            = {{{coordinates|}}}
| Type 1 || {{{translit_lang1_type|}}}
| subdivision_type      = {{{subdivision_type|}}}
|-
| subdivision_name      = {{{subdivision_name|}}}
| Info 1 || {{{translit_lang1_info|}}}
| established_title      = {{{established_title|}}}
<!-- Location and Coordinates -->
| established_date      = {{{established_date|}}}
|-
| area_total_km2        = {{{area_total_km2|}}}
| colspan="2" style="background:#EFEFEF; text-align:center;" | Location
| area_land_km2          = {{{area_land_km2|}}}
|-
| area_water_km2        = {{{area_water_km2|}}}
| Coordinates || {{{coordinates|}}}
| population_total      = {{{population_total|}}}
|-
| population_as_of      = {{{population_as_of|}}}
| Map || {{#if:{{{pushpin_map|}}}|[[File:{{{pushpin_map}}}|250px]]}}
| population_density_km2 = {{{population_density_km2|}}}
<!-- Population -->
| timezone              = {{{timezone|}}}
|-
| utc_offset            = {{{utc_offset|}}}
| colspan="2" style="background:#EFEFEF; text-align:center;" | Population
| website                = {{{website|}}}
|-
}}
| Total || {{{population_total|}}}
 
|-
<!-- Template documentation -->
| Density || {{{population_density_km2|}}} per km²
<!-- Area -->
|-
| colspan="2" style="background:#EFEFEF; text-align:center;" | Area
|-
| Total || {{{area_total_km2|}}} km²
|-
| Land || {{{area_land_km2|}}} km²
|-
| Water || {{{area_water_km2|}}} km²
<!-- Government -->
|-
| colspan="2" style="background:#EFEFEF; text-align:center;" | Government
|-
| Type || {{{government_type|}}}
|-
| Leader || {{{leader_name|}}}
<!-- Time Zones -->
|-
| colspan="2" style="background:#EFEFEF; text-align:center;" | Time Zone
|-
| Standard || UTC{{{utc_offset|}}}
|-
| DST || UTC{{{utc_offset_DST|}}}
|-
|}
</includeonly>
<noinclude>
<noinclude>
== Usage ==
{{documentation}}
This template is used to create an infobox for settlements. It can be used to display information about cities, towns, or other types of settlements.
<!-- Categories go in /doc -->
 
=== Parameters ===
* '''name''': The name of the settlement.
* '''official_name''': The official name of the settlement.
* '''native_name''': The native name of the settlement.
* '''native_name_lang''': The language of the native name.
* '''settlement_type''': The type of settlement (e.g., city, town).
* '''image_skyline''': An image of the settlement's skyline.
* '''image_alt''': Alt text for the skyline image.
* '''image_caption''': A caption for the skyline image.
* '''image_flag''': An image of the settlement's flag.
* '''flag_alt''': Alt text for the flag image.
* '''image_seal''': An image of the settlement's seal.
* '''seal_alt''': Alt text for the seal image.
* '''image_shield''': An image of the settlement's shield.
* '''shield_alt''': Alt text for the shield image.
* '''image_blank_emblem''': An image of a blank emblem.
* '''blank_emblem_alt''': Alt text for the blank emblem image.
* '''nickname''': A nickname for the settlement.
* '''motto''': The motto of the settlement.
* '''coordinates''': The coordinates of the settlement.
* '''subdivision_type''': The type of subdivision (e.g., country, state).
* '''subdivision_name''': The name of the subdivision.
* '''established_title''': The title for the establishment date.
* '''established_date''': The date the settlement was established.
* '''area_total_km2''': The total area of the settlement in square kilometers.
* '''area_land_km2''': The land area of the settlement in square kilometers.
* '''area_water_km2''': The water area of the settlement in square kilometers.
* '''population_total''': The total population of the settlement.
* '''population_as_of''': The year the population was recorded.
* '''population_density_km2''': The population density per square kilometer.
* '''timezone''': The timezone of the settlement.
* '''utc_offset''': The UTC offset of the timezone.
* '''website''': The official website of the settlement.
 
== Example ==
<pre>
{{Infobox settlement
| name = Example City
| official_name = City of Example
| native_name = Exemple
| native_name_lang = fr
| settlement_type = City
| image_skyline = Example_skyline.jpg
| image_alt = Skyline of Example City
| image_caption = The skyline of Example City
| image_flag = Example_flag.png
| flag_alt = Flag of Example City
| image_seal = Example_seal.png
| seal_alt = Seal of Example City
| image_shield = Example_shield.png
| shield_alt = Shield of Example City
| image_blank_emblem = Example_emblem.png
| blank_emblem_alt = Emblem of Example City
| nickname = The Example
| motto = "Exemplify Excellence"
| coordinates = {{coord|12|34|N|56|78|E}}
| subdivision_type = Country
| subdivision_name = Exampleland
| established_title = Founded
| established_date = 1900
| area_total_km2 = 123.45
| area_land_km2 = 100.00
| area_water_km2 = 23.45
| population_total = 1000000
| population_as_of = 2020
| population_density_km2 = 8000
| timezone = Example Standard Time
| utc_offset = +1
| website = [http://www.examplecity.gov Example City Official Website]
}}
</pre>
 
== Categories ==
[[Category:Infobox templates]]
[[Category:Settlement templates]]
</noinclude>
</noinclude>

Latest revision as of 18:20, 18 December 2024