Subscribe Today

Ad-Free Browsing

Close This Ad

Difference between revisions of "Template:Superimpose2"

 
(One intermediate revision by one other user not shown)
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: {{{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;">}}
Line 104: Line 104:
 
}}{{#if:{{{collapse|}}}|</div>}}[[File:{{{base}}}|{{{base_width}}}{{#if:{{{border|}}}|{{!}}border}}|link={{{base_link|}}}|alt={{{base_alt|}}}|{{{base_caption|}}}]]</div></includeonly><noinclude>
 
}}{{#if:{{{collapse|}}}|</div>}}[[File:{{{base}}}|{{{base_width}}}{{#if:{{{border|}}}|{{!}}border}}|link={{{base_link|}}}|alt={{{base_alt|}}}|{{{base_caption|}}}]]</div></includeonly><noinclude>
  
{{Documentation}}
+
{{/Documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Latest revision as of 03:36, 13 January 2021