FANDOM


GameSlider – script that allows to show multiple images (like game covers) in slider and asigns to them boxes with content, that are shown after clicking them.

Installation

Usage

To show the slider you need to insert div with "game-slider" class and with images that will be shown in slider, like shown below:

<div class="game-slider" data-template="GameSlider/Content">
[[File:Game1_BoxartSlider.png|x200px|link=#G1|Game 1]]
[[File:Game2_BoxartSlider.png|x200px|link=#G2|Game 2]]
</div>

When one of the images in slider is clicked, script will parse defined template (Template:GameSlider/Content by default) with image link as parameter and it will be shown below slider.

Text above can be found here (edit)
Community content is available under CC-BY-SA unless otherwise noted.

Fandom may earn an affiliate commission on sales made from links on this page.

Stream the best stories.

Fandom may earn an affiliate commission on sales made from links on this page.

Get Disney+