Template:Box: Difference between revisions
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
</div> | </div> | ||
<noinclude> | <noinclude> | ||
---- | |||
Produces a boks for emphasizing material. Takes four arguments: | |||
# The text of the main body if the box | |||
# The title of the box | |||
# An image file to be displayed in the left side of the body - the image should be 40 x 40 | |||
# The background color: possible values | |||
## nothing gives yellow | |||
## ''alert-info'' gives blue - use with care, it doesn't work well with links | |||
## ''alert-success'' gives green | |||
## ''alert-error'' gives red | |||
Don't use this template directly in your pages. Instead use it to make a more specific template. For examples see [[Template:Info]] or [[Template:Warning]] | |||
[[Category:Template]] | [[Category:Template]] |
Revision as of 05:25, 27 July 2012
{{{2}}} | |
---|---|
{{{3}}} | {{{1}}} |
Produces a boks for emphasizing material. Takes four arguments:
- The text of the main body if the box
- The title of the box
- An image file to be displayed in the left side of the body - the image should be 40 x 40
- The background color: possible values
- nothing gives yellow
- alert-info gives blue - use with care, it doesn't work well with links
- alert-success gives green
- alert-error gives red
Don't use this template directly in your pages. Instead use it to make a more specific template. For examples see Template:Info or Template:Warning