Kentsmith9 (talk | contribs) (Created initial doc) |
m (fix {{tl}} to {{tlx}}) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
== Usage == | == Usage == | ||
Place {{ | Place {{tlx|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. | ||
:{{Username|WazeUserName}} | :{{Username|WazeUserName}} | ||
Line 11: | Line 11: | ||
The following parameters can be passed after the username to return these additional links: | 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 (|). | ||
{| | {{tlx|Username|WAZE_USER_NAME|DISPLAY_NAME}} | ||
Will produce: | |||
| | |||
{{Username|WAZE_USER_NAME|DISPLAY_NAME}} | |||
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. | |||
| | {{tlx|Username|bsmitty29|Bob Smith}} | ||
|} | |||
Produces: | |||
{{Username|bsmitty29|Bob Smith}} | |||
<includeonly> | <includeonly> | ||
<!-- ADD CATEGORIES BELOW THIS LINE --> | <!-- ADD CATEGORIES BELOW THIS LINE --> | ||
[[ | [[Category:Templates]] | ||
<!-- ADD INTERWIKIS BELOW THIS LINE --> | <!-- ADD INTERWIKIS BELOW THIS LINE --> | ||
</includeonly> | </includeonly> |
Latest revision as of 16:51, 19 January 2016
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 accepts a username and returns different results depending upon the optional second parameter.
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: