Difference between revisions of "Template:floatRightStacked"

From WikiCorporates
Jump to navigation Jump to search
(Created page with "<div style="float:right; margin-left:10px;"><!-- --><div style="margin-bottom:{{#if:{{{sep|}}}|{{{sep}}}px|5px}};">{{{1}}}</div><!-- --><div style="margin-top:{{#if:{{{sep|}}}...")
 
Line 2: Line 2:
 
--><div style="margin-bottom:{{#if:{{{sep|}}}|{{{sep}}}px|5px}};">{{{1}}}</div><!--
 
--><div style="margin-bottom:{{#if:{{{sep|}}}|{{{sep}}}px|5px}};">{{{1}}}</div><!--
 
--><div style="margin-top:{{#if:{{{sep|}}}|{{{sep}}}px|5px}};">{{{1}}}</div><!--
 
--><div style="margin-top:{{#if:{{{sep|}}}|{{{sep}}}px|5px}};">{{{1}}}</div><!--
−
--></div></div><noinclude>{{doc2}}</noinclude>
+
--></div><noinclude>{{doc2}}</noinclude>

Revision as of 03:46, 5 January 2020

{{{1}}}
{{{1}}}

[edit] Documentation

Similar template to Template:floatRight, but instead of the images being floated side-by-side, they are stacked.

Parameters:

{{floatRightStacked
|sep   = optional. Default separation between the two images is 5px. 
|1     = top image
|2     = bottom image
}}

Example

{{floatRightStacked|[[File:Janus-Henderson-Group.svg|141x25px]]|[[File:Janus-Henderson-Investors.svg|141x25px]]}}
Janus-Henderson-Group.svg
Janus-Henderson-Group.svg
will give: