Difference between revisions of "Module:Superimpose/doc"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Wong8888
m (→‎Example: typo)
>Wong8888
m (→‎Example: typo)
(No difference)

Revision as of 08:58, 23 April 2020

{{#invoke:Superimpose|main
|c1=
|c2=
|x2=
|y2=
|c3=
|x3=
|y3=
...}}
  • c1: Base content
  • c2, c3, c4 ...: Content to overlay, add as many as needed
  • x2, x3, x4 ...: In pixels, x coordinate
  • y2, y3, y4 ...: In pixels, y coordinate
{{#invoke:Superimpose|images
|c1=
|c2=
|x2=
|y2=
|r2=
|c3=
|x3=
|y3=
|r3=
...}}
  • r2, r3, r4 ...: In pixels, clip region (e.g. 2,98,98,2)

Example

{{#invoke:Superimpose|main
|c1=[[File:100001 01 r04 portrait.png|300x300px|link=The Prince|alt=The Prince]]
|c2=[[File:Icon Weapon Sword.png|50x50px|link=File:Icon Weapon Sword.png|alt=]]
|x2=50
|y2=50}}

The Prince