Template:Superimpose: Difference between revisions
From Jenny Everywhere Wiki
m (changing File/image/Image: to file: so that all pics are named the same and db maintenance is made easier - TIF run) |
m (Robot: Cosmetic changes) |
||
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> |
Revision as of 23:44, 30 January 2012
{{
- 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. |