Difference between revisions of "Template:Infobox FrazioneIT"

From blackwiki
Jump to navigation Jump to search
imported>Ian Spackman
imported>Francesco Betti Sorbelli
Line 55: Line 55:
 
|-
 
|-
 
{{#if:{{{mapx|}}}|
 
{{#if:{{{mapx|}}}|
{{!}} colspan="2" style="text-align: center; padding-top: 0em; padding-bottom: 0em;" {{!}}<center><div><div style="width:211px; background:transparent">
+
{{!}} colspan="2" style="text-align: center; padding-top: 0em; padding-bottom: 0em;" {{!}}<center>{{Location map
<div style="position:relative; width:211px">[[Image:Regions of Italy.svg|211px]]<br/><div style="position:absolute;z-index:200;
+
| Italy
top:{{#expr:100*(47.3417-{{{mapx}}}) / (47.3417-35.493128) round 1}}%;
+
| label = {{{name}}}
left:{{#expr:100*({{{mapy}}}-6.627159) / (18.519859-6.627159) round 1}}%; height:0; width:0; margin:0; padding:0;">
+
| mark = Green pog.svg
<div style="position:relative; top:-4px; left:-4px; width:8px; text-align:center; z-index:201">[[Image:Red_pog.svg|8x8px]]</div>
+
| lat = {{{mapx}}}
{{#switch:{{#if:{{{locator_position|}}}|{{{locator_position}}}|right}}
+
| lon = {{{mapy}}}
|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;">
+
| position = right
|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;">
+
| width = 250
}}<!--<span style="padding:1px;background:none">{{{native_name}}}</span>-->
+
| float = right
</div>
+
}} }}
</div>
 
</div>
 
 
</div><br/>Location of {{{name}}} in Italy</center>}}
 
</div><br/>Location of {{{name}}} in Italy</center>}}
 
|-
 
|-

Revision as of 17:48, 1 September 2009


Location of {{{name}}} in Italy}}
{{{name}}}
Frazione of {{{comune}}}
Country Italy
Region {{{region}}}
Province {{{province}}}
Population
 - Total
 - Density [n.a.]
Time zone CET, UTC+1
Coordinates {{{coordinates}}}
Gentilic {{{gentilic}}}
Dialing code {{{telephone}}}
Postal code {{{postalcode}}}
[[Image:{{{map}}}|211px|center|{{{native_name}}}]]
{{{native_name}}}
Template documentation[create]