Template:Comment-box1

From Iron Chariots Wiki
Revision as of 12:29, 24 August 2006 by Sans Deity (Talk | contribs)
Jump to: navigation, search

{{{text}}}



Usage

{{Comment-box1|width=setting(optional)|bg=color(optional)|rmargin=xx(optional)|lmargin=xx(optional)|border=xx(optional)|text=Sample text...}}

Parameters

  • width → Accepts any valid CSS width value
    • Numerical values with 'px' or 'em' designators or auto(default).
  • bg → Accepts any valid CSS background value
    • Hexadecimal values (preceded by #, as in #FAF or #E3F6A1), RGB values (formatted as RGB(x,x,x) as in RGB(128,5,112)) or color names (as in red or lightgreen).
  • rmargin → Accepts any valid CSS margin value
  • lmargin → Accepts any valid CSS margin value
  • border → Accepts any valid CSS border description
  • label → This label precedes the text and appears in bold
  • text → The content to be displayed

Samples

  • {{Comment-box1|width=75%|bg=lightgreen|text=Here's some sample text.}} yields:

Here's some sample text.

  • {{Comment-box1|rmargin=200px|lmargin=75px|label=Message:|text=Here's some sample text.}} yields:

Message: Here's some sample text.

  • {{Comment-box1|width=300px|bg=rgb(188,206,188)|border=5px dotted #3333E4|text=Here's some sample text.|label=Recipe:}} yields:

Recipe: Here's some sample text.

  • {{Comment-box1|bg=#DDF|text=Here's some sample text.}} yields:

Here's some sample text.

Personal tools
Namespaces
Variants
Actions
wiki navigation
IronChariots.Org
Toolbox