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.

Template parameters

ParameterDescriptionTypeStatus
Sizesize

Size to display image in pixels

Example
300
Unknownoptional
Floatfloat

Which side of the screen to float, left or right

Example
right
Unknownoptional
Image 1img1

no description

Example
example.png
Unknownrequired
Image 2img2

no description

Example
example.png
Unknownrequired
Image 3img3

no description

Unknownoptional
Image 4img4

no description

Unknownoptional
Image 5img5

no description

Unknownoptional
Captioncaption

A caption for the gallery

Unknownoptional
This page was last modified on 21 January 2020, at 00:38. (11 months ago)
Background Valentine's Day Event 2024 by TheWhiteTigerNL