Difference between revisions of "Template:Superimpose"

From Pathfinder Wiki
(First attempt at this teplate)
 
 
(40 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<div style="position: relative;"><div style="position: absolute; display: block; left: {{{3}}}px; top: {{{4}}}px; width: {{{5}}}px; height: {{{5}}}px; padding: 0;">[[Image:Locator_Dot.svg|{{{5}}}px]]</div>[[Image:{{{1}}}|{{{2}}}px|Locator Map]]</div>
+
<div style="position: relative; width: {{{base_width}}}; max-width: {{{base_max_width}}};{{#switch:{{{align|}}}|left=float:left; clear:left;|right=float:right; clear:right;|center=margin-left:auto; margin-right:auto;|#default=}}">{{
 +
#if: {{{x|}}}  
 +
  | <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>
 +
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 +
</noinclude>

Latest revision as of 12:11, 5 September 2021

[[File:{{{base}}}|{{{base_width}}}|alt=|]]