Open main menu

The Aruba Wiki β

Changes

Template:ImageDiv

92 bytes added, 01:08, 8 August 2018
no edit summary
<includeonly><div style="background-color:{{{bgcolor|black}}}; border-radius: 5px; padding: 3px; width: {{{img-width|155px}}}; position: relative;"><div style="border-radius: 2px; overflow: hidden; width: {{{img-width|155px}}}; height: {{{img-height|125px}}};">{{{image}}}</div>{{#if: {{{name|}}} |
<span style="background-color:{{{namebgcolor|black}}}; position: absolute; {{{direction|right}}}: 0px; bottom: 0px; font-size: {{{fontsize|x-small}}}; font-weight: bold; color: white; padding: {{{padding|0 5px}}}; border-radius: {{{border-radius|5px 0}}};">{{{name|}}}</span> }}</div></includeonly>
<noinclude>
{{ImageDiv
*'''''direction''''' – Direction of the Text (default to right).
*'''''border-radius''''' – Set border-radius of the text area (default to 5px 0).
*'''''border-radius''''' – Set padding of the text area (default to 0 5px).
[[Category:Templates]]</noinclude>