Languages: English

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.


See also: Help:Including additional CSS and JS, Help:Advanced CSS and JS
  • For site-wide use, an administrator can add the line below to the wiki's MediaWiki:ImportJS page. Note that JavaScript must be enabled on the wiki.


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">
[[Plik:Game1_BoxartSlider.png|x200px|link=#G1|Game 1]]
[[Plik:Game2_BoxartSlider.png|x200px|link=#G2|Game 2]]

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.

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.