Template:Location map many: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Wikid77
fixed unclosed comment in caption-logic
meta>Wikid77
put caption within image-link "[[ ]]"
Line 22: Line 22:
     | {{#if:{{{caption|}}}|#CCCCCC|none}}
     | {{#if:{{{caption|}}}|#CCCCCC|none}}
   }};
   }};
}} padding: 0px; width: {{{width|240}}}px"><!-- specify Map -->[[image:{{#if: {{{AlternativeMap|}}} | {{{AlternativeMap}}} | {{Location map {{{1}}}|image}} }}|{{{width|240}}}px|{{#if: {{{label|}}}  
}} padding: 0px; width: {{{width|240}}}px"><!-- specify Map -->[[image:{{#if: {{{AlternativeMap|}}} | {{{AlternativeMap}}} | {{Location map {{{1}}}|image}} }}|{{{width|240}}}px|{{#if: {{{caption|}}}
  | {{{label}}}  
  | {{{caption|}}}
  | {{PAGENAME}}  
  | {{#if: {{{label|}}}  
}} ({{Location map {{{1}}}|name}})]]<br /><!--
    | {{{label}}}  
    | {{PAGENAME}}  
}} ({{Location map {{{1}}}|name}})
}}<!-- endif caption--> ]]<br /><!--
================================================== Marker/Label #1
================================================== Marker/Label #1
--><div style="position: absolute; z-index: 2; top: {{#expr:  
--><div style="position: absolute; z-index: 2; top: {{#expr:  
Line 367: Line 370:
--------------------------------------------------------- -->
--------------------------------------------------------- -->
</div><!-- end-div map part --
</div><!-- end-div map part --
================================================== Map Caption div
==================================================  
--><div style="font-size: 90%">{{{caption|{{#if: {{{label|}}}
--></div><!-- end-div bordered box -->
  | {{{label}}}
<!-- </div></div><!--force any divisions closed -->
  | {{PAGENAME}}
}} ({{Location map {{{1}}}|name}})}}}</div>
<!--
 
</div><!-- end-div bordered box -->
</div></div><!--force any divisions closed -->
</includeonly><noinclude><!--
</includeonly><noinclude><!--
--
--

Revision as of 10:37, 8 September 2007