Fandom Developers Wiki

GameSlider allows to show multiple images (like game covers) in slider and assigns 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|200px|link=#G1|Game 1]]
[[File:Game2 BoxartSlider.png|200px|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)