Template:Location mark: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#ifeq:{{{float|}}}|center|<div class="center">}} | <includeonly>{{#ifeq:{{{float|}}}|center|<div class="center">}} | ||
<div class="{{#ifeq:{{{type|}}}|thumb | |||
| thumb {{#switch:{{{float|}}} | | thumb {{#switch:{{{float|}}} | ||
| "left" | left = tleft | | "left" | left = tleft | ||
Line 23: | Line 13: | ||
| "none" | none = floatnone | | "none" | none = floatnone | ||
| #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;"> | |||
<div style="position:relative; background-color:#FFFFFF; {{#switch:{{{type|}}} | <div style="position:relative; background-color:#FFFFFF; {{#switch:{{{type|}}} | ||
Line 28: | Line 22: | ||
| border = border:1px solid #DDDDDD}};"><!-- | | 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 36: | Line 30: | ||
-->{{#if:{{{caption|}}}|{{#ifeq:{{{type|}}}|thumb|<div class="thumbcaption">{{{caption|}}}</div>}}}} | -->{{#if:{{{caption|}}}|{{#ifeq:{{{type|}}}|thumb|<div class="thumbcaption">{{{caption|}}}</div>}}}} | ||
</div> | |||
</div> | |||
{{#ifeq:{{{float|}}}|center|</div>}}</includeonly><noinclude> | |||
{{documentation}} | |||
<!-- | |||
-->[[File:{{{image|}}}|{{if empty|{{{width|}}}|220}}px|{{{caption|}}}<!-- | |||
-->{{#if:{{{alt|}}}{{{caption|}}}|{{!}}alt={{if empty|{{{alt|}}}|{{{caption|}}}}}}}]] | |||
<!-- | <!-- | ||
Please add categories and interwikis | Please add categories and interwikis |
Latest revision as of 00:20, 16 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. |
[[File:|220px|]]