Changes

Jump to: navigation, search

Template:ImageDiv

277 bytes removed, 01:58, 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|}}} |
[[{{{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></includeonly>
<noinclude>
{{ImageDiv
| articlename = :Category:Hotels
| name = Hotels
| image = [[File:Placeholder.jpg|155px]]
<pre>
{{ImageDiv
| articlename = :Category:Hotels
| name = Hotels
| image = [[File:Placeholder.jpg|155px]]
====Usage====
{{ImageDiv
| articlename =
| name =
| image =
====Usage====
*'''''articlename''''' – The name of the article (in this case, [[Hotels]]). This will also be the article which will open once the user clicks on the title or image.
*'''''name''''' – Display name (ie., the name you want the template to display)
*'''''image''''' – File name

Navigation menu