Difference between revisions of "Template:Superimpose"

From Shipbucket Wiki
Jump to: navigation, search
(dupe pp)
 
(add optional align parameter)
Line 1: Line 1:
<div style="position: relative; width: {{{base_width}}};">{{
+
<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|}}}  
 
#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;"><!--

Revision as of 14:27, 27 July 2017

[[Image:{{{base}}}|{{{base_width}}}|alt=|]]
Documentation icon Template documentation[create]