[go: nahoru, domu]

Jump to content

Template:Superimpose and Template:Superimpose/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
Content deleted Content added
Ronhjones (talk | contribs)
m Reverted edits by Filedelinkerbot (talk) to last version by Great Brightstar
 
No edit summary
 
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><div style="position: relative; width: {{{base_width}}};" {{#if:{{{base_caption|}}}|{{!}}title="{{{base_caption|}}}"}}><!--

#if: {{{float|}}}
| <div style="position: absolute; left: {{{x|0}}}px; top: {{{y|0}}}px; padding: 0;"><!--
-->{{#if: {{{x|}}}|<div style="position: absolute; padding: 0; left: {{{x|0}}}px; top: {{{y|0}}}px;"
{{#if:{{{float_caption|}}}|title="{{{float_caption|}}}}}"><!--
-->[[Image:{{{float}}}|{{if empty|{{{float_width|{{{width|}}}}}}|0px}}{{#ifeq:{{{float_link|}}}|file:||{{!}}link={{{float_link|}}}}}|alt={{{float_alt|}}}|{{{float_caption|}}}]]</div>
-->[[File:{{{float}}}|{{{float_width}}}<!--
}}[[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>
-->{{#if:{{{float_caption|}}}{{{float_link|}}}|{{!}}{{if empty|{{{float_caption|}}}|{{{float_link|}}}}}}}<!--
{{Documentation}}
-->|alt={{if empty|{{{float_alt|}}}|{{{float_caption|}}}|{{{float}}} }}<!--
<!-- Add categories and interwikis to the /doc subpage, not here! -->
** if float_link is defined then specify a link which might be empty (suppressing any link) **
-->{{#ifeq:{{{float_link|+}}}|{{{float_link|-}}}|{{!}}link={{{float_link|}}}}}]]</div>}}<!--

-->{{#if:{{{base_link|}}}|{{#if:{{{base_attr|}}}|<div style="position: absolute; padding: 0;
{{#switch:{{{base_attr|}}}
| tl | top left = top:0;left:0;
| tr | top right = top:0;right:0;
| bl | bottom left = bottom:0;left:0;
| right: 0; bottom: 0;}}"><!--
-->[[File:Desc-20.png|20px|About this image|link=File:{{{base}}}]]</div>}}}}<!--

-->[[Image:{{{base}}}|{{{base_width}}}<!--
-->{{#if:{{{base_caption|}}}|{{!}}{{{base_caption|}}}}}<!--
-->|alt={{if empty|{{{base_alt|}}}|{{{base_caption|}}}|{{{base|}}}}}<!--
-->{{#if:{{{base_link|}}}|{{!}}link={{{base_link|}}}}}]]</div></includeonly><noinclude>
{{#ifeq:{{SUBPAGENAME}}|sandbox
| {{template sandbox notice}}
| {{documentation}} }}
<!--
PLEASE ADD CATEGORIES TO THE /doc SUBPAGE, THANKS
-->
</noinclude>
</noinclude>