Template:Location map: Difference between revisions

Jump to navigation Jump to search
imported>Pigsonthewing
(add hc)
imported>Pigsonthewing
(self-revert (not working, label not displayed))
Line 1: Line 1:
<includeonly><div class="vcard" style="width: {{#expr: {{{width|240}}} + 3 }}px; {{#if: {{{caption|}}}  
<includeonly><div style="width: {{#expr: {{{width|240}}} + 3 }}px; {{#if: {{{caption|}}}  
   | padding: 3px; border: 1px solid {{#if: {{{border|}}}  
   | padding: 3px; border: 1px solid {{#if: {{{border|}}}  
     | {{{border|none}}}  
     | {{{border|none}}}  
Line 10: Line 10:
   }};
   }};
}} padding: 0px; width: {{{width|240}}}px">[[image:{{#if: {{{AlternativeMap|}}} | {{{AlternativeMap}}} | {{Location map {{{1}}}|image}} }}|{{{width|240}}}px|{{#if: {{{label|}}}  
}} padding: 0px; width: {{{width|240}}}px">[[image:{{#if: {{{AlternativeMap|}}} | {{{AlternativeMap}}} | {{Location map {{{1}}}|image}} }}|{{{width|240}}}px|{{#if: {{{label|}}}  
   | <span class="fn">{{{label}}}</span>
   | {{{label}}}  
   | <span class="fn">{{PAGENAME}}</span>
   | {{PAGENAME}}  
}} ({{Location map {{{1}}}|name}})]]<br /><div style="position: absolute; z-index: 2; top: {{#expr:  
}} ({{Location map {{{1}}}|name}})]]<br /><div style="position: absolute; z-index: 2; top: {{#expr:  
   100 * ({{Location map {{{1}}}|top}} - {{#if: {{{lat_deg|}}}  
   100 * ({{Location map {{{1}}}|top}} - {{#if: {{{lat_deg|}}}  

Revision as of 22:31, 23 April 2007