Template
SlidingGallery
From Dogcraft Wiki
imported>William No edit summary |
imported>William No edit summary |
||
Line 1: | Line 1: | ||
<div style="width:{{{size|300}}}px; max-width:{{{size|300}}}px; display:inline-block; float:{{{float|right}}};"> | <includeonly><div style="width:{{{size|300}}}px; max-width:{{{size|300}}}px; display:inline-block; float:{{{float|right}}};"> | ||
<ul class="example-orbit" data-orbit> | <ul class="example-orbit" data-orbit> | ||
<li class="active"> | <li class="active"> | ||
Line 20: | Line 20: | ||
</li>|}}} | </li>|}}} | ||
</ul> | </ul> | ||
''{{{caption|}}}'' | |||
</div> | </div> | ||
</includeonly> | |||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> | ||
Line 53: | Line 55: | ||
"description": "Which side of the screen to float, left or right", | "description": "Which side of the screen to float, left or right", | ||
"example": "right" | "example": "right" | ||
}, | |||
"caption": { | |||
"label": "Caption", | |||
"description": "A caption for the gallery" | |||
} | } | ||
}, | }, | ||
Line 63: | Line 69: | ||
"img3", | "img3", | ||
"img4", | "img4", | ||
"img5" | "img5", | ||
"caption" | |||
] | ] | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Revision as of 00:38, 21 January 2020
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 |
This page was last modified on 21 January 2020, at 00:38. (11 months ago)