Kentsmith9 (talk | contribs) (Creating documentation) |
Kentsmith9 (talk | contribs) (finish doc) |
||
Line 3: | Line 3: | ||
== Usage == | == Usage == | ||
Place {{tl|PrivateMessage}} on a user page. | Place {{tl|PrivateMessage}} on a user page. When on a user page, it will automatically identify the username to be used in the private message link. The subject of the private message will be populated with "A Wiki Question" and can be changed in the Private Message | ||
Alternately, the following optional variables can be used to adjust the generic message: | Alternately, the following optional variables can be used to adjust the generic message: | ||
<pre> | <pre> | ||
{{ | {{PrivateMessage | ||
| | | username = user name for the private message | ||
}} | }} | ||
</pre> | </pre> | ||
Line 23: | Line 15: | ||
== Parameters == | == Parameters == | ||
''' | '''username''' | ||
:Optional | :Optional parameter listing the user name for the private message. When the template is placed on a user's page, this parameter is not required. It can be used to create a private message link to a user when the template is not on the user page. | ||
== Example == | |||
{{tl|PrivateMessage|}} will generate the following on FastWazer's user page: | |||
{{PrivateMessage|username=FastWazer}} | |||
= | {{tl|PrivateMessage|username{{=}}FastWazer}} will generate the following on any page: | ||
{{PrivateMessage|username=FastWazer}} | |||
== Category added == | == Category added == | ||
No category is added to pages with this template. | |||
== See also == | == See also == | ||
Line 58: | Line 35: | ||
<includeonly> | <includeonly> | ||
<!-- ADD CATEGORIES BELOW THIS LINE --> | <!-- ADD CATEGORIES BELOW THIS LINE --> | ||
[[Category:Mbox Templates]] | [[Category:Mbox Templates]] | ||
<!-- ADD INTERWIKIS BELOW THIS LINE --> | <!-- ADD INTERWIKIS BELOW THIS LINE --> | ||
</includeonly> | </includeonly> |
Revision as of 22:11, 15 May 2014
This is a documentation subpage for . It contains usage information, categories and other content that is not part of the original template page. |
This template provides a private message link to a username. It is designed to go on user pages.
Usage
Place {{PrivateMessage}} on a user page. When on a user page, it will automatically identify the username to be used in the private message link. The subject of the private message will be populated with "A Wiki Question" and can be changed in the Private Message
Alternately, the following optional variables can be used to adjust the generic message:
{{PrivateMessage | username = user name for the private message }}
Parameters
username
- Optional parameter listing the user name for the private message. When the template is placed on a user's page, this parameter is not required. It can be used to create a private message link to a user when the template is not on the user page.
Example
{{PrivateMessage}} will generate the following on FastWazer's user page:
FastWazer can be reached by private message. |
{{PrivateMessage}} will generate the following on any page:
FastWazer can be reached by private message. |
Category added
No category is added to pages with this template.
See also
- {{mbox}}