Template
SlidingGallery
From Dogcraft Wiki
imported>William No edit summary |
imported>William No edit summary |
||
Line 81: | Line 81: | ||
"label": "Caption", | "label": "Caption", | ||
"description": "A caption for the gallery" | "description": "A caption for the gallery" | ||
}, | |||
"animation": { | |||
"label": "Animation Type", | |||
"description": "Animation type; either slide or fade", | |||
"example": "slide" | |||
}, | |||
"timer_speed": { | |||
"label": "Timer Delay", | |||
"description": "Delay between photo changes. Set to 0 for no automatic timer.", | |||
"example": "10000" | |||
} | } | ||
}, | }, | ||
Line 92: | Line 102: | ||
"img4", | "img4", | ||
"img5", | "img5", | ||
"caption" | "caption", | ||
"animation", | |||
"timer_speed" | |||
] | ] | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Revision as of 01:07, 21 January 2020
{{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 21 January 2020, at 01:07. (11 months ago)