Template:Infobox province new: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
Continuator (talk | contribs)
No edit summary
Edgard (talk | contribs)
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Infobox province new
{{Infobox
| name                = {{{name|{{PAGENAME}}}}}
| bodystyle =
| native_name        = {{{native_name|}}}
| title =
| native_name_lang    = {{{native_name_lang|}}} <!-- ISO 639-2 code e.g. "fr" for French -->
| titlestyle =
| settlement_type    = {{{settlement_type|Province}}}
| above = {{{name|{{PAGENAME}}}}}{{#if:{{{native_name|}}}|<br /><small>{{{native_name}}}</small>|}}
| image_flag          = {{{image_flag|}}}
| abovestyle = background:#ccc;
| flag_alt            = {{{flag_alt|}}}
| subheader = {{{settlement_type|Province}}}
| flag_caption        = {{{flag_caption|Flag}}}
| subheaderstyle =
| image_seal          = {{{image_seal|}}}
 
| seal_alt           = {{{seal_alt|}}}
| image = {{#if:{{{image_flag|}}}|[[File:{{{image_flag}}}|125px|border|{{{flag_alt|Flag}}}]]|}}
| seal_caption        = {{{seal_caption|Coat of arms}}}
| caption = {{#if:{{{image_flag|}}}|{{{flag_caption|Flag}}}|}}
| image_shield        = {{{image_shield|}}} <!-- alternative to seal -->
 
| shield_caption      = {{{shield_caption|Coat of arms}}}
| image2 = {{#if:{{{image_seal|}}}|[[File:{{{image_seal}}}|80px|{{{seal_alt|Coat of arms}}}]]|}}{{#if:{{{image_shield|}}}|[[File:{{{image_shield}}}|80px|Coat of arms]]|}}
| image_map          = {{{image_map|}}}
| caption2 = {{#if:{{{image_seal|}}}|{{{seal_caption|Coat of arms}}}|}}{{#if:{{{image_shield|}}}|{{{shield_caption|Coat of arms}}}|}}
| map_alt            = {{{map_alt|}}}
 
| map_caption        = {{{map_caption|Location within [[{{{country|}}}}]]}}}
| image3 = {{#if:{{{image_map|}}}|[[File:{{{image_map}}}|250px|{{{map_alt|Location map}}}]]|}}
| coordinates        = {{{coordinates|}}} <!-- {{coord|LAT|LON|region:XX_type:adm1st|display=inline,title}} -->
| caption3 = {{#if:{{{image_map|}}}|{{{map_caption|Location within [[{{{country|}}}]]}}}|}}
| subdivision_type    = Country
 
| subdivision_name    = {{{country|}}}
| headerstyle = background:#ddd;
| subdivision_type1  = {{{subdivision_type1|}}}
| labelstyle =
| subdivision_name1  = {{{subdivision_name1|}}}
| datastyle =
| subdivision_type2  = {{{subdivision_type2|}}}
 
| subdivision_name2  = {{{subdivision_name2|}}}
| header1 = {{#if:{{{country|}}}{{{seat|}}}{{{coordinates|}}}|Geography|}}
| seat_type          = {{{seat_type|Capital}}}
| label2 = {{#if:{{{country|}}}|Country|}}
| seat                = {{{seat|}}}
| data2 = {{#if:{{{country|}}}|[[{{{country}}}]]|}}
| seat1_type          = {{{seat1_type|Largest city}}}
| label3 = {{#if:{{{subdivision_name1|}}}|{{{subdivision_type1|}}}|}}
| seat1               = {{{seat1|}}}
| data3 = {{{subdivision_name1|}}}
| government_type     = {{{government_type|}}}
| label4 = {{#if:{{{subdivision_name2|}}}|{{{subdivision_type2|}}}|}}
| leader_party        = {{{leader_party|}}}
| data4 = {{{subdivision_name2|}}}
| leader_title        = {{{leader_title|Governor}}}
| label5 = {{#if:{{{seat|}}}|{{{seat_type|Capital}}}|}}
| leader_name         = {{{leader_name|}}}
| data5 = {{{seat|}}}
| leader_title1      = {{{leader_title1|}}}
| label6 = {{#if:{{{seat1|}}}|{{{seat1_type|Largest city}}}|}}
| leader_name1        = {{{leader_name1|}}}
| data6 = {{{seat1|}}}
| unit_pref          = {{{unit_pref|Metric}}} <!-- Metric or Imperial -->
| label7 = {{#if:{{{coordinates|}}}|Coordinates|}}
| area_footnotes      = {{{area_footnotes|}}}
| data7 = {{{coordinates|}}}
| area_total_km2      = {{{area_total_km2|}}}
 
| area_land_km2       = {{{area_land_km2|}}}
| header10 = {{#if:{{{government_type|}}}{{{leader_name|}}}|Government|}}
| area_water_km2     = {{{area_water_km2|}}}
| label11 = {{#if:{{{government_type|}}}|Type|}}
| area_rank           = {{{area_rank|}}}
| data11 = {{{government_type|}}}
| elevation_m        = {{{elevation_m|}}}
| label12 = {{#if:{{{leader_name|}}}|{{{leader_title|Governor}}}|}}
| highest_elevation_m = {{{highest_elevation_m|}}}
| data12 = {{#if:{{{leader_name|}}}|{{{leader_name}}}{{#if:{{{leader_party|}}}| ({{{leader_party}}})}}|}}
| population_footnotes= {{{population_footnotes|}}}
| label13 = {{#if:{{{leader_name1|}}}|{{{leader_title1|}}}|}}
| population_total    = {{{population_total|}}}
| data13 = {{{leader_name1|}}}
| population_as_of    = {{{population_as_of|}}}
 
| population_rank     = {{{population_rank|}}}
| header20 = {{#if:{{{area_total_km2|}}}|Area{{{area_footnotes|}}}|}}
| population_density_km2 = {{{population_density_km2|auto}}}
| label21 = {{#if:{{{area_total_km2|}}}|Total|}}
| demographics_type1  = {{{demographics_type1|Ethnic groups}}}
| data21 = {{#if:{{{area_total_km2|}}}|{{{area_total_km2}}} km²|}}
| demographics1_footnotes = {{{demographics1_footnotes|}}}
| label22 = {{#if:{{{area_land_km2|}}}|Land|}}
| demographics1_title1= {{{demographics1_title1|}}}
| data22 = {{#if:{{{area_land_km2|}}}|{{{area_land_km2}}} km²|}}
| demographics1_info1 = {{{demographics1_info1|}}}
| label23 = {{#if:{{{area_water_km2|}}}|Water|}}
| demographics1_title2= {{{demographics1_title2|}}}
| data23 = {{#if:{{{area_water_km2|}}}|{{{area_water_km2}}} km²|}}
| demographics1_info2 = {{{demographics1_info2|}}}
| label24 = {{#if:{{{area_rank|}}}|Rank|}}
| timezone1           = {{{timezone1|}}}
| data24 = {{{area_rank|}}}
| utc_offset1        = {{{utc_offset1|}}}
| label25 = {{#if:{{{highest_elevation_m|}}}|Highest elevation|}}
| timezone1_DST       = {{{timezone1_DST|}}}
| data25 = {{#if:{{{highest_elevation_m|}}}|{{{highest_elevation_m}}} m|}}
| utc_offset1_DST    = {{{utc_offset1_DST|}}}
 
| postal_code_type    = {{{postal_code_type|Postal code}}}
| header30 = {{#if:{{{population_total|}}}|Population{{{population_footnotes|}}}|}}
| postal_code        = {{{postal_code|}}}
| label31 = {{#if:{{{population_total|}}}|Total|}}
| area_code_type      = {{{area_code_type|Area code}}}
| data31 = {{#if:{{{population_total|}}}|{{{population_total}}}{{#if:{{{population_as_of|}}}| ({{{population_as_of}}})}}|}}
| area_code          = {{{area_code|}}}
| label32 = {{#if:{{{population_rank|}}}|Rank|}}
| iso_code           = {{{iso_code|}}}
| data32 = {{{population_rank|}}}
| website             = {{{website|}}}
| label33 = {{#if:{{{population_density_km2|}}}|Density|}}
| footnotes          = {{{footnotes|}}}
| data33 = {{#if:{{{population_density_km2|}}}|{{{population_density_km2}}} /km²|}}
 
| header40 = {{#if:{{{demographics1_title1|}}}|{{{demographics_type1|Ethnic groups}}}{{{demographics1_footnotes|}}}|}}
| label41 = {{{demographics1_title1|}}}
| data41 = {{{demographics1_info1|}}}
| label42 = {{{demographics1_title2|}}}
| data42 = {{{demographics1_info2|}}}
 
| header50 = {{#if:{{{timezone1|}}}{{{postal_code|}}}{{{iso_code|}}}|Other information|}}
| label51 = {{#if:{{{timezone1|}}}|Time zone|}}
| data51 = {{#if:{{{timezone1|}}}|{{{timezone1}}}{{#if:{{{utc_offset1|}}}| ({{{utc_offset1}}})}}{{#if:{{{timezone1_DST|}}}|<br />{{{timezone1_DST}}}{{#if:{{{utc_offset1_DST|}}}| ({{{utc_offset1_DST}}})}}}}|}}
| label52 = {{#if:{{{postal_code|}}}|{{{postal_code_type|Postal code}}}|}}
| data52 = {{{postal_code|}}}
| label53 = {{#if:{{{area_code|}}}|{{{area_code_type|Area code}}}|}}
| data53 = {{{area_code|}}}
| label54 = {{#if:{{{iso_code|}}}|ISO code|}}
| data54 = {{{iso_code|}}}
| label55 = {{#if:{{{website|}}}|Website|}}
| data55 = {{{website|}}}
 
| belowstyle = font-size:90%;
| below = {{{footnotes|}}}
}}<noinclude>
{{documentation|content=
== Usage ==
This infobox is for articles about provinces, states, regions, and other first-level administrative divisions.
 
== Blank template ==
<pre>
{{Infobox province new
| name                =
| native_name        =
| settlement_type    = Province
| image_flag          =
| flag_caption        =
| image_seal          =
| seal_caption        =
| image_map          =
| map_caption        =
| country            =
| subdivision_type1  =
| subdivision_name1  =
| seat_type          = Capital
| seat                =
| seat1_type          = Largest city
| seat1              =
| government_type    =
| leader_title        = Governor
| leader_name        =
| leader_party        =
| area_total_km2      =
| area_rank          =
| highest_elevation_m =
| population_total    =
| population_as_of    =
| population_rank    =
| population_density_km2 =
| demographics1_title1=
| demographics1_info1 =
| timezone1          =
| utc_offset1        =
| postal_code        =
| iso_code            =
| website            =
| footnotes          =
}}
}}
</pre>
}}
[[Category:Infobox templates]]
</noinclude>

Latest revision as of 23:35, 6 December 2025

Infobox province new
Province
Template documentation

Usage

This infobox is for articles about provinces, states, regions, and other first-level administrative divisions.

Blank template

{{Infobox province new
| name                = 
| native_name         = 
| settlement_type     = Province
| image_flag          = 
| flag_caption        = 
| image_seal          = 
| seal_caption        = 
| image_map           = 
| map_caption         = 
| country             = 
| subdivision_type1   = 
| subdivision_name1   = 
| seat_type           = Capital
| seat                = 
| seat1_type          = Largest city
| seat1               = 
| government_type     = 
| leader_title        = Governor
| leader_name         = 
| leader_party        = 
| area_total_km2      = 
| area_rank           = 
| highest_elevation_m = 
| population_total    = 
| population_as_of    = 
| population_rank     = 
| population_density_km2 = 
| demographics1_title1= 
| demographics1_info1 = 
| timezone1           = 
| utc_offset1         = 
| postal_code         = 
| iso_code            = 
| website             = 
| footnotes           = 
}}