Difference between revisions of "Template:Banner"

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">
<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}}}" {{#if:{{{width|}}}|style="width:{{{width|}}};{{#if:{{{height|}}}|height:{{{height|}}}}}"}}>
 
{{#if: {{{title|}}} | <h2>[[{{{title|}}}|{{{alt-title|{{{title|}}}}}}]]</h2>}}
 
{{#if: {{{title|}}} | <h2>[[{{{title|}}}|{{{alt-title|{{{title|}}}}}}]]</h2>}}
 
{{#if: {{{title-nonlink|}}} | <h2>{{{title-nonlink|}}}</h2>}}
 
{{#if: {{{title-nonlink|}}} | <h2>{{{title-nonlink|}}}</h2>}}

Revision as of 23:52, 7 August 2018

{{banner
|direction=left
|width=60%
|title=
|image=
|img-link=
|img-link-alt=
|quote=
|quote-link=
}}
Advanced Syntax
{{banner
|direction=left
|width=60%
|title=
|title-nonlink=
|image=
|quote=
}}