Template:Uw/doc: Difference between revisions
Template page
More actions
m catcorr |
m +parm |
||
| Line 8: | Line 8: | ||
|2stat=optional- | |2stat=optional- | ||
|3=3 | |3=3 | ||
|3d= | |3d=specify a "t" to link to the User <u>Talk</u> page<br>''(can as well be coded with parameter 2 or parameter 4 )'' | ||
|3stat=optional- | |3stat=optional- | ||
|4=4 | |||
|4d=either a "+" sign or a "-" sign, to prefix with namespace<br>''(can as well be coded with parameter 2 or parameter 3 )'' | |||
|4stat=optional- | |||
|name={{BASEPAGENAME}} | |name={{BASEPAGENAME}} | ||
|desc=<big>User page link</big>, only within Commons, when trailed with "~commonswiki" | |desc=<big>User page link</big>, only within Commons, when user names are trailed with "~commonswiki" | ||
|namespace= | |namespace= | ||
|usergroup= | |usergroup= | ||
| Line 25: | Line 28: | ||
|relieson= | |relieson= | ||
}} | }} | ||
==== | ==== More examples ==== | ||
{{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> | ||
{{Tle|t=Uw|Username|+}} gives {{Uw|Username|+}} <br> | {{Tle|t=Uw|Username|+}} gives {{Uw|Username|+}} <br> | ||
{{Tle|t=Uw|Username| | {{Tle|t=Uw|Username|none|-}} gives {{Uw|Username|none|-}} | ||
__NOTOC__ | __NOTOC__ | ||
{{Commons:Link templates/User and user talk links}} | {{Commons:Link templates/User and user talk links}} | ||
Revision as of 07:52, 12 June 2017
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 | |
3 | specify a "t" to link to the User Talk page (can as well be coded with parameter 2 or parameter 4 ) | empty | 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 | |
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 | A Obeidat | t }} gives t
{{ Uw | Username | - }} gives User:Username
{{ Uw | Username | + }} gives User:Username
{{ Uw | Username | none | - }} gives User:none
{{Commons:Link templates/User and user talk links}}