Template:ImageCarousel: Difference between revisions
Jump to navigation
Jump to search
DokkeFyxen (talk | contribs) (Placeholder for template) |
DokkeFyxen (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{|style="height:10px; text-align:center;" | <includeonly><div> | ||
{|style="height:10px; text-align:center;" | |||
|<span>[[File:Tweak_Generic_Arrow_Lesser.svg|32px]]</span><span id="{{{customID|image}}}">{{{images|[[File:Base_Logic_LCD_Circle_Circuit_Node_Front_Render.png|128px]]}}}</span><span>[[File:Tweak_Generic_Arrow_Greater.svg|32px]]</span> | |<span>[[File:Tweak_Generic_Arrow_Lesser.svg|32px]]</span><span id="{{{customID|image}}}">{{{images|[[File:Base_Logic_LCD_Circle_Circuit_Node_Front_Render.png|128px]]}}}</span><span>[[File:Tweak_Generic_Arrow_Greater.svg|32px]]</span> | ||
|-style="height:10px; text-align:center; font-style: italic;" | |-style="height:10px; text-align:center; font-style: italic;" | ||
Line 6: | Line 6: | ||
|-style="text-align:center;" | |-style="text-align:center;" | ||
|<span>[[File:Image_Carousel_Dot_Off.png|32px]][[File:Image_Carousel_Dot_On.png|32px]][[File:Image_Carousel_Dot_Off.png|32px]]</span> | |<span>[[File:Image_Carousel_Dot_Off.png|32px]][[File:Image_Carousel_Dot_On.png|32px]][[File:Image_Carousel_Dot_Off.png|32px]]</span> | ||
|}</includeonly> | |}</div></includeonly> | ||
<noinclude> | <noinclude> | ||
{{ImageCarousel|text=Circuit Node|images=[[File:Base_Logic_LCD_Circle_Circuit_Node_Front_Render.png|128px]]|customID=carouselCircuitNode1}} | {{ImageCarousel|text=Circuit Node|images=[[File:Base_Logic_LCD_Circle_Circuit_Node_Front_Render.png|128px]]|customID=carouselCircuitNode1}} | ||
A carousel for images listed in the image field; cycles when the arrows are selected. | |||
==Usage== | ==Usage== | ||
<pre> | <pre> | ||
{{ImageCarousel | {{ImageCarousel|images=[[File:Image_1.png]][[File:Image_2.png]][[File:Image_3.png]]|customID=yourCycle}}</pre> | ||
text - optional name of item displayed | text - optional name of item displayed |
Revision as of 18:29, 8 August 2023
A carousel for images listed in the image field; cycles when the arrows are selected.
Usage
{{ImageCarousel|images=[[File:Image_1.png]][[File:Image_2.png]][[File:Image_3.png]]|customID=yourCycle}}
text - optional name of item displayed images - list of images customID - if multiple cycles are needed per page, each needs a different id to work