Template:IBox

From Holocron - Star Wars Combine
Jump to: navigation, search
{{{Text Input}}}

Usage

This template is for creating a messagebox template.

Code

Code Instructions

Edit the below. Defaults are lists. Delete any rows you do not want adapted.

{{IBox
| table border size = 3px (defines table border size)
| table border style = solid (Defines table border style) 
| table border color = #777777 ( Defines table border color: insert only hex code)
| table border radius = 0px (defines how the table border curves.)
| table width = 60% (defines table width)
| table background color = Defaults to none. (Defines background for entire table.)
| text color = #000000 (defines text color)
| colorCodeYes = Type yes, if you want color code area, no if you do not.
| color area width = 10px (defines width of color area)
| color area bg = #aa9f97 (defines color of color area)
| ImageYes = Type something here if you wish for the image area to appear. otherwise delete.
| image area width = 40px (defines image area)
| image code = No Default (Use Image Code to place image, make sure size variable matches above.)
| text alignment = Center (defines text in box alignment, options are left, right, and center)
| Text Input = This is where you input the text you desire. use <br /> instead of hitting enter to break lines.
}}

Examples

Defaults Example

You can have a pretty decent infobox, without editing anything but the Text Input field as seen below.

Defaults Example Code

{{IBox
| Text Input = This is an example of a default infobox.
}}

Defaults Example Output

This is an example of a default infobox.


Defaults Example

Here is a fully edited template to make a customized infobox.

Fully Edited Example Code

{{IBox
| table border size = 5px
| table border style = groove
| table border color = #992828
| table border radius = 10px
| table width = 75%
| table background color = #ff0000
| text color = #ffffff
| colorCodeYes = Yes
| color area width = 10px
| color area bg = #ff7c00
| ImageYes = Type something here if you wish for the image area to appear. otherwise delete.
| image area width = 40px (defines image area)
| image code = [[File:Exclamationpoint.png|40px]]
| text alignment = Left
| Text Input = This is where you input the text you desire. use <br /> instead of hitting enter to break lines.
}}

Fully Edited Output

Exclamationpoint.png This is where you input the text you desire. use
instead of hitting enter to break lines.