|
Thanks for using our site! |
Template:Superimpose2: Difference between revisions
From ranchstory
Jump to navigationJump to search
imported>Kiwibasket No edit summary |
imported>Kiwibasket 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|}}}"> | ||
<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 | ||
| Line 106: | Line 105: | ||
}}{{Superimpose2/base | }}{{Superimpose2/base | ||
|l=52|br={{{br|<br />}}}|x={{{x52|}}}|y={{{y52}}}|image={{{float52|}}}|width={{{float52_width}}}|alt={{{float52_alt|}}}|link={{{link52|}}}|caption={{{float52_caption|}}}|t={{{t52|}}} | |l=52|br={{{br|<br />}}}|x={{{x52|}}}|y={{{y52}}}|image={{{float52|}}}|width={{{float52_width}}}|alt={{{float52_alt|}}}|link={{{link52|}}}|caption={{{float52_caption|}}}|t={{{t52|}}} | ||
}}{{#if:{{{collapse|}}}|</div>}}{{#if:{{{imagemap|}}}|{{{imagemap}}}|[[File:{{{base}}}|{{{base_width}}}{{#if:{{{border|}}}|{{!}}border}}|link={{{base_link|}}}|alt={{{base_alt|}}}|{{{base_caption|}}}]]}}</div></includeonly><noinclude> | }}{{#if:{{{collapse|}}}|</div>}}{{#if:{{{imagemap|}}}|{{{imagemap}}}|[[File:{{{base}}}|{{{base_width}}}{{#if:{{{border|}}}|{{!}}border}}|link={{{base_link|}}}|alt={{{base_alt|}}}|{{{base_caption|}}}]]}}</div> | ||
{{#if:{{{collapse|}}}|<div class="nomobile mw-customtoggle-superimpose" style="position: absolute; right: 0; {{#if:{{{collapse_color|}}}|style=color:{{{collapse_color}}}}}">[toggle view]</div></includeonly><noinclude> | |||
For documentation, see [https://en.wikipedia.org/wiki/Template:Superimpose2 w:Template:Superimpose2]. | For documentation, see [https://en.wikipedia.org/wiki/Template:Superimpose2 w:Template:Superimpose2]. | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> | ||
Revision as of 20:49, 16 June 2021
For documentation, see w:Template:Superimpose2.