Difference between revisions of "Template:Message"

From Marspedia
Jump to: navigation, search
(including a leave me a message template)
 
(changing to Mars default color)
 
Line 1: Line 1:
 
<div class="plainlinks" style="
 
<div class="plainlinks" style="
background-color: {{{bgcolor|LightBlue}}};
+
background-color: {{{bgcolor|beige}}};
 
{{#if:{{{extra-style|}}}|{{{extra-style}}};}}
 
{{#if:{{{extra-style|}}}|{{{extra-style}}};}}
 
{{#if:{{{width|}}}|width: {{{width}}};}}
 
{{#if:{{{width|}}}|width: {{{width}}};}}
border: 1px solid RoyalBlue;
+
border: 1px solid black;
 
{{#if:{{{border-color|}}}|border-color: {{{border-color}}};}}
 
{{#if:{{{border-color|}}}|border-color: {{{border-color}}};}}
 
{{#if:{{{color|}}}|color: {{{color}}};}}
 
{{#if:{{{color|}}}|color: {{{color}}};}}
Line 11: Line 11:
 
vertical-align: middle;  
 
vertical-align: middle;  
 
clear: both;
 
clear: both;
">Please leave a [{{fullurl:{{ns:3}}:{{PAGENAMEE}}|action=edit&section=new}} <span style="color: {{{linkcolor|#5a3696}}};">new message</span>].</div><noinclude>
+
">Please leave a [{{fullurl:{{ns:3}}:{{PAGENAMEE}}|action=edit&section=new}} <span style="color: {{{linkcolor|red}}};">new message</span>].</div><noinclude>
 
==Usage==
 
==Usage==
 
<pre>
 
<pre>

Latest revision as of 09:31, 9 April 2007

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
}}

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.

This is a standard template used in Wikipedia and thought it fairly useful ;-) Ioneill 17:27, 9 April 2007 (UTC)