Template:Superimpose: Difference between revisions

Jump to navigation Jump to search
en>Ronhjones
m (Reverted edits by Filedelinkerbot (talk) to last version by Great Brightstar)
m (1 revision imported)
 
(9 intermediate revisions by one other user not shown)
Line 1: Line 1:
<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;}}">{{
<includeonly>
#if: {{{float|}}}
<div style="position: relative; width: {{{base_width}}};{{#switch:{{{align|}}}|left=float:left; clear:left;|right=float:right; clear:right;|center=margin-left:auto; margin-right:auto;|#default=}}">{{
#if: {{{x|}}}  
   | <div style="position: absolute; left: {{{x|0}}}px; top: {{{y|0}}}px; padding: 0;"><!--
   | <div style="position: absolute; left: {{{x|0}}}px; top: {{{y|0}}}px; padding: 0;"><!--
       -->[[Image:{{{float}}}|{{if empty|{{{float_width|{{{width|}}}}}}|0px}}{{#ifeq:{{{float_link|}}}|file:||{{!}}link={{{float_link|}}}}}|alt={{{float_alt|}}}|{{{float_caption|}}}]]</div>
       -->[[Image:{{{float}}}|{{{float_width}}}{{#ifeq:{{{float_link|}}}|file:||{{!}}link={{{float_link|}}}}}|alt={{{float_alt|}}}|{{{float_caption|}}}]]</div>
}}[[Image:{{{base|blank.png}}}|{{if empty|{{{base_width|{{{width|}}}}}}|0px}}{{#ifeq:{{{base_link|file:}}}|file:||{{!}}link={{{base_link|file:}}}}}|alt={{{base_alt|}}}|{{{base_caption|}}}]]</div>{{#invoke:Check for unknown parameters|check|unknown=[[Category:Pages using superimpose with unknown parameters|_VALUE_{{PAGENAME}}]]|preview=Page using [[Template:Superimpose]] with unknown parameter "_VALUE_"|ignoreblank=y| align | base | base_alt | base_caption | base_link | base_width | float | float_alt | float_caption | float_link | float_width | width | x | y }}<noinclude>
}}[[Image:{{{base}}}|{{{base_width}}}{{#ifeq:{{{base_link|file:}}}|file:||{{!}}link={{{base_link|file:}}}}}|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 23:17, 20 October 2020