Template:Location mark: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 14: Line 14:
   | #default = floatright}}}}">
   | #default = floatright}}}}">


  <div {{#ifeq:{{{type|}}}|thumb|class="thumbinner"}} style="{{#switch:{{{type|}}}
  | thumb | border = width:{{#expr:{{if empty|{{{width|}}}|220}}+2}}
  | #default = width:{{if empty|{{{width|}}}|220}}}}px;">


{{#if:{{{overlay|}}}
    <div style="position:relative; background-color:#FFFFFF; {{#switch:{{{type|}}}
    | thumb = border:1px solid #CCCCCC
    | border = border:1px solid #DDDDDD}};"><!--
 
    -->{{#if:{{{overlay|}}}
       | <div style="position:absolute; z-index: 1; top: 0; left: 0;"><!--
       | <div style="position:absolute; z-index: 1; top: 0; left: 0;"><!--
       -->[[File:{{{overlay}}}|{{if empty|{{{width|}}}|220}}px|{{{caption|}}}<!--
       -->[[File:{{{overlay}}}|{{if empty|{{{width|}}}|220}}px|{{{caption|}}}<!--
Line 30: Line 31:
</includeonly><noinclude>
</includeonly><noinclude>
{{documentation}}
{{documentation}}
    <div style="position:relative; background-color:#FFFFFF; {{#switch:{{{type|}}}
Middle div:
    | thumb = border:1px solid #CCCCCC
  <div {{#ifeq:{{{type|}}}|thumb|class="thumbinner"}} style="{{#switch:{{{type|}}}
    | border = border:1px solid #DDDDDD}};"><!--
  | thumb | border = width:{{#expr:{{if empty|{{{width|}}}|220}}+2}}
 
  | #default = width:{{if empty|{{{width|}}}|220}}}}px;">
    --> Goes in front of {{#if
<!--
<!--
   Please add categories and interwikis
   Please add categories and interwikis

Revision as of 22:54, 14 November 2019

Middle div: