Template:Event Banner Fade
Revision as of 17:03, 19 July 2023 by Chocolatecravinghobo (talk | contribs) (New placeholders + rng)
A template for event banners to change image on-hover using the .fadein
css, without having to make a new class every time.
Also allows for other new options, like changing the banner size.
{{Event Banner Fade|size=400px}}
{{Event Banner Fade|Incoming 2099 Event|incoming=true|size=400px}}
{{Event Banner Fade|Summer 2013 Event|jpg=true|caption=Southern Waters Assault Reconnaissance!|size=400px}}
{{Event Banner Fade|Summer 2013 Event|jpg=true|caption=Southern Waters Assault Reconnaissance!}}
{{Event Banner Fade|Fall 2020 Event|suffix=EO|caption=Escort! Fleet Transport Operation|size=400px}}
{{Event Banner Fade|Fall 2020 Event|suffix=EO|caption=Escort! Fleet Transport Operation}}
{{Event Banner Fade|File1=2013SpringEventBanner.jpg|File2=2013SpringEventBannerAlt.jpg|size=400px|link=Spring 2013 Event}}
{{Event Banner Fade|File1=2013SpringEventBanner.jpg|File2=2013SpringEventBannerAlt.jpg|link=Spring 2013 Event}}
Placeholders
If not specified, one is chosen at random (at different weights)
# | credit | example | Main Image | Hover Image | test |
---|---|---|---|---|---|
1 | Rambern4 | N/A | |||
2 | Ben_5917 assistance: Grunilg |
||||
3 | Ben_5917 assistance: Grunilg |
(redirects to #2) |
|||
4 | Ben_5917 | N/A |