Difference between revisions of "Template:Infobox CityIT"
Jump to navigation
Jump to search
m |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | {| class="infobox vcard" style="width:260px; font-size: 90%;" | |
+ | |- | ||
+ | ! colspan="2" | <big class="fn org">{{{city}}}<big> | ||
+ | |- | ||
+ | ! colspan="2" | {{#if:{{{img_coa|}}}|{{#if:{{{img_coa_small|}}}|[[Image:{{{img_coa}}}|Coat of arms of {{{city}}}]]|[[Image:{{{img_coa}}}|140x140px|Coat of arms of {{{city}}}]]}}<br/>Municipal coat of arms|}} | ||
+ | |- class="adr" | ||
+ | | '''Country''' | ||
+ | |{{flagicon|Italy}} <span class="country-name">[[Italy]]</span> | ||
+ | |- | ||
+ | | '''[[Regions of Italy|Region]]''' | ||
+ | |{{{region}}} | ||
+ | |- | ||
+ | | '''[[Provinces of Italy|Province]]''' | ||
+ | |{{{province}}} | ||
+ | |- | ||
+ | | '''Mayor''' | ||
+ | | {{{mayor}}} | ||
+ | |- | ||
+ | | {{#if:{{{mayor_party|}}}|<br/> - [[List of political parties in Italy|Party]]|}} | ||
+ | | {{#if:{{{mayor_party|}}}|<br/>{{{mayor_party}}}|}} | ||
+ | {{#if:{{{altitude|}}} | ||
+ | |{{!}}- class="note" | ||
+ | {{!}}'''Elevation''' | ||
+ | {{!}}{{{altitude}}} m}} | ||
+ | |- | ||
+ | | '''Area''' | ||
+ | | {{{area_cityproper}}} km² | ||
+ | |- | ||
+ | | '''Population''' | ||
+ | | | ||
+ | |- | ||
+ | | - Total {{#if:{{{population_as_of|}}}|(as of {{{population_as_of}}})|}} | ||
+ | |{{{populationdensity}}} | ||
+ | |- | ||
+ | | - Density | ||
+ | |{{{populationdensitymetric}}}/km² | ||
+ | |- | ||
+ | | '''Time zone''' | ||
+ | | [[Central European Time|CET]], [[UTC+1]] | ||
+ | |- | ||
+ | | '''[[Geographic coordinate system|Coordinates]]''' | ||
+ | | {{{coordinates}}} | ||
+ | |- | ||
+ | | '''[[Demonym|Gentilic]]''' | ||
+ | | {{{gentilic}}} | ||
+ | |- | ||
+ | | '''[[Area codes in Italy|Dialing code]]''' | ||
+ | | {{{telephone}}} | ||
+ | |- class="note" | ||
+ | | '''Postal code''' | ||
+ | | {{{postalcode}}} | ||
+ | |- | ||
+ | |{{#if:{{{frazioni|}}}|'''''[[Frazione|Frazioni]]'''''|}} | ||
+ | |<small>{{{frazioni|}}}</small> | ||
+ | |- | ||
+ | |{{#if:{{{saint|}}}|'''Patron'''|}} | ||
+ | |{{{saint|}}} | ||
+ | |- | ||
+ | |{{#if:{{{day|}}}| - Day|}} | ||
+ | |{{{day|}}} | ||
+ | <!-- ###### Locator map (auto-drawn using [[Template:Location map]]) --> | ||
+ | |- | ||
+ | {{#if:{{{mapx|}}}| | ||
+ | {{!}} colspan="2" style="text-align: center; padding-top: 0em; padding-bottom: 0em;" {{!}}<center><div><div style="width:211px; background:transparent"> | ||
+ | <div style="position:relative; width:211px">[[Image:Italy Regions 220px (including Pelagie Islands).png|211px]]<br/><div style="position:absolute;z-index:200; | ||
+ | top:{{#expr:100*(47.3417-{{{mapx}}}) / (47.3417-35.493128) round 1}}%; | ||
+ | left:{{#expr:100*({{{mapy}}}-6.627159) / (18.519859-6.627159) round 1}}%; height:0; width:0; margin:0; padding:0;"> | ||
+ | <div style="position:relative; top:-4px; left:-4px; width:8px; text-align:center; z-index:201">[[Image:Red_pog.svg|8x8px]]</div> | ||
+ | {{#switch:{{#if:{{{locator_position|}}}|{{{locator_position}}}|right}} | ||
+ | |right=<div style="font-size:90%; line-height:110%; position:relative; top:-1.5em; left:0.5em; text-align:left; width:6em; z-index:202;"> | ||
+ | |left=<div style="font-size:90%; line-height:110%; position:relative; top:-1.5em; left:-6.5em; width:6em; text-align:right; z-index:202;"> | ||
+ | }}<!--<span style="padding:1px;background:none">{{{native_name}}}</span>--> | ||
+ | </div> | ||
+ | </div> | ||
+ | </div> | ||
+ | </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:City infobox templates|Italy]] | ||
+ | {{template doc}} | ||
+ | </noinclude> |
Revision as of 22:04, 1 July 2007
{{{city}}} | |
---|---|
Country | Template:Country flagicon2 Italy |
Region | {{{region}}} |
Province | {{{province}}} |
Mayor | {{{mayor}}} |
Area | {{{area_cityproper}}} km² |
Population | |
- Total | {{{populationdensity}}} |
- Density | {{{populationdensitymetric}}}/km² |
Time zone | CET, UTC+1 |
Coordinates | {{{coordinates}}} |
Gentilic | {{{gentilic}}} |
Dialing code | {{{telephone}}} |
Postal code | {{{postalcode}}} |
[[Image:{{{map}}}|211px|center|{{{native_name}}}]] | |