Difference between revisions of "Module:Superimpose/doc"
Jump to navigation
Jump to search
>FlareKyn (Created page with "<pre>{{#invoke:Superimpose|main |c1= |c2= |x2= |y2= |c3= |x3= |y3= ...}}</pre> *<code>c1</code>: Base content *<code>c2, c3, c4 ...</code>: Content to overlay, add as many as...") |
>Wong8888 m (→Example: typo) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 27: | Line 27: | ||
<pre>{{#invoke:Superimpose|main | <pre>{{#invoke:Superimpose|main | ||
|c1=[[File:100001 01 r04 portrait.png|300x300px|link=The Prince|alt=The Prince]] | |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 | + | |c2=[[File:Icon Weapon Sword.png|50x50px|link=File:Icon Weapon Sword.png|alt=]] |
|x2=50 | |x2=50 | ||
|y2=50}}</pre>{{#invoke:Superimpose|main | |y2=50}}</pre>{{#invoke:Superimpose|main | ||
|c1=[[File:100001 01 r04 portrait.png|300x300px|link=The Prince|alt=The Prince]] | |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 | + | |c2=[[File:Icon Weapon Sword.png|50x50px|link=File:Icon Weapon Sword.png|alt=]] |
|x2=50 | |x2=50 | ||
|y2=50}} | |y2=50}} | ||
Latest revision as of 08:58, 23 April 2020
{{#invoke:Superimpose|main
|c1=
|c2=
|x2=
|y2=
|c3=
|x3=
|y3=
...}}
c1: Base contentc2, c3, c4 ...: Content to overlay, add as many as neededx2, x3, x4 ...: In pixels, x coordinatey2, 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}}