Template:ImageDiv

From The Aruba Wiki
Jump to: navigation, search


Placeholder.jpg
Hotels



{{ImageDiv
 | type        = 0
 | name        = Hotels
 | image       = [[File:Placeholder.jpg|155px]]
 | bgcolor     = orange
 | namebgcolor = orange
 | fontsize    = 18px
}}

====Usage====
{{ImageDiv
 | type        = 
 | name        = 
 | image       = 
}}

Usage

  • type – Switch between allow links (1) or no (0), (2) will allow to use <img> tag
  • 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).
  • direction – Direction of the Text (default to right).
  • border-radius – Set border-radius of the text area (default to 5px 0).
  • border-radius – Set padding of the text area (default to 0 5px).
  • namecolor – Set text color of text area (default to white).