Template:ImageCycle: Difference between revisions
Jump to navigation
Jump to search
DokkeFyxen (talk | contribs) (Testing something out in JavaScript with this one) |
DokkeFyxen (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly><span id="images">{{{images|}}}</span><span id="cycle-speed">{{{speed|3}}}</span><span id="image-cycle"></span></includeonly><noinclude> | <includeonly><span id="images">{{{images|}}}</span><span id="cycle-speed">{{{speed|3}}}</span><span id="image-cycle"></span></includeonly><noinclude> | ||
{{ImageCycle|[[File:Arcade_DC6A_Circuit_Board_Right_Render.png]][[File:Arcade_DC6A_Circuit_Board_Front_Render.png]][[File:Arcade_DC6A_Circuit_Board_Left_Render.png]]}} | {{ImageCycle|[[File:Arcade_DC6A_Circuit_Board_Right_Render.png]] [[File:Arcade_DC6A_Circuit_Board_Front_Render.png]] [[File:Arcade_DC6A_Circuit_Board_Left_Render.png]]}} | ||
Cycles between images listed in the image field, at the specified speed in seconds. | Cycles between images listed in the image field, at the specified speed in seconds. | ||
Line 7: | Line 7: | ||
==Usage== | ==Usage== | ||
<pre> | <pre> | ||
{{ImageCycle|images=[[File:Image_1.png]][[File:Image_2.png]][[File:Image_3.png]]|speed=3}}</pre> | {{ImageCycle|images=[[File:Image_1.png]] [[File:Image_2.png]] [[File:Image_3.png]]|speed=3}}</pre> | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 08:13, 26 July 2023
3
Cycles between images listed in the image field, at the specified speed in seconds.
Usage
{{ImageCycle|images=[[File:Image_1.png]] [[File:Image_2.png]] [[File:Image_3.png]]|speed=3}}