Template
SlidingGallery
From Dogcraft Wiki
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly><div class="phonefullscreen" style="width:{{{size|300}}}px; max-width:{{{size|300}}}px; display:inline-block; float:{{{float|right}}};"> | <includeonly><div class="phonefullscreen" style="width:{{{size|300}}}px; max-width:{{{size|300}}}px; display:inline-block; float:{{{float|right}}}; color:#6f6f6f"> | ||
<ul class="example-orbit" data-orbit data-options="animation: '{{{animation|slide}}}'; | <ul class="example-orbit" data-orbit data-options="animation: '{{{animation|slide}}}'; | ||
pause_on_hover:false; | pause_on_hover:false; | ||
| Line 24: | Line 24: | ||
[[File:{{{img5}}}|{{{size|300}}}px]] | [[File:{{{img5}}}|{{{size|300}}}px]] | ||
</li>|}} | </li>|}} | ||
</ul> | </ul>''{{{caption|}}}'' | ||
</div> | </div> | ||
</includeonly> | </includeonly> | ||
Revision as of 01:33, 1 February 2021
{{SlidingGallery
|size = 300
|caption = Example
|float = right
|animation = fade
|img1 = Dogcraft Red Cog Logo.png
|img2 = Wiki Logo Black.png
}}
Generates a sliding gallery of images.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Size | size | Size to display image in pixels
| Unknown | optional |
| Float | float | Which side of the screen to float, left or right
| Unknown | optional |
| Image 1 | img1 | no description
| Unknown | required |
| Image 2 | img2 | no description
| Unknown | required |
| Image 3 | img3 | no description | Unknown | optional |
| Image 4 | img4 | no description | Unknown | optional |
| Image 5 | img5 | no description | Unknown | optional |
| Caption | caption | A caption for the gallery | Unknown | optional |
| Animation Type | animation | Animation type; either slide or fade
| Unknown | optional |
| Timer Delay | timer_speed | Delay between photo changes. Set to 0 for no automatic timer.
| Unknown | optional |
This page was last modified on 1 February 2021, at 01:33. (2 years ago)