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}}}}"> | ||
{{#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}} | ||
Middle div: | |||
<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;"> | |||
<!-- | <!-- | ||
Please add categories and interwikis | Please add categories and interwikis |
Revision as of 22:54, 14 November 2019
File:Test Template Info-Icon - Version (2).svg Template documentation[create]
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
Middle div: