Difference between revisions of "Template:Superimpose"

From Pathfinder Wiki
(+he)
 
 
(17 intermediate revisions by one other user not shown)
Line 1: Line 1:
<div style="position: relative;"><div class{{{x|}}}="hiddenStructure" style="position: absolute; left: {{{x|0}}}px; top: {{{y|0}}}px; padding: 0;">[[Image:{{{float}}}|{{{float_width}}}|{{{float_caption}}}]]</div>[[Image:{{{base}}}|{{{base_width}}}|{{{base_caption}}}]]</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=}}">{{
<noinclude>
+
#if: {{{x|}}}  
 
+
  | <div style="position: absolute; left: {{{x|0}}}px; top: {{{y|0}}}px; padding: 0;"><!--
[[Category:Graphic templates]]
+
      -->[[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>
[[de:Vorlage:Bild mit Markierung]]
+
<!-- Add categories and interwikis to the /doc subpage, not here! -->
[[es:Plantilla:Sobrepuesto]]
 
[[fi:Malline:Superimpose]]
 
[[fr:Modèle:Superpose]]
 
[[he:תבנית:החפפת תמונה]]
 
[[nl:Sjabloon:Superimpose]]
 
[[ro:Format:Suprapunere]]
 
[[rmy:Format:Opralthovipen]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 12:11, 5 September 2021

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