I need help with GameSliders on my wiki, because it won’t work and I’ve added the import, my wiki is a UCP wiki, and I’ve did everything correctly, if you can help fix it I can give you admin for a while. Thanks
I need help with GameSliders on my wiki, because it won’t work and I’ve added the import, my wiki is a UCP wiki, and I’ve did everything correctly, if you can help fix it I can give you admin for a while. Thanks
It doesn’t show the image https://bgs-community-content.fandom.com/wiki/BGS_Community_Content_Wikia#Pet_
Go on your Wikia.css in the other section where you already have CSS rules for tabbers, and wherever there is background: with a color change it to background-color:
(The usage of !important there is also problematic but leave it for now)
Ok
Do I change background:Color Code to background-color:Color Code or just background-color:
background-color:Color Code
The point is that background includes the background image too and setting it to nothing.
Oh, ok
Just for you know, the script does work, demonstrated by KockaAdmiralac who was the one to mark it as UCP-ready.
Ok, thanks can you help me use it, because for some reason it won’t work for me.
First put the import of GameSlider at the top of your ImportJS, so it won't be blocked by the mess below it.
Second put this code on some test page, and replace the image names. Don't change the links, they are not supposed to link anywhere.
<div class="game-slider">
[[File:Wiki.png|x200px|link=#G1|Test]]
[[File:Wiki.png|x200px|link=#G2|Test]]
[[File:Wiki.png|x200px|link=#G3|Test]]
[[File:Wiki.png|x200px|link=#G4|Test]]
</div>
Third, create a template named Template:GameSlider/Content and put the main stuff on it like that:
{{#switch:{{{1}}}
|G1 =
WHATEVER YOU WANT UNDER IMAGE 1
|G2 =
WHATEVER YOU WANT UNDER IMAGE 2
|G3 =
WHATEVER YOU WANT UNDER IMAGE 3
|G4 =
WHATEVER YOU WANT UNDER IMAGE 4
}}
Ok, thanks
What do you think?