Difference between revisions of "Template:floatRightStacked"
Jump to navigation
Jump to search
will give:
(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|}}}...") |
|||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<div style="float:right; margin-left:10px;"><!-- | <div style="float:right; margin-left:10px;"><!-- | ||
--><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}};">{{{ | + | --><div style="margin-top:{{#if:{{{sep|}}}|{{{sep}}}px|5px}};">{{{2}}}</div><!-- |
| − | -- | + | --></div><noinclude>{{doc2}}</noinclude> |
Latest revision as of 14:27, 30 May 2020
{{{1}}}
{{{2}}}
[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]]}}will give: