Template:InfoBox

From Open Energy Information

This is the "InfoBox" template.

You can set the following attributes to control the box as necessary:

  • Required attributes
    • cols: number of columns wide (range from 1-12)
    • content: infobox content
  • Optional attributes
    • title: add a title to the infobox
    • offset: number of columns to offset this box (range from 1-11)
    • bg: background color (default is bg-white) - choose from nobg bg-white bg-green bg-grey bg-orange bg-pink bg-red bg-purple bg-purple-grey
    • border: border color - specify hex-value color (ex. FF6464) or 'none' for no border
    • shadow: box shadow: specify if you want a drop shadow behind the box


Note: cols and offset should add up to no more than 12 before adding a new row

Here's an example of how to implement the InfoBox template:

{{InfoBox
|cols=3
|shadow
|title=infobox title
|content=put your content here!
}}

Edit the page to see the template text.

This will generate the following:

Hipster Ipsum

Chambray beard Austin mustache semiotics, pug farm-to-table pickled DIY ethnic vinyl single-origin coffee Shoreditch kitsch actually.

VHS Portland crucifix, Pitchfork tote bag locavore wayfarers actually bitters mustache letterpress synth. Scenester retro twee, kale chips Shoreditch bitters art party Intelligentsia lo-fi vinyl shabby chic paleo pork belly dreamcatcher.

Organic 8-bit Banksy locavore small batch, pour-over bespoke next level post-ironic chillwave swag Neutra yr American Apparel. You probably haven't heard of them DIY paleo, try-hard put a bird on it ethical lomo selvage Truffaut tote bag 8-bit Thundercats irony Echo Park roof party. Pour-over biodiesel Carles before they sold out dreamcatcher. Cosby sweater 8-bit post-ironic polaroid, biodiesel sartorial locavore keytar sriracha Brooklyn cred hashtag butcher.