Template:Location map many: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Wikid77
testing
meta>Wikid77
hacking spaghetti code of nested div-sections
Line 47: Line 47:
     | background-color: {{{background}}};  
     | background-color: {{{background}}};  
   }}">{{{label|}}}</span></div>
   }}">{{{label|}}}</span></div>
}}</div></div><div style="font-size: 90%">{{{caption|{{#if: {{{label|}}}  
}}</div></div><!-- ---------------------- Caption (division)
--><div style="font-size: 90%">{{{caption|{{#if: {{{label|}}}  
   | {{{label}}}  
   | {{{label}}}  
   | {{PAGENAME}}  
   | {{PAGENAME}}  
Line 84: Line 85:
     | background-color: {{{background}}};  
     | background-color: {{{background}}};  
   }}">{{{label2|}}}</span></div>
   }}">{{{label2|}}}</span></div>
}}</div></div><!--
}}</div><!--
------------------------------------------------------ Marker #2
------------------------------------------------------ Marker #2
--><div style="position: absolute; z-index: 2; top: {{#expr:  
--><div style="position: absolute; z-index: 2; top: {{#expr:  
Line 119: Line 120:
     | background-color: {{{background2}}};  
     | background-color: {{{background2}}};  
   }}">{{{label2|}}}</span></div>
   }}">{{{label2|}}}</span></div>
}}</div></div><div style="font-size: 90%">{{{caption|{{#if: {{{label2|}}}
}}</div><!-- end #2
  | {{{label2}}}
  | {{PAGENAME}}
}} ({{Location map {{{1}}}|name}})}}}</div><!-- end #2
------------------------------------------------------ Marker #3
------------------------------------------------------ Marker #3
--><div style="position: absolute; z-index: 2; top: {{#expr:  
--><div style="position: absolute; z-index: 2; top: {{#expr:  
Line 157: Line 155:
     | background-color: {{{background3}}};  
     | background-color: {{{background3}}};  
   }}">{{{label3|}}}</span></div>
   }}">{{{label3|}}}</span></div>
}}</div></div><div style="font-size: 90%">{{{caption|{{#if: {{{label3|}}}
}}</div><!-- end #3
  | {{{label3}}}
  | {{PAGENAME}}
}} ({{Location map {{{1}}}|name}})}}}</div><!-- end #3
--></div></includeonly><noinclude>{{/doc}}
--></div></includeonly><noinclude>{{/doc}}



Revision as of 10:30, 6 September 2007