Template:Superimpose2: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
<includeonly><<div class="{{#switch:{{{align|}}}|left=floatleft|right=floatright|center|#default=floatnone}} noresize" style="position: relative; width: {{#if:{{{border|}}}|{{#expr:{{str sub|{{{base_width|{{{width|0}}}}}}|0|{{#expr:{{str find|{{{base_width|{{{width|0}}}}}}|px}} -1}}}}+2}}px|{{{base_width|{{{width|0px}}}}}}}}; {{#ifeq:{{{align|}}}|center|margin-left:auto; margin-right:auto;}} {{{base_style|}}}">
<includeonly><div class="{{#switch:{{{align|}}}|left=floatleft|right=floatright|center|#default=floatnone}} noresize" style="position: relative; width: {{#if:{{{border|}}}|{{#expr:{{str sub|{{{base_width|{{{width|0}}}}}}|0|{{#expr:{{str find|{{{base_width|{{{width|0}}}}}}|px}} -1}}}}+2}}px|{{{base_width|{{{width|0px}}}}}}}}; {{#ifeq:{{{align|}}}|center|margin-left:auto; margin-right:auto;}} {{{base_style|}}}">
{{#if:{{{collapse|}}}|<div class="nomobile mw-customtoggle-superimpose" style="position: absolute; right: 0; {{#if:{{{collapse_color|}}}|style=color:{{{collapse_color}}}}}">[toggle view]</div>
{{#if:{{{collapse|}}}|<div class="nomobile mw-customtoggle-superimpose" style="position: absolute; right: 0; {{#if:{{{collapse_color|}}}|style=color:{{{collapse_color}}}}}">[toggle view]</div>
<div class="mw-collapsible" id="mw-customcollapsible-superimpose" style="max-height: 0;">}}
<div class="mw-collapsible" id="mw-customcollapsible-superimpose" style="max-height: 0;">}}
{{Superimpose2/base
{{Superimpose2/base
|l=1|br=|x={{{x|}}}|y={{{y}}}|image={{{float|}}}|width={{{float_width}}}|alt={{{float_alt|}}}|link={{{link|}}}|caption={{{float_caption|}}}|t={{{t|}}}
|l=1|br={{{br|<br />}}}|x={{{x|}}}|y={{{y}}}|image={{{float|}}}|width={{{float_width}}}|alt={{{float_alt|}}}|link={{{link|}}}|caption={{{float_caption|}}}|t={{{t|}}}
}}{{Superimpose2/base
}}{{Superimpose2/base
|l=2|br=|x={{{x2|}}}|y={{{y2}}}|image={{{float2|}}}|width={{{float2_width}}}|alt={{{float2_alt|}}}|link={{{link2|}}}|caption={{{float2_caption|}}}|t={{{t2|}}}
|l=2|br={{{br|<br />}}}|x={{{x2|}}}|y={{{y2}}}|image={{{float2|}}}|width={{{float2_width}}}|alt={{{float2_alt|}}}|link={{{link2|}}}|caption={{{float2_caption|}}}|t={{{t2|}}}
}}{{Superimpose2/base
}}{{Superimpose2/base
|l=3|br={{{br|<br />}}}|x={{{x3|}}}|y={{{y3}}}|image={{{float3|}}}|width={{{float3_width}}}|alt={{{float3_alt|}}}|link={{{link3|}}}|caption={{{float3_caption|}}}|t={{{t3|}}}
|l=3|br={{{br|<br />}}}|x={{{x3|}}}|y={{{y3}}}|image={{{float3|}}}|width={{{float3_width}}}|alt={{{float3_alt|}}}|link={{{link3|}}}|caption={{{float3_caption|}}}|t={{{t3|}}}

Latest revision as of 11:40, 26 March 2019