|
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 |
||
| (25 intermediate revisions by the same 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: {{#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="mw-collapsible" | {{#if:{{{collapse|}}}|<div class="mw-collapsible" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}>}} | ||
{{Superimpose2/base | {{Superimpose2/base | ||
|l=1|br={{{br|<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|}}} | ||
| Line 106: | Line 106: | ||
|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> | }}{{#if:{{{collapse|}}}|</div>}}{{#if:{{{imagemap|}}}|{{{imagemap}}}|[[File:{{{base}}}|{{{base_width}}}{{#if:{{{border|}}}|{{!}}border}}|link={{{base_link|}}}|alt={{{base_alt|}}}|{{{base_caption|}}}]]}}</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> | ||
Latest revision as of 11:21, 19 June 2021
For documentation, see w:Template:Superimpose2.