Open main menu

The Aruba Wiki β

Changes

Template:ImageDiv

83 bytes added, 01:02, 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: 0 5px; border-radius: 5px 0;">{{{name|}}}</span> }}</div></includeonly>
<noinclude>
{{ImageDiv
*'''''img-height''''' – Set div height (default to 125px).
*'''''img-size''''' – Set image size (default to 155px).
*'''''direction''''' – Direction of the Text (default to right).
[[Category:Templates]]</noinclude>