Template:Box

From Hi-5 World Wiki
Revision as of 05:48, 27 February 2026 by SnazzySun (talk | contribs) (Created page with "{| style="background:{{{background|{{{bg|#FCF5FF}}}}}}; border:1px solid {{{border|#B6A3BF}}}; border-top:8px solid {{{border_head|{{{head_bg|{{{border|#B6A3BF}}}}}}}}}; color:{{{color|#000}}}; width:100%; max-width:{{{width|618}}}px; margin:0 auto 16px;" |- style="vertical-align:top;" | style="padding:5px;" | {{#if:{{{img_border|}}}|<div style="border:{{{img_border|}}}">}}[[File:{{{image|delayclose.jpg}}}|{{{img_width|90}}}px]]{{#if:{{{img_border|}}}|</div>}} | style="p...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
File:Delayclose.jpg
I am a box

I cram key points into a nutshell.

{{usage|1=This template is a metatemplate used to create various box templates, such as Infoboxes, Navigation Boxes, and Message Boxes. The format for using this template is as follows:

{{Box}} Displays:

File:Delayclose.jpg
I am a box

I cram key points into a nutshell.

Default Parameters

  • title - The box title. Default: "I am a box"
  • text - The box text. Default: "I cram key points into a nutshell."
  • image - The image on the left of the box. Default: "delayclose.jpg"
    • img_border - CSS rule for the border around the image. Default: no border
    • img_width - The image's desired width in pixels. Default: 90 pixels
  • border - Colour for the box border. Default: "#B6A3BF"
    • border_top (formerly head_bg) - Colour of the box head. Default: Same as border
  • background (formerly bg) - Background colour of the box. Default: "#FCF5FF"
  • width - Width of the box. Default: 618 pixels
  • color - Text color for the box text. Default: black