Template:Uw/doc: Difference between revisions
Template page
More actions
m +link |
m +parm |
||
| Line 13: | Line 13: | ||
|4d=either a "+" sign or a "-" sign, to prefix with namespace<br>''(can as well be coded with parameter 2 or parameter 3 )'' | |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- | |4stat=optional- | ||
|5=link | |||
|5d-de=erzeugt nur-Text anstelle eines Link wenn <code>link=no</code> | |||
|5d-en=returns plain text instead of a link when set to <code>link=no</code> | |||
|5stat=optional- | |||
|name={{BASEPAGENAME}} | |name={{BASEPAGENAME}} | ||
|desc=<big>User page link</big>, only within Commons, when user names are trailed with "~commonswiki" | |desc=<big>User page link</big>, only within Commons, when user names are trailed with "~commonswiki" | ||
| Line 34: | Line 40: | ||
{{Tle|t=Uw|Username|+}} gives {{Uw|Username|+}} <br> | {{Tle|t=Uw|Username|+}} gives {{Uw|Username|+}} <br> | ||
{{Tle|t=Uw|Username|t|-}} gives {{Uw|Username|t|-}} <br> | {{Tle|t=Uw|Username|t|-}} gives {{Uw|Username|t|-}} <br> | ||
{{Tle|t=Uw|Username| | {{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> | |||
__NOTOC__ | __NOTOC__ | ||
Revision as of 11:42, 23 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 | |
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 | |
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 | A Obeidat | t }} gives t
{{ Uw | Username | - }} gives User:Username
{{ Uw | Username | + }} gives User:Username
{{ Uw | Username | t | - }} gives User:t
{{ Uw | Username | commons | - }} gives User:commons
{{ Uw | User | Comm~user | - | link = no }} gives User:Comm~user
{{Commons:Link templates/User and user talk links}}