Template:Side box

From FlightGear wiki
Jump to navigation Jump to search
The following template description is not displayed when the template is inserted in an article.

Goal

This is a meta template used for creating other small messagebox templates that will float on the right side.

Usage

{{side box
| text       =
| image      =
| imageright =
| position   =
| style      =
| textstyle  =
| class      =
| below      =
}}

The only mandatory parameter is text. The other parameters are optional.

text
Text to display in the box.
image
Full image tag (or other content).
imageright
Full image tag (or other content) to display in a separate table cell on the right of the box.
position
If set to left, the box will float on the left side of the page rather than the right.
style
CSS styles to apply to the box.
textstyle
CSS styles to apply to the text cells only.
class
CSS class to apply.
below
Content to appear in a separate row underneath the main cell (and spanning the entire width of the box).

Examples

{{Side box
| image      = [[File:FlightGear logo.png|40px]]
| text       = The FlightGear forum has a <br>
subforum related to: {{project infrastructure|forum|urn=viewforum.php?f={{{1}}}|text=''{{{2}}}''}}
| class      = plainlinks
}}