Template:Event Banner Fade

Revision as of 09:16, 21 July 2023 by Chocolatecravinghobo (talk | contribs) (bugfix + doc)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 Placeholder 1.pngEvent Banner Placeholder 1.png

{{Event Banner Fade|Incoming 2099 Event|incoming=true|size=400px}}

Incoming 2099 EventEvent Banner Placeholder 1.png



{{Event Banner Fade|Summer 2013 Event|jpg=true|caption=Southern Waters Assault Reconnaissance!|size=400px}}

Southern Waters Assault Reconnaissance!Summer 2013 Event Banner.jpg

{{Event Banner Fade|Summer 2013 Event|jpg=true|caption=Southern Waters Assault Reconnaissance!}}

Southern Waters Assault Reconnaissance!Summer 2013 Event Banner.jpg



{{Event Banner Fade|Fall 2020 Event|suffix=EO|caption=Escort! Fleet Transport Operation|size=400px}}

Escort! Fleet Transport OperationFall 2020 Event Banner EO.png

{{Event Banner Fade|Fall 2020 Event|suffix=EO|caption=Escort! Fleet Transport Operation}}

Escort! Fleet Transport OperationFall 2020 Event Banner EO.png



{{Event Banner Fade|File1=2013SpringEventBanner.jpg|File2=2013SpringEventBannerAlt.jpg|size=400px|link=Spring 2013 Event}}

Break into the Enemy Anchorage!Spring 2013 Event Banner.jpg

{{Event Banner Fade|File1=2013SpringEventBanner.jpg|File2=2013SpringEventBannerAlt.jpg|link=Spring 2013 Event}}

Break into the Enemy Anchorage!Spring 2013 Event Banner.jpg

Placeholders

If not specified, one is chosen at random (at different weights) each hard refresh (page edit/purge).

# credit % to
appear
example Main Image Hover Image test
1 Rambern4 50/101 Event Banner Placeholder 1.pngEvent Banner Placeholder 1.png Event Banner Placeholder 1.png N/A
2 Ben_5917
assistance: Grunilg
40/101 Event Banner Placeholder 2 Alt.pngEvent Banner Placeholder 2.png Event Banner Placeholder 2.png Event Banner Placeholder 2 Alt.png
3 Ben_5917
assistance: Grunilg
10/101 Event Banner Placeholder 3 Alt.pngEvent Banner Placeholder 2.png (redirects to #2)
Event Banner Placeholder 2.png
Event Banner Placeholder 3 Alt.png
4 Ben_5917 1/101 Event Banner Placeholder 4.pngEvent Banner Placeholder 4.png Event Banner Placeholder 4.png N/A