Difference between revisions of "Template:Banner2"

From The Aruba Wiki
Jump to: navigation, search
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="banner-image nomobile js-proportonal-resize">
+
__NOTOC__
<div class="mainpage-shadowbox banner-box-2 banner-box-{{{direction}}}" {{#if:{{{width|}}}|style="width:{{{width}}}"}}>
+
<div class="banner-image nomobile js-proportonal-resize taw-nosmallscreen" {{#if:{{{div-width|}}}|style="width:{{{div-width|}}};{{#if:{{{div-height|}}}|height:{{{div-height|}}}}}"}}>
<h2>[[{{{title}}}|{{{alt-title|{{{title}}}}}}]]</h2>
+
<div class="mainpage-shadowbox banner-box-2 banner-box-{{{direction|}}}" {{#if:{{{width|}}}|style="width:{{{width|}}};{{#if:{{{height|}}}|height:{{{height|}}}}}"}}>
<h3>[[{{{section-link}}}|{{{section}}}]]</h3>
+
{{#if: {{{title|}}} | <h2>{{{title|}}}</h2> }}
<div class="quote">[[{{{title}}}|{{{quote}}}]]</div>
+
{{#if: {{{section|}}} | <h3>[[{{{section-link|}}}|{{{section|}}}]]</h3> }}
</div>[[File:{{{image}}}|frameless|1700px|link={{{title}}}|{{{title}}}]]</div>
+
{{#if: {{{quote|}}} | <div class="quote">{{{quote|}}}</div> }}
<div id="mf-section-{{{section-id}}}" class="mf-mobile-only">
+
</div>{{{image|}}}
=={{{section}}}==
+
</div>
'''[[{{{title}}}|{{{alt-title|{{{title}}}}}}]]'''
 
  
{{{quote}}}
+
<div id="mf-section-{{{section-id|}}}" class="taw-smallscreen">
 +
=={{{section|}}}==
 +
<b>{{{title|}}}</b>
 +
 
 +
{{{quote|}}}
 
</div><noinclude>
 
</div><noinclude>
 
+
{{banner2
 +
|direction=left
 +
|title=
 +
|image=[[File:WelcomeBanner.jpg|1700px]]
 +
|img-link=
 +
|img-link-alt=
 +
|quote=
 +
|quote-link=
 +
}}
  
 
</noinclude>
 
</noinclude>

Latest revision as of 20:14, 19 August 2018