mNo edit summary |
Kentsmith9 (talk | contribs) (updated comments) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>[[User:{{#if:{{{2|}}}<!-- If a second parameter is present | <includeonly>[[User:{{{1|}}}|{{#if:{{{2|}}}<!-- If a second parameter is present | ||
-->|{{{2|}}}<!-- | -->|{{{2|}}}<!-- Display second parameter as the visible name | ||
-->|{{{1|}}}<!-- | -->|{{{1|}}}<!-- Otherwise display the username as the visible name | ||
-->}}<!-- end IF | -->}}<!-- end IF | ||
--> | -->]] {{small|({{PM|{{{1|}}}|PM}})}}</includeonly><noinclude>{{documentation}}</noinclude> |
Latest revision as of 23:25, 19 August 2014
Usage
Place {{Username|NAME_OF_USER}}
on a page where one of the desired outputs is desired. The default output is a hyperlink to a user name with a private message link.
Parameters
The following parameters can be passed after the username to return these additional links:
To change the name displayed put the desired display name after the username, separated by a pipe character (|).
{{Username|WAZE_USER_NAME|DISPLAY_NAME}}
Will produce:
This is usefull if you want to display your real name, but still want to be able to receive Personal Messages which require your Waze Username. For example id Bob Smith has a username bsitty29 he might use this to display his real name on a page but still link to his user page and PM.
{{Username|bsmitty29|Bob Smith}}
Produces:
The above documentation is transcluded from Template:Username/doc. Please add categories to the /doc subpage. Subpages of this template. |