Template:Superimpose: Difference between revisions
From Jenny Everywhere Wiki
m (+ lock) |
m (5 revisions imported) Tags: Mobile edit Mobile web edit |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<div style="position: relative; width: {{{base_width}}};">{{ | <div style="position: relative; width: {{{base_width}}};">{{ | ||
#if: {{{x|}}} | # 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;"><!-- | ||
-->[[ | -->[[File:{{{float}}}|{{{float_width}}}{{#ifeq:{{{float_link|}}}|file:||{{!}}link={{{float_link|}}}}}|alt={{{float_alt|}}}|{{{float_caption|}}}]]</div> | ||
}}[[ | }}[[File:{{{base}}}|{{{base_width}}}{{#ifeq:{{{base_link|file:}}}|file:||{{!}}link={{{base_link|file:}}}}}|alt={{{base_alt|}}}|{{{base_caption|}}}]]</div><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
[[Category:Coding utility templates]] | [[Category:Coding utility templates]] | ||
{{lock}}</noinclude> | {{lock}}</noinclude> |
Latest revision as of 01:33, 13 August 2024
{{
- if:
[[File:{{{float}}}|{{{float_width}}}|link=|alt=|]]
}}[[File:{{{base}}}|{{{base_width}}}|alt=|]]Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |