Jump to content

Template:Colorparagraph/doc: Difference between revisions

From SeptemWiki
No edit summary
No edit summary
 
Line 1: Line 1:
This template provides a way to put a nice colored paragraph banner in an article that isn't a <tt><nowiki>{{ambox}}</nowiki></tt>.
This template provides a way to put a nice colored paragraph banner in an article that isn't a {{txi|ambox}}.


<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.
{{txi|ambox}} should be for metadata about an article, like it being a stub, in need of expansion, not meeting style guidelines, etc.  {{txi|colorparagraph}} 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 defaults are a white background, black text, no image, <tt>1px solid #aaa</tt> border, and a bit of Lorem Ipsum.
The parameters are: {{c|background, color, image, border, text}}, and all are optional.  The defaults are a white background, black text, no image, {{c|1px solid #aaa}} border, and a bit of Lorem Ipsum.


  <nowiki>
  <nowiki>

Latest revision as of 18:53, 9 April 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?
}}

Do they know it's Christmas?