Difference between revisions of "Template:Infobox FrazioneIT"

From blackwiki
Jump to navigation Jump to search
imported>Francesco Betti Sorbelli
m
imported>Francesco Betti Sorbelli
(Replaced content with 'Use Template:Frazione')
Line 1: Line 1:
{| class="infobox vcard" style="width:260px; font-size: .9em; line-height:1.1em"
+
Use [[Template:Frazione]]
|-
 
! colspan="2" | <big class="fn org">{{{name}}}</big>
 
|-
 
! colspan="2" | '''''[[Frazione]]'' of {{{comune}}}'''
 
{{#if:{{{image_skyline|}}}
 
|{{!}}-
 
{{!}}colspan=2{{!}}[[Image:{{{image_skyline}}}|center|244px|{{{image_caption|Picture of {{{name}}}}}}]]{{#if:{{{image_caption|}}}|<center>{{{image_caption}}}</center>}}}}
 
|- class="adr"
 
| '''Country'''
 
|<span class="country-name">[[Italy]]</span>
 
|-
 
| '''[[Regions of Italy|Region]]'''
 
|{{{region}}}
 
|-
 
| '''[[Provinces of Italy|Province]]'''
 
|{{{province}}}
 
{{#if:{{{elevation_m|}}}
 
|{{!}}- class="note"
 
{{!}}'''Elevation'''
 
{{!}}{{convert|{{{elevation_m|}}}|m|ft|0|abbr=on}}}}{{#if:{{{elevation_footnotes|}}}|{{{elevation_footnotes|}}}}}
 
|-
 
{{#if:{{{area_total_km2|}}}
 
|{{!}}- class="note"
 
{{!}}'''Area'''
 
{{!}}{{convert|{{{area_total_km2|}}}|km2|sqmi|0|abbr=on}}}}{{#if:{{{area_footnotes|}}}|{{{area_footnotes|}}}}}
 
|-
 
|colspan="2"| '''Population''' <small>{{#if:{{{population_as_of|}}}|(as of {{{population_as_of}}})|}}</small>
 
|-
 
|&nbsp;- Total
 
|{{#ifeq: {{#expr:{{{population_total|}}}*0}}|0|{{formatnum:{{{population_total|}}}}}|{{{population_total|}}}}}{{#if:{{{population_footnotes|}}}|{{{population_footnotes|}}}}}
 
|-
 
|&nbsp;- Density
 
|{{#ifeq: {{#expr:{{{population_total|}}}*0}}|0|{{#ifeq: {{#expr:{{{area_total_km2|}}}*0}}|0|{{PD km2 to sq mi|{{ #expr:({{{population_total}}}/{{{area_total_km2}}}) round 0 }}|precision=0|abbr=yes}}|[n/a]}}|[n.a.]}}
 
{{#if:{{{pop_density_footnotes|}}}|{{{pop_density_footnotes|}}}}}
 
|-
 
| '''Time zone'''
 
| [[Central European Time|CET]], [[UTC+1]]
 
|-
 
| '''[[Geographic coordinate system|Coordinates]]'''
 
| {{{coordinates}}}
 
|-
 
| '''[[Demonym|Gentilic]]'''
 
| {{{gentilic}}}
 
|-
 
| '''[[Area codes in Italy|Dialing&nbsp;code]]'''
 
| {{{telephone}}}
 
|-  class="note"
 
| '''Postal code'''
 
| {{{postalcode}}}
 
|-
 
|{{#if:{{{frazioni|}}}|'''''[[Frazione|Frazioni]]'''''|}}
 
|<small>{{{frazioni|}}}</small>
 
<!-- ###### Locator map (auto-drawn using [[Template:Location map]]) -->
 
|-
 
{{#if:{{{mapx|}}}|
 
{{!}} colspan="2" style="text-align: center; padding-top: 0em; padding-bottom: 0em;" {{!}}<center>{{Location map
 
| Italy
 
| label = {{{name}}}
 
| mark = Green pog.svg
 
| lat = {{{mapx}}}
 
| long = {{{mapy}}}
 
| position = right
 
| width = 250
 
| float = right
 
}}
 
</div><br/>Location of {{{name}}} in Italy</center>}}
 
|-
 
{{#if: {{{map<includeonly>|</includeonly>}}} |
 
{{!}} align="center" colspan="2" {{!}} [[Image:{{{map}}}|211px|center|{{{native_name}}}]]<center><small>{{{native_name}}} }}
 
|-
 
| align="center" colspan="2" | {{#if:{{{website|}}}|<small>'''Website:''' {{{website}}}</small>|}}
 
|}<noinclude><!--Leave <noinclude> starting in the same line as the last line of the template code-->
 
[[Category:Italian subdivision infobox templates]]
 
{{Documentation, template}}
 
</noinclude>
 

Revision as of 18:27, 1 September 2009