525
edits
Changes
no edit summary
<includeonly>{{#switch: {{{type|}}}|1=<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}}};">{{PlainURL|1={{{articlename|}}}|2={{{image|}}}}}</div>{{#if: {{{name|}}} |[[{{{articlename|}}}|<span style="background-color:{{{namebgcolor|black}}}; position: absolute; right: 0px; bottom: 0px; font-size: {{{fontsize|x-small}}}; font-weight: bold; color: white; padding: 0 5px; border-radius: 5px 0;">{{{name|}}}</span>]] }}</div>|0=<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
| type = 0
| name = Hotels
| image = [[File:Placeholder.jpg|155px]]
<pre>
{{ImageDiv
| type = 0
| name = Hotels
| image = [[File:Placeholder.jpg|155px]]
====Usage====
*'''''type''''' – Switch between allow links (1) or no (0)
*'''''name''''' – Display name (ie., the name you want the template to display)
*'''''image''''' – File name