Template:PM/doc View history

(Created initial doc)
 
(no space before username)
Line 6: Line 6:
Place {{tl|PM|UserName}} on any page to create a private message link. The minimum parameter is the first one as the Waze user name. An optional second parameter is used to replace the user name in the link.
Place {{tl|PM|UserName}} on any page to create a private message link. The minimum parameter is the first one as the Waze user name. An optional second parameter is used to replace the user name in the link.


== Example ==
== Examples ==
Entering:
{|
{{Pre2|<nowiki>
| Entering:
| {{Pre2|<nowiki>
{{PM|FastWazer}}
{{PM|FastWazer}}
</nowiki>
</nowiki>
}}
}}
Produces:
|}
{{PM|FastWazer}}
Produces: {{PM|FastWazer}}
 


Entering:
(Note: do not include a space before the user name to prevent unexpected results like: <br/>{{PM| FastWazer}})
{{Pre2|<nowiki>
----
{|
| Entering:
| {{Pre2|<nowiki>
{{PM|FastWazer|PM this user}}
{{PM|FastWazer|PM this user}}
</nowiki>
</nowiki>
}}
}}
Produces:
|}
{{PM|FastWazer|PM this user}}
Produces:{{PM|FastWazer|PM this user}}
 
<includeonly>
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
<!-- ADD CATEGORIES BELOW THIS LINE -->

Revision as of 00:20, 8 July 2014

This is a documentation subpage for Template:PM.
It contains usage information, categories and other content that is not part of the original template page.

This template creates a link to private message a user.

Usage

Place {{PM}} on any page to create a private message link. The minimum parameter is the first one as the Waze user name. An optional second parameter is used to replace the user name in the link.

Examples

Entering:
{{PM|FastWazer}}

Produces: FastWazer [Help]

(Note: do not include a space before the user name to prevent unexpected results like:
FastWazer FastWazer [Help])


Entering:
{{PM|FastWazer|PM this user}}

Produces:PM this user [Help]