Template:Colorparagraph/doc: Difference between revisions
Appearance
Created page with "This template provides a way to put a nice colored paragraph banner in an article that isn't a <tt><nowiki>{{ambox}}</nowiki></tt>. <tt>Ambox</tt> should be for metadata abou..." |
No edit summary |
||
Line 3: | Line 3: | ||
<tt>Ambox</tt> should be for metadata about an article, like it being a stub, in need of expansion, not meeting style guidelines, etc. <tt>Colorparagraph</tt> is for banners which make sense as part of the article's content itself. | <tt>Ambox</tt> should be for metadata about an article, like it being a stub, in need of expansion, not meeting style guidelines, etc. <tt>Colorparagraph</tt> is for banners which make sense as part of the article's content itself. | ||
The parameters are: <tt>background, color, image, border, text,</tt> and all are optional. | The parameters are: <tt>background, color, image, border, text,</tt> and all are optional. The defaults are a white background, black text, no image, <tt>1px solid #aaa</tt> border, and a bit of Lorem Ipsum. | ||
<nowiki> | <nowiki> |
Revision as of 13:52, 30 March 2016
This template provides a way to put a nice colored paragraph banner in an article that isn't a {{ambox}}.
Ambox should be for metadata about an article, like it being a stub, in need of expansion, not meeting style guidelines, etc. Colorparagraph is for banners which make sense as part of the article's content itself.
The parameters are: background, color, image, border, text, and all are optional. The defaults are a white background, black text, no image, 1px solid #aaa border, and a bit of Lorem Ipsum.
{{colorparagraph |background=#ccffcc |color=#ff0000 |image=[[File:Ambox_content.png|20px]] |text=Do they know it's Christmas? }}