Template:ImageCycle: Difference between revisions
Jump to navigation
Jump to search
DokkeFyxen (talk | contribs) mNo edit summary |
DokkeFyxen (talk | contribs) m (Fixed image display) |
||
Line 1: | Line 1: | ||
<includeonly><span id="images">{{{images|[[File:Arcade_DC6A_Circuit_Board_Right_Render.png|128px]] [[File:Arcade_DC6A_Circuit_Board_Front_Render.png|128px]] [[File:Arcade_DC6A_Circuit_Board_Left_Render.png|128px]]}}}</span><span id="cycle_speed">{{{speed| | <includeonly><span id="images" style="display: none;">{{{images|[[File:Arcade_DC6A_Circuit_Board_Right_Render.png|128px]][[File:Arcade_DC6A_Circuit_Board_Front_Render.png|128px]][[File:Arcade_DC6A_Circuit_Board_Left_Render.png|128px]]}}}</span><span id="cycle_speed" style="display: none;">{{{speed|1.5}}}</span><span id="image_cycle"></span></includeonly> | ||
<noinclude> | <noinclude> | ||
{{ImageCycle|[[File:Arcade_DC6A_Circuit_Board_Right_Render.png|128px]] [[File:Arcade_DC6A_Circuit_Board_Front_Render.png|128px]] [[File:Arcade_DC6A_Circuit_Board_Left_Render.png|128px]]|speed=1}} | {{ImageCycle|[[File:Arcade_DC6A_Circuit_Board_Right_Render.png|128px]][[File:Arcade_DC6A_Circuit_Board_Front_Render.png|128px]][[File:Arcade_DC6A_Circuit_Board_Left_Render.png|128px]]|speed=1.5}} | ||
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 8: | Line 8: | ||
==Usage== | ==Usage== | ||
<pre> | <pre> | ||
{{ImageCycle|images=[[File:Image_1.png]] [[File:Image_2.png]] [[File:Image_3.png]]|speed= | {{ImageCycle|images=[[File:Image_1.png]][[File:Image_2.png]][[File:Image_3.png]]|speed=1.5}}</pre> | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 06:44, 2 August 2023
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=1.5}}