Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |
Description
This template is used to easily produce message boxes to be used in articles.
Syntax
Default: {{ambox|<heading>|<text>}}
Parameters
Many are not required for the box to display properly, unless otherwise noted.
Parameter | Description | |||||
---|---|---|---|---|---|---|
type | The general box adopted. The default box will display with the default variables unless notice or section are entered. The parameters differ slightly between which is used.
| |||||
Types and their parameters | ||||||
Default | notice | section | ||||
heading | Insert desired text to be placed on top, customizable. Default: centered and boldfaced. | image Required |
Insert image name without [[File: . Default: 40 pixels, left position.
|
image Required |
Insert image name without [[File: . Default: 20 pixels, left position.
| |
text | Enter desired text, customizable. Default: centered. | heading | Add desired text. Modify with heading-style variable. Default: left-aligned, boldfaced, 90% font-sized. | text | Enter desired text, customizable. Default: left-aligned, 88% font-sized. | |
text | Enter desired text, customizable. Default: left-aligned, 85% font-sized; 0.2em top margin. | |||||
normaltext | Enter desired text, displays normally and is customizable. Default: left-aligned. | |||||
style | To add additional customization. Be sure to divide each value with a ; colon.
| |||||
cat | Category name to be inserted inside <includeonly>[[Category: ]]</includeonly> .
|
Usage
- IMPORTANT NOTE !
- Choose an image < 128 × 128 pixels if it is intended to be inserted at the very top of an article. A larger size would cause the image displayed in the template to be mistakenly chosen to represent the article across the wiki.
To use the default message box, type:
{{Ambox |heading = Heading here |text = ''Place'' text '''here''' |style = |cat = }}
The result...
Heading here Place text here
|
To use the notice message box, type:
{{Ambox |type = notice |image = Black warning.png |heading = Heading here |heading-style = |normaltext = |text = ''Place'' text '''here''' |style = |cat = }}
The result...
Heading here Place text here |
To use the section message box, type:
{{Ambox |type = section |image = Black warning.png |text = ''Place'' text '''here''' |style = |cat = }}
The result...
Place text here |