Template:TitleBox/documentation

=Template Documentation=

This template creates a  box with a non-fixed height and width. It is specifically used to create the navigational grid on the main page of ReliaWiki.com.

Below is an example of a box that could be created from this template. In this case, the box spans the entire width of the screen. With additional coding on your part, you can customize the width or position of the box on your page (see Example 2 below for an example on how this can be done).

Usage
This template has the following parameters:


 * image = The filename of the graphic that represents the analysis/software. The size must be 35px.
 * title = The title of the box.
 * links = The navigational links you want inserted into the box. Please use the Template:TitleBoxLink template to populate this parameter. The TitleBoxLink template has two parameters:
 * link = The name of the wiki page to link to.
 * text = The anchor text for the link.

To use the TitleBox template, copy and paste the following code to your page, and then define the parameters. The first example in the following section demonstrates how to define the parameters.

To add or remove links from the box, duplicate or remove the  rows as needed.

Example 1
The following code shows an example of the parameters you might use for a Weibull++ box. (See the Notes section at the end of this doc for a list of suggested values for the image parameter.)

The output of the above code is as follows:

Example 2
The following example demonstrates how you might control the width of a box. In this case, you would create a  wrapper that specifies the width.

The output of the above code is as follows: