Difference between revisions of "Template:Superimpose"

From Shipbucket Wiki
Jump to: navigation, search
(add optional align parameter)
m (1 revision imported)
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;"><!--

Revision as of 17:12, 31 January 2018

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