Difference between revisions of "Template:Superimpose"

From Shipbucket Wiki
Jump to: navigation, search
(add optional align parameter)
m (1 revision imported)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<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=}}">{{
+
<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;"><!--

Latest revision as of 21:04, 8 February 2018

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