Template:Overlay Images: Difference between revisions
From Drunkapedia
imported>Tlosk (New page: <includeonly><div style="position: absolute;">[[Image:{{{Base Image|}}}]]</div><div style="position: absolute;">[[Image:{{{Top Image|}}}]]</div></includeonly><noinclude> {{Related|Wiki Tem...) |
imported>Tlosk No edit summary |
||
(7 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
== Usage == | == Usage == | ||
Overlays one image directly over another, use a gif or png image with transparency for the second image. This is useful for a variety of applications including overlaying just the needed information (small file size) over a more detailed base image (large file size). | |||
For example: | |||
{|border=0 | |||
| [[Image:Test 1.png|frame|Test 1.png]] | |||
| [[Image:Test 2.png|frame|Test 2.png]] | |||
|} | |||
<pre> | <pre> | ||
Line 28: | Line 33: | ||
| Top Image = Test 2.png | | Top Image = Test 2.png | ||
}} | }} | ||
Latest revision as of 15:06, 18 January 2009
Related topics: Wiki Templates
Syntax
{{Overlay Images | Base Image = <Image Name.jpg> | Top Image = <Image Name.png> }}
Usage
Overlays one image directly over another, use a gif or png image with transparency for the second image. This is useful for a variety of applications including overlaying just the needed information (small file size) over a more detailed base image (large file size).
For example:
{{Overlay Images | Base Image = Test 1.png | Top Image = Test 2.png }}
displays as: