Template:Masked gif: Difference between revisions
Jump to navigation
Jump to search
Created page with "<includeonly><div class="qud-inline-gif"><div class="qud-inline-gif-mask"><span>gif</span></div>[[File:{{{img}}}|link=]][[File:{{{gif}}}|class=qud-invisible|link=]]</div></inc..." |
No edit summary |
||
Line 7: | Line 7: | ||
== Example Usage == | == Example Usage == | ||
<syntaxhighlight lang=html> | <syntaxhighlight lang=html> | ||
{{masked gif | machine press demo.png | machine press demo.gif }} | {{masked gif | img = machine press demo.png | gif = machine press demo.gif }} | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{masked gif | machine press demo.png | machine press demo.gif }} | {{masked gif | img = machine press demo.png | gif = machine press demo.gif }} | ||
</noinclude> | </noinclude> |
Revision as of 01:43, 27 October 2020
This template allows inserting a masked GIF onto a page. The GIF must then be clicked before it can play.
You must provide a mask image as the img
parameter (such as a static .png of the GIF or just a plain color rectangle), as well as a gif
parameter that includes the .gif image itself. The images should be the same size as one another.
Example Usage
{{masked gif | img = machine press demo.png | gif = machine press demo.gif }}
gif

