Difference between revisions of "Template:Infobox autonomous community of Spain"

From blackwiki
Jump to navigation Jump to search
imported>Nuvolet
imported>TerraCyprus
(Redirected page to Template:Infobox settlement)
 
Line 1: Line 1:
<!--This template employs some extremely complicated and esoteric features of template syntax. Please do not attempt to alter it unless you are certain that you understand the setup and are prepared to repair any consequent collateral damage if the results are unexpected. Any experiments should be conducted in the template sandbox or your user space.
+
#redirect[[Template:Infobox settlement]]
--><includeonly>{{Infobox
 
| bodyclass = geography vcard
 
| bodystyle=width: 22em; font-size: 88%
 
| aboveclass = fn org
 
| abovestyle=line-height:1.2em; font-size: 1.2em; padding: 0.4em 0.8em 0.4em
 
| above =  {{{name}}} <br /> {{#if: {{{native_name|}}} | {{{native_name}}} }}
 
 
| subheader = {{#if: {{{alt_name|}}} | {{{alt_name}}} }} <br /> {{#if: {{{alt_native_name|}}} | {{{alt_native_name}}} }}
 
 
 
| imageclass = maptable
 
| image = <table style="align:center;text-align:center;background: none; width:100%;"><tr>
 
<td style="width: 58%; vertical-align: middle; text-align:center;">[[File:{{{image_flag}}}|120px|{{#if: {{{image_flag_alt|}}} |alt={{{image_flag_alt}}}}}|Flag of {{{name}}}]]</td>
 
<td style="width: 42%; vertical-align: middle; text-align:center;">[[File:{{{image_coat}}}|75px|{{#if:{{{image_coat_alt|}}} |alt={{{image_coat_alt}}}}}|Coat of arms of {{{name}}}]]</td>
 
</tr><tr style="font-size: 83%;">
 
<td style="width:58%;text-align:center;">{{{flag_link|[[Flag of {{{name}}}|Flag]]}}}</td>
 
<td style="width:42%;text-align:center;">{{{coat_link|[[Coat of arms of {{{name}}}|Coat of arms]]}}}</td>
 
</tr></table>
 
 
 
| data1 = {{#if: {{{anthem|}}} | '''Anthem:''' "<span class="Anthem">{{{anthem}}}</span>" }}
 
 
 
| data2 = {{#if: {{{motto|}}} | '''Motto:''' {{{motto}}} }}
 
 
 
| rowclass3 = maptable
 
| data3 = [[File:{{{map}}}|center|270px|{{#if: {{{map_alt|}}} |alt={{{map_alt}}}}}|Map of Spain with {{{name}}} highlighted]] <br /> {{#if: {{{map_caption|}}} | {{{map_caption}}} }}
 
 
 
| rowclass4 = mergedtoprow
 
| label4 = {{#ifeq:{{{largest_city}}}|capital
 
  |Capital<br/>{{nobold|{{nowrap|and largest city}}}}
 
  |Capital
 
  }}
 
| data4 = {{{capital}}}
 
 
 
| rowclass5 = mergedrow
 
| label5 = {{#ifeq:{{{largest_city}}}|capital
 
  |
 
  |Largest city
 
  }}
 
| data5 = {{#ifeq:{{{largest_city}}}|capital||{{{largest_city}}}}}
 
 
 
| rowclass6 = mergedtoprow
 
| label6 = Official language
 
| data6  = {{#if: {{{official_lang|}}} | {{{official_lang}}} }}<!--
 
  -->{{Infobox|child=yes
 
  | labelstyle=font-weight:normal
 
 
 
  | rowclass1 = mergedrow
 
  | label1 = Recognised languages
 
  | data1 = {{#if: {{{recognised_lang|}}} | {{{recognised_lang}}} }}
 
 
 
  | rowclass2 = mergedrow
 
  | label2 = Other spoken languages
 
  | data2 = {{#if: {{{other_langs|}}} | {{{other_langs}}} }}
 
}}
 
 
 
| rowclass7 = mergedtoprow
 
| label7 = Official languages
 
| data7  = {{#if: {{{official_langs|}}} | {{{official_langs}}} }}
 
 
 
| rowclass8 = mergedtoprow
 
| label8 = Demonym
 
| data8 =  {{{demonym|}}}
 
 
 
| rowclass9 = mergedtoprow
 
| label9 = Sovereign state
 
| data9 =  {{{sovereignty|}}}
 
 
 
| rowclass10 = mergedtoprow
 
| label10 = Government
 
| data10 = {{#ifeq: {{{government}}} | devolution | [[Devolution|Devolved government]] in a<br/> [[constitutional monarchy]] | }}<!--
 
-->{{infobox|child=yes
 
  | labelstyle=font-weight:normal
 
 
 
  | rowclass1 = mergedrow
 
  | label1 = &nbsp;•&nbsp;[[President of {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}|President]]
 
  | data1 = {{{president}}}&nbsp;({{{president_party}}})
 
 
 
  | rowclass2 = mergedrow
 
  | label2 = &nbsp;•&nbsp;[[Vice President of {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}|Vice President]]
 
  | data2 =  {{#if: {{{vice_president|}}} | {{{vice_president}}} }}&nbsp;({{#if: {{{vice_president_party|}}} | {{{vice_president_party}}} }})
 
  }}
 
 
 
| rowclass11 = mergedtoprow
 
| label11 = Legislature
 
| data11 = {{{legislature}}}
 
 
 
| rowclass12 = mergedtoprow
 
| label12 = Formation
 
| data12 = <!--
 
-->{{infobox|child=yes
 
  | labelstyle=font-weight:normal
 
 
 
  | rowclass1 = mergedrow
 
  | label1 = &nbsp;•&nbsp;Established
 
  | data1 = {{#if: {{{established|}}} | {{{established}}} }}
 
 
 
  | rowclass2 = mergedrow
 
  | label2 = &nbsp;•&nbsp;Union
 
  | data2 = {{#if: {{{union|}}} | {{{union}}} }}
 
 
 
| rowclass3 = mergedrow
 
  | label3 = &nbsp;•&nbsp;Devolution
 
  | data3 = {{#if: {{{devolution|}}} | {{{devolution}}} }}
 
  }}
 
 
 
| rowclass13 = mergedtoprow 
 
| label13 = Area
 
| data13 = [[List of Spanish autonomous communities by area|Ranked {{{area_rank}}}]] <!--
 
  -->{{Infobox|child=yes
 
  | labelstyle=font-weight:normal
 
 
 
  | rowclass1 = mergedrow
 
  | label1 = &nbsp;•&nbsp;Total
 
  | data1 = {{{area_km2}}} ({{{area_sq_mi}}})
 
 
 
  | rowclass2 = mergedrow
 
  | label2 = &nbsp;•&nbsp;Proportion of Spain
 
  | data2 = {{{area_percent|}}} of 505,990 km<sup>2</sup>
 
}}
 
 
 
| rowclass14 = mergedtoprow
 
| label14 = Population
 
| data14 = [[List of Spanish autonomous communities by population|Ranked {{{population_rank}}}]] <!--
 
  -->{{Infobox|child=yes
 
  | labelstyle=font-weight:normal
 
 
 
  | rowclass1 = mergedrow
 
  | label1 = &nbsp;•&nbsp;Total&nbsp;({{{population_year}}})
 
  | data1 = {{{population}}}
 
 
 
  | rowclass2 = mergedrow
 
  | label2 = &nbsp;•&nbsp;Density
 
  | data2 = {{{density_km2}}}/km<sup>2</sup> ({{{density_sq_mi}}}/sq&nbsp;mi)
 
  }}
 
 
 
| rowclass15 = mergedtoprow
 
| label15 = GDP
 
| data15 = [[List of Spanish autonomous communities by gross domestic product|Ranked {{{GDP_rank}}}]] <!--
 
  -->{{Infobox|child=yes
 
  | labelstyle=font-weight:normal
 
 
 
  | rowclass1 = mergedrow
 
  | label1 = &nbsp;•&nbsp;Total&nbsp;({{{GDP_year}}})
 
  | data1 = {{{GDP_total}}}
 
 
 
  | rowclass2 = mergedrow
 
  | label2 = &nbsp;•&nbsp;Per capita
 
  | data2 = {{{GDP_per_capita}}} ([[List of Spanish autonomous communities by gross domestic product|{{{GDP_per_capita_rank}}}]])
 
  }}
 
 
 
| rowclass16 = mergedtoprow
 
| label16 = Currency
 
| data16 = {{{currency}}} ({{{currency_code}}})
 
 
 
| rowclass17 = mergedtoprow
 
| label17 = Time zone
 
| data17 = {{{time_zone|}}} <!--
 
  -->{{infobox|child = yes
 
  | labelstyle=font-weight:normal
 
 
 
  | rowclass1 = mergedrow
 
  | label1 = &nbsp;•&nbsp;Summer ([[Daylight saving time|DST]])
 
  | data1 = {{{summer_time}}}
 
  }}
 
 
 
| rowclass18 = mergedtoprow
 
| label18 = Calling code
 
| data18 = {{#if: {{{calling_code|}}} | [[Telephone numbers in Spain|{{{calling_code}}}]]}}
 
 
 
| rowclass19 = mergedtoprow
 
| label19 = Patron saint
 
| data19 = {{#if: {{{patron_saint|}}} | {{{patron_saint}}} }}
 
 
 
| rowclass20 = mergedtoprow
 
| label20 = [[ISO 3166|ISO 3166 code]]
 
| data20 = {{#if:{{{ISO_code|}}} | [[ISO 3166-2:ES|{{{ISO_code}}}]] }}
 
 
 
| rowclass21 = mergedtoprow
 
| label21 = [[Country code top-level domain|Internet TLD]]
 
| data21 = {{#if:{{{internet_TLD|}}} | {{{internet_TLD}}} }}
 
 
 
| rowclass22 = mergedtoprow
 
| data22 = {{#if:{{{website|}}} | '''Website''' <br /> {{URL|1={{{website}}}}} }}
 
 
 
| rowclass23 = mergedtoprow
 
| data23 = {{#if: {{{footnotes|}}} | {{{footnotes}}} }}
 
}}</includeonly><noinclude>{{Documentation}}</noinclude>
 

Latest revision as of 19:08, 21 September 2020