Line 1:
Line 1:
−
<span style="position:relative;display:inline;">[[File:2013SpringEventBanner.jpg|400px]]<span style="
+
<includeonly><span style="position:relative;display:inline;">[[File:{{#if:{{{File1|}}}|{{{File1|}}}|{{{1|}}} Banner{{#if:{{{suffix|}}}| {{{suffix|}}}|}}.{{#ifeq:{{{jpg|}}}|true|jpg|png}} }}{{#if:{{{size|}}}|{{!}}{{{size}}}}}]]<span style="position:absolute;right:0px;
−
position:absolute;
+
">[[File:{{#if:{{{File2|}}}|{{{File2|}}}|{{{1|}}} Banner{{#if:{{{suffix|}}}| {{{suffix|}}}|}} Alt.{{#ifeq:{{{jpg|}}}|true|jpg|png}} }}|link={{{link|{{{1|}}} }}}{{#if:{{{size|}}}| {{!}}{{{size}}} }}{{#if:{{{caption| {{{link| {{{1|}}} }}} }}}|{{!}}{{{caption|{{{link|}}} }}} }}|class=fadein]]</span></span></includeonly><noinclude>
−
right:0px;
+
A template for event banners to change image on-hover using the <code>.fadein</code> css, without having to make a new class every time.
−
">[[File:2013SpringEventBannerAlt.jpg|Break into the Enemy Anchorage!|link=Spring 2013 Event|class=fadein|400px]]</span></span>
+
<br>Also allows for other new options, like changing the banner size.
+
+
+
{{colour|red|'''Currently waiting for Event Banner file renames.'''}}
+
+
+
<pre>{{Event Banner Fade|Summer 2013 Event|jpg=true|caption=Southern Waters Assault Reconnaissance!|size=400px}}</pre>
+
{{ {{PAGENAME}}|Summer 2013 Event|jpg=true|caption=Southern Waters Assault Reconnaissance!|size=400px}}
+
+
<pre>{{Event Banner Fade|Summer 2013 Event|jpg=true|caption=Southern Waters Assault Reconnaissance!}}</pre>
+
{{ {{PAGENAME}}|Summer 2013 Event|jpg=true|caption=Southern Waters Assault Reconnaissance!}}
+
+
+
<hr>
+
+
<pre>{{Event Banner Fade|Fall 2020 Event|suffix=EO|caption=Escort! Fleet Transport Operation|size=400px}}</pre>
+
{{ {{PAGENAME}}|Fall 2020 Event|suffix=EO|caption=Escort! Fleet Transport Operation|size=400px}}
+
+
<pre>{{Event Banner Fade|Fall 2020 Event|suffix=EO|caption=Escort! Fleet Transport Operation}}</pre>
+
{{ {{PAGENAME}}|Fall 2020 Event|suffix=EO|caption=Escort! Fleet Transport Operation}}
+
+
+
<hr>
+
+
<pre>{{Event Banner Fade|File1=2013SpringEventBanner.jpg|File2=2013SpringEventBannerAlt.jpg|size=400px|link=Spring 2013 Event}}</pre>
+
{{ {{PAGENAME}}|File1=2013SpringEventBanner.jpg|File2=2013SpringEventBannerAlt.jpg|caption=Break into the Enemy Anchorage!|size=400px|link=Spring 2013 Event}}
+
+
<pre>{{Event Banner Fade|File1=2013SpringEventBanner.jpg|File2=2013SpringEventBannerAlt.jpg|link=Spring 2013 Event}}</pre>
+
{{ {{PAGENAME}}|File1=2013SpringEventBanner.jpg|File2=2013SpringEventBannerAlt.jpg|caption=Break into the Enemy Anchorage!|link=Spring 2013 Event}}
+
+
<noinclude>