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:right;">
<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 21: Line 21:
</ul>
</ul>
</div>
</div>
<noinclude>
<templatedata>
{
"params": {
"size": {
"label": "Size",
"description": "Size to display image in pixels",
"example": "300"
},
"img1": {
"label": "Image 1",
"example": "example.png",
"required": true
},
"img2": {
"label": "Image 2",
"example": "example.png",
"required": true
},
"img3": {
"label": "Image 3"
},
"img4": {
"label": "Image 4"
},
"img5": {
"label": "Image 5"
},
"float": {
"label": "Float",
"description": "Which side of the screen to float, left or right",
"example": "right"
}
},
"description": "Generates a sliding gallery of images.",
"paramOrder": [
"size",
"float",
"img1",
"img2",
"img3",
"img4",
"img5"
]
}
</templatedata>
</noinclude>

Revision as of 00:37, 21 January 2020

  • [[File:{{{img1}}}|300px]]
  • [[File:{{{img2}}}|300px]]
  • } } }

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
This page was last modified on 21 January 2020, at 00:37. (11 months ago)