Template:Banner/doc: Difference between revisions
Jump to navigation
Jump to search
Created page with "__NOTOC__ This template creates a banner with a block of text and an optional icon. ==About Templates== * <span style="color:#008000">Parameters</span> should be changed pri..." |
No edit summary |
||
| Line 24: | Line 24: | ||
|<span style="color:#008000">colour</span> = The background color of the banner. For possible values, see [http://htmlhelp.com/reference/css/units.html#color here]. '''(optional)'''<br/> | |<span style="color:#008000">colour</span> = The background color of the banner. For possible values, see [http://htmlhelp.com/reference/css/units.html#color here]. '''(optional)'''<br/> | ||
|<span style="color:#008000">border</span> = The color of the banner's border. '''(optional)'''<br/> | |<span style="color:#008000">border</span> = The color of the banner's border. '''(optional)'''<br/> | ||
|<span style="color:#008000">align</span> = The alignment of the text - left, right, center. '''(optional)'''<br/> | |||
<nowiki>}}</nowiki> | <nowiki>}}</nowiki> | ||
Latest revision as of 13:39, 3 June 2013
This template creates a banner with a block of text and an optional icon.
About Templates
- Parameters should be changed prior to saving the page.
- Parameters may appear on a single line or multiple lines, but parameters must be preceded by a | (pipe).
For more information on how templates work, see Help:Templates
Quick Reference
{{Banner|text=text}}
text
{{Banner|text=This is an information banner!|image=Information icon.svg}}
| This is an information banner! |
Parameters
{{Banner
|text = The block of text the banner displays. (required)
|image = The image displayed on the left-hand side of banner. (recommended)
|colour = The background color of the banner. For possible values, see here. (optional)
|border = The color of the banner's border. (optional)
|align = The alignment of the text - left, right, center. (optional)
}}
Template Dependencies
None
Related Categories
None