Template:Uw/doc: Difference between revisions
Template page
More actions
m -tag |
m +explanation |
||
| Line 33: | Line 33: | ||
__NOTOC__ | __NOTOC__ | ||
==== More examples ==== | ==== More examples ==== | ||
{{Tle|t=Uw|A Obeidat|t}} gives {{Uw|A Obeidat|t}} <br> | <!-- {{Tle|t=Uw|A Obeidat|t}} gives {{Uw|A Obeidat|t}} <br> --> | ||
{{Tle|t=Uw|Username|-}} gives {{Uw|Username|-}} <br> | {{Tle|t=Uw|Username|-}} gives {{Uw|Username|-}} <br> | ||
| Line 40: | Line 40: | ||
{{Tle|t=Uw|Username|commons|-}} gives {{Uw|Username|commons|-}} <br> | {{Tle|t=Uw|Username|commons|-}} gives {{Uw|Username|commons|-}} <br> | ||
{{Tle|t=Uw|User|Comm~user|-|p4=link|no}} gives {{Uw|Username|Comm~user|-|link=no}} <br> | {{Tle|t=Uw|User|Comm~user|-|p4=link|no}} gives {{Uw|Username|Comm~user|-|link=no}} <br> | ||
{{Tle|t=Uw|User|Comm~user|-|p4=link|no|p5=case|l}} gives {{Uw|Username|Comm~user|-|link=no|case=l}} <br> | |||
{{Commons:Link templates/User and user talk links}} | {{Commons:Link templates/User and user talk links}} | ||
Revision as of 14:13, 28 May 2019
User page link, only within Commons, when user names are trailed with "~commonswiki"
Usage
{{Uw |1= }}
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
1 | user name, without the trailing "~commonswiki" | empty | required | |
2 | display name (nick name): may be formatted | param #1 | optional | |
4 | either a "+" sign or a "-" sign, to prefix with namespace (can as well be coded with parameter 2 or parameter 3 ) | empty | optional | |
link | returns plain text instead of a link when set to link=no | empty | optional | |
Additional information
The template is intended to be used in the following namespaces: no namespace specified
The template is intended to be used by the following user groups: no user group specified
Example
{{Uw|Username}}
renders as:
Localization
This template is not intended to be localized.
More examples
{{ Uw | Username | - }} gives User:Username
{{ Uw | Username | + }} gives User:Username
{{ Uw | Username | commons | - }} gives User:commons
{{ Uw | User | Comm~user | - | link = no }} gives User:Comm~user
{{ Uw | User | Comm~user | - | link = no | case = l }} gives user:Comm~user
{{Commons:Link templates/User and user talk links}}