Template:Superimpose

From Spirit Island Wiki
Jump to navigation Jump to search


This is a template to overlap two images, taken and very slightly modified from [1]. base_width and float_width are not optional, unlike the original template. x and y specify the offset of the two images. This template was added to assist in creating composite icons, with expected use in Jagged Earth growth options and presence tracks.

There is a version that overlaps more than two images; it's possible this template may be changed to that one in the future, but it should be backwards compatible.


Example 1:

{{Superimpose
  | align = left
  | base = Earthelement.png
  | base_width = 40px
  | float = Earthelement.png
  | float_width = 40px
  | x = 14
  | y = 8
}}



Example 2, using additional presence track formatting:

<div id="presence"><div class="track"><div class="option">
<div style="position:relative; top:16px; left:25px;>
{{Superimpose
  | align = left
  | base = Reclaimone.png
  | base_width = 27px
  | float = Earthelement.png
  | float_width = 45px
  | x = -30
  | y = -16
}}</div></div></div></div>