Jump to content

Template:Colorparagraph: Difference between revisions

From SeptemWiki
Created page with "<p style="background:{{#if:{{{background|}}}#{{{background}}}|white;}}{{#if:{{{color|}}}|color:#{{{color}}};}} border:1px solid #aaa; margin: 1ex; padding: 1ex;">{{#if:{{{imag..."
 
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<p style="background:{{#if:{{{background|}}}#{{{background}}}|white;}}{{#if:{{{color|}}}|color:#{{{color}}};}} border:1px solid #aaa; margin: 1ex; padding: 1ex;">{{#if:{{{image|}}}|{{{image}}}}} {{#if:{{{text|}}}|{{{text}}}|Lorem ipsum dolor sit.}}</p>
<p style="background:{{#if:{{{background|}}}|{{{background}}}|white}};{{#if:{{{color|}}}|color:{{{color}}};}}border:{{#if:{{{border|}}}|{{{border}}}|1px solid #aaa}};margin:2ex;padding:1ex;">{{#if:{{{image|}}}|{{{image}}}}} {{#if:{{{text|}}}|{{{text}}}|Lorem ipsum dolor sit.}}</p><noinclude>{{documentation}}{{Namespace detect|template=[[Category:Banner templates]]|other=}}</noinclude>

Latest revision as of 18:33, 9 April 2016

Lorem ipsum dolor sit.

Documentation for Template:Colorparagraph[view] [edit] [history]

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?


Pages that use this Template
Templates that use this Template