Template:Main page box
Jump to navigation
Jump to search
| This template uses TemplateStyles: |
Usage
This template is intended to provide the uniform style for content boxes on Main Page(s).
It can be used in 2 ways:
- If parameter
contentis set, the template outputs a styled box with the content, set withcontent=. A title line can be set with parametertitle. - If parameter
contentis not set, the template has no content output, but loads the style sheet from /styles.css, that can be used in another template in which this template is transcluded. Simply call {{Main page box}}. To use the styles, the "classes" from the style sheet have to be added to the div's or tables in the page. E.g. class="MainPageBox MainPageBox-content" and class="MainPageBox-title".
Syntax
{{Main page box
|title=The title
|content=Any content, text, etc.
}}{{Main page box}}
Parameters
- none
contenttitlelinktitle-aligntitle-classcontent-class
Examples
{{Main page boxrendered:
|title=The title
|content=Any content, text, etc.
}}
The title
Any content, text, etc.