Template:Location map+: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Eubulides
(Add support for alt text.)
meta>Plastikspork
(Update width handling)
Line 1: Line 1:
<includeonly><div style="width: {{#expr: {{{width|240}}} + 2 }}px; {{#if: {{{caption|}}}  
<includeonly><div style="width: {{#expr: {{#if:{{{width|}}}|{{{width}}}|240}} + 2 }}px; {{#if: {{{caption|}}}  
   | padding: 3px; border: 1px solid {{#if: {{{border|}}}  
   | padding: 3px; border: 1px solid {{#if: {{{border|}}}  
     | {{{border|none}}}  
     | {{{border|none}}}  
Line 9: Line 9:
     | #CCCCCC  
     | #CCCCCC  
   }};
   }};
}} padding: 0px; width: {{{width|240}}}px">[[image:{{#if: {{{AlternativeMap|}}} | {{{AlternativeMap}}} | {{Location map {{{1|Germany}}}|image}} }}|{{{width|240}}}px|alt={{{alt|}}}|{{#if: {{{label|}}}  
}} padding: 0px; width: {{#if:{{{width|}}}|{{{width}}}|240}}px">[[image:{{#if: {{{AlternativeMap|}}} | {{{AlternativeMap}}} | {{Location map {{{1|Germany}}}|image}} }}|{{#if:{{{width|}}}|{{{width}}}|240}}px|alt={{{alt|}}}|{{#if: {{{label|}}}  
   | {{{label}}}  
   | {{{label}}}  
   | {{PAGENAME}}  
   | {{PAGENAME}}  

Revision as of 23:18, 30 July 2010