Template:Location map+: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Thumperward
(fix css declaration, per talk#)
meta>Thumperward
(additional fixes per talk)
Line 14: Line 14:
}}>
}}>
<div {{#if:{{{caption|}}}
<div {{#if:{{{caption|}}}
| class="thumbinner" style="width:{{#expr:{{#if:{{{width|}}}|{{{width}}}|240}} + 2 }}px; {{#if:{{{border|}}}|{{#ifeq:{{{border|}}}|none|border: none|border-color:{{{border}}}}};}}  
| class="thumbinner" style="width:{{#expr:{{#if:{{{width|}}}|{{{width}}}|240}} + 2 }}px; {{#if:{{{border|}}}|{{#ifeq:{{{border|}}}|none|border: none|border-color:{{{border}}}}};}}"
| style="width:{{#if:{{{width|}}}|{{{width}}}|240}}px; padding:0;"
| style="width:{{#if:{{{width|}}}|{{{width}}}|240}}px; padding:0"
}}">
}}>
<div style="position: relative; {{#if:{{{caption|}}}
<div style="position: relative; {{#if:{{{caption|}}}
   | {{#if:{{{border|}}}
   | {{#if:{{{border|}}}
Line 23: Line 23:
-->[[file:{{#if:{{{AlternativeMap|}}}|{{{AlternativeMap}}}|{{#if:{{{relief|}}}|{{#if:{{Location map {{{1}}}|image1}}|{{Location map {{{1}}}|image1}}|{{Location map {{{1|}}}|image}} }}|{{Location map  {{{1|}}}|image}} }} }}|{{#if:{{{width|}}}|{{{width}}}|240}}px|{{#if:{{{alt|}}}|{{{alt}}}|{{#if:{{{label|}}}|{{{label}}}|{{PAGENAME}}}} is located in {{Location map {{{1}}}|name}}}}]]<!--
-->[[file:{{#if:{{{AlternativeMap|}}}|{{{AlternativeMap}}}|{{#if:{{{relief|}}}|{{#if:{{Location map {{{1}}}|image1}}|{{Location map {{{1}}}|image1}}|{{Location map {{{1|}}}|image}} }}|{{Location map  {{{1|}}}|image}} }} }}|{{#if:{{{width|}}}|{{{width}}}|240}}px|{{#if:{{{alt|}}}|{{{alt}}}|{{#if:{{{label|}}}|{{{label}}}|{{PAGENAME}}}} is located in {{Location map {{{1}}}|name}}}}]]<!--
-->{{#if:{{{overlay_image|}}}
-->{{#if:{{{overlay_image|}}}
   | <div style="position:absolute; z-index: 1; top: 0; left: 0;">[[File:{{{overlay_image}}} |{{#if:{{{width|}}}|{{{width}}}|240}}px|link=file:{{#if: {{{AlternativeMap|}}}|{{{AlternativeMap}}} |{{#if: {{{relief|}}}|{{#if: {{Location map {{{1}}}|image1}}|{{Location map {{{1}}}|image1}}|{{Location map {{{1|}}}|image}} }}|{{Location map {{{1|}}}|image}} }} }}]]</div>}}<!--
   | <div style="position:absolute; z-index: 1; top: 0; left: 0">[[File:{{{overlay_image}}} |{{#if:{{{width|}}}|{{{width}}}|240}}px|link=file:{{#if: {{{AlternativeMap|}}}|{{{AlternativeMap}}} |{{#if: {{{relief|}}}|{{#if: {{Location map {{{1}}}|image1}}|{{Location map {{{1}}}|image1}}|{{Location map {{{1|}}}|image}} }}|{{Location map {{{1|}}}|image}} }} }}]]</div>}}<!--


-->{{{places|}}}<!--
-->{{{places|}}}<!--


--></div>
--></div>
<div {{#if:{{{caption|}}}|class="thumbcaption"|style="font-size: 90%; padding-top:3px;"}}>{{#if:{{{caption_undefined|}}}
<div {{#if:{{{caption|}}}|class="thumbcaption"|style="font-size: 90%; padding-top:3px"}}>{{#if:{{{caption_undefined|}}}
   | {{#if: {{{label|}}}
   | {{#if: {{{label|}}}
     | {{{label}}}
     | {{{label}}}
Line 41: Line 41:
</div>
</div>
</div>{{#ifeq:{{{float|}}}|center|
</div>{{#ifeq:{{{float|}}}|center|
</div>}}</includeonly><noinclude>
</div>}}</includeonly><noinclude>{{documentation}}</noinclude>
{{documentation}}
</noinclude>

Revision as of 13:38, 15 May 2012