Open main menu

The Aruba Wiki β

Changes

Template:ImageDiv

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