Template:ImageDiv

From The Aruba Wiki
Revision as of 00:49, 8 August 2018 by WikiSysop (talk | contribs) (Created page with "<includeonly><div style="background-color:{{{bgcolor|black}}}; border-radius: 5px; padding: 3px; width: {{{img-width|155px}}}; position: relative;"><div style="border-radius:...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search





{{ImageDiv
 | articlename = :Category:Hotels
 | name        = Hotels
 | image       = Placeholder.jpg
 | bgcolor     = orange
 | namebgcolor = orange
 | fontsize    = 18px
}}

====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
Advanced Parameters
  • bgcolor – Set background color for the image (default to black).
  • namebgcolor – Set background color for the title (default to black).
  • fontsize – Set font size for the title (default to x-small).
  • img-width – Set div width (default to 155px).
  • img-height – Set div height (default to 125px).
  • img-size – Set image size (default to 155px).