Jump to content

Template:Message: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
fix nowiki
bold move
Line 1: Line 1:
<div class="plainlinks" style="
<div class="plainlinks" style="
background-color: {{{bgcolor|LightBlue}}};
background-color: {{{bgcolor|Pink}}};
{{#if:{{{extra-style|}}}|{{{extra-style}}};}}
{{#if:{{{extra-style|}}}|{{{extra-style}}};}}
{{#if:{{{width|}}}|width: {{{width}}};}}
{{#if:{{{width|}}}|width: {{{width}}};}}

Revision as of 00:41, 29 March 2009

Usage

 {{Message
  | bgcolor      = background color
  | border-color = border color
  | color        = text color
  | linkcolor    = link color (for "new message" link)
  | extra-style  = extra styles, like -moz-border-radius etc...
  | width        = box width
  | margin       = margin measurements
  | padding      = padding measurements
  | text-align   = text alignment (left, right, center)
 }}

All parameters are optional, and default to the appearance shown above.

Just put {{Message}} at the top of your talk page or user page. This will create the "Please leave a new message" link as shown above. You can use subst: if you want to, but then you won't benefit from updates to this template.

See also

  • {{comment}} for a generic box to be used in other locations
  • {{Message2}} (lets someone know that there is a message for them at your talk page)

Template:Usertalk new message see also