Template:Uw/doc: Difference between revisions
Template page
More actions
+expl |
m catcorr |
||
| Line 16: | Line 16: | ||
|placement= | |placement= | ||
|usage-notes= | |usage-notes= | ||
|i18n-method=- | |||
|type= | |type= | ||
|example=Username | |example=Username | ||
| Line 33: | Line 34: | ||
<includeonly> | <includeonly> | ||
[[Category:Username internal link templates|{{PAGENAME}}]] | [[Category:Username internal link templates|{{PAGENAME}}]] | ||
[[Category:Typing-aid templates|{{PAGENAME}}]] | |||
</includeonly> | </includeonly> | ||
Revision as of 21:20, 11 June 2017
User page link, only within Commons, when 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 | either a "+" sign or a "-" sign, to prefix with namespace (can as well be coded with parameter 2) | 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.
Example for namespace
{{ Uw | Username | - }} gives User:Username
{{ Uw | Username | + }} gives User:Username
{{ Uw | Username | previous | - }} gives User:previous
{{Commons:Link templates/User and user talk links}}