Difference between revisions of "Template:Banner2"

From The Aruba Wiki
Jump to: navigation, search
Line 1: Line 1:
<div class="banner-image nomobile js-proportonal-resize">
+
<div class="banner-image nomobile js-proportonal-resize" {{#if:{{{width|}}}|style="width:{{{width|}}};{{#if:{{{height|}}}|height:{{{height|}}}}}"}}>
<div class="mainpage-shadowbox banner-box-2 banner-box-{{{direction}}}" {{#if:{{{width|}}}|style="width:{{{width}}}"}}>
+
<div class="mainpage-shadowbox banner-box-2 banner-box-{{{direction|}}}">
<h2>[[{{{title}}}|{{{alt-title|{{{title}}}}}}]]</h2>
+
{{#if: {{{title|}}} | <h2>{{{title|}}}</h2> }}
<h3>[[{{{section-link}}}|{{{section}}}]]</h3>
+
{{#if: {{{section|}}} | <h3>[[{{{section-link|}}}|{{{section|}}}]]</h3> }}
<div class="quote">[[{{{title}}}|{{{quote}}}]]</div>
+
{{#if: {{{quote|}}} | <div class="quote">{{{quote|}}}</div> }}
</div>[[File:{{{image}}}|frameless|1700px|link={{{title}}}|{{{title}}}]]</div>
+
</div>{{{image|}}}</div>
 
<div id="mf-section-{{{section-id}}}" class="mf-mobile-only">
 
<div id="mf-section-{{{section-id}}}" class="mf-mobile-only">
 
=={{{section}}}==
 
=={{{section}}}==
Line 11: Line 11:
 
{{{quote}}}
 
{{{quote}}}
 
</div><noinclude>
 
</div><noinclude>
 
+
{{banner2
 +
|direction=left
 +
|title=
 +
|image=[[File:WelcomeBanner.jpg|1700px]]
 +
|img-link=
 +
|img-link-alt=
 +
|quote=
 +
|quote-link=
 +
}}
  
 
</noinclude>
 
</noinclude>

Revision as of 00:35, 8 August 2018

{{{section}}}

[[{{{title}}}|{{{title}}}]]

{{{quote}}}