Jump to content

Template:Message: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m rvv
mNo edit summary
(One intermediate revision by the same user not shown)
Line 2: Line 2:
==Usage==
==Usage==
<pre>
<pre>
{{message
{{subst:message
| bgcolor = background color
| bgcolor = background color
| border-color = border color
| color = text color
| color = text color
| linkcolor = link color (for "new message" link)
| linkcolor = link color (for "new message" link)
Line 12: Line 11:
All parameters are optional, and default to the appearance shown below.
All parameters are optional, and default to the appearance shown below.


Just put <code><nowiki>{{message}}</nowiki></code> at the top of your talk page or user page. This will create the "Please leave a new message" link as shown below. You can use <code>subst:</code> if you want to, but then you won't benefit from updates to this template.
Just put <code><nowiki>{{subst:message}}</nowiki></code> at the top of your talk page or user page. This will create the "Please leave a new message" link as shown below. You can use <code>subst:</code> if you want to, but then you won't benefit from updates to this template.
</noinclude><div class="plainlinks" style="background-color: {{{bgcolor|#7bceff}}}; border: 1px solid {{{border-color|#00a5ff}}}; color: {{{color|black}}}; font-weight: bold; margin: 2em 0 1em; padding: .5em 1em; vertical-align: middle; clear: both;">Please leave a [{{fullurl:{{ns:3}}:{{PAGENAMEE}}|action=edit&section=new}} <font color="{{{linkcolor|#5a3696}}}">new message</font>].</div>
</noinclude><div class="messagebox plainlinks" style="background-color: {{{bgcolor|#7bceff}}}; color: {{{color|black}}}; padding: .5em; font-weight: bold;">Please leave a [{{fullurl:{{ns:3}}:{{PAGENAMEE}}|action=edit&section=new}} <span color="{{{linkcolor|#5a3696}}}">new message</span>].</div>

Revision as of 00:55, 1 February 2006

Usage

{{subst:message
  | bgcolor = background color
  | color = text color
  | linkcolor = link color (for "new message" link)
}}

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

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