Template:Uw
User page link, within Commons when user names are trailed with "~commonswiki"
in other wikipedias when user names are trailed with "~××wiki" (×× for the ISO 639 language code)
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 | ISO 639 language code; If absent: ~commonswiki | empty | optional | |
4 | + or - to precede the user name with the namespace User:
(if both signs are specified, "+" is used and "-" is ignored) | empty | optional | |
link | specify link=no to suppress the link | empty | optional | |
| more parameters to format the namespace (when "+" or "-" is specified)
| optional | ||
case | for formatting of the namespace:commonswiki
| empty | optional | |
i18n | an ISO 639 language code, to follow another translation then yours
| en | 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 Username (User:Username~commonswiki
)
{{ Uw | Username | | en }} gives Username (en:User:Username~enwiki
)
{{ Uw | Username | - }} gives User:Username
{{ Uw | Username | + }} gives User:Username
{{ Uw | Username | commons | - }} gives User:commons
{{ Uw | Username | Comm~user | - | link = no }} gives User:Comm~user
{{ Uw | Username | Comm~user | - | link = no | case = l }} gives user:Comm~user
{{ Uw | User | Spain~user | es | - | case = i | i18n = es }} gives LangSwitch Error: no default:Spain~user
Language code exampless
{{Uw|Willy on Wheels}} gives Willy on Wheels
{{Uw|Willy on Wheels||}} gives Willy on Wheels
{{Uw|Willy on Wheels|WoW}} gives WoW
{{Uw|Willy on Wheels|WoW|}} gives WoW
{{Uw|Willy on Wheels|WoW|et}} gives WoW
{{Uw|Willy on Wheels||et}} gives Willy on Wheels
Uses Lua: |
Table: different displays for {{Uw}} with the namespace option | |
---|---|
{{ Uw | username }} this is the standard | username |
{{ Uw | username | - }} | User:username |
{{ Uw | username | - | case = l }} | user:username |
{{ Uw | username | - | case = i }} | LangSwitch Error: no default:username |
{{ Uw | username | - | case = n }} | user:username |
{{ Uw | username | + }} | User:username |
{{ Uw | username | + | case = l }} | user:username |
{{ Uw | username | + | case = i }} | user:username |
{{ Uw | username | + | case = n }} | user:username |
{{ Uw | username | link = n }} | username |
{{ Uw | username | - | link = n }} | User:username |
{{ Uw | username | - | link = n | case = l | }} | user:username |
{{ Uw | username | - | link = n | case = i | }} | LangSwitch Error: no default:username |
{{ Uw | username | - | link = n | case = n | }} | user:username |
{{ Uw | username | + | link = n }} | User:username |
{{ Uw | username | + | link = n | case = l | }} | user:username |
{{ Uw | username | + | link = n | case = i | }} | LangSwitch Error: no default:username |
{{ Uw | username | + | link = n | case = n | }} | user:username |
[ ]
User and user talk links
Code | Result | [1] | Shortcut |
---|---|---|---|
{{U|Username}} |
Username links to user page | ✔ | |
{{Uc|Username}} |
Username conditional link to contributions page | ✔ | |
{{Ud|Username}} |
Username links to German user page | = | |
{{Ue|Username}} | Username links to English user page (not yet a template) | = | |
{{Un|Username}} |
Username does not link to user page; no echo function | – | |
{{Ut|Username}} |
Username links to user talk page | ✔ | |
{{Uw|Username}} |
Username trails the given name with "~commonswiki" | – | |
{{Uwt|Username}} |
Username links to the talk page of "~commonswiki" user | – | |
{{Userlist|Username}} |
Username Lua based list of one or more users | ✔ | {{ Ul }} |
Combinations: | |||
{{UL2.0|Username}} |
Username (talk) — Customizable template | ✔ | |
{{Ult|Username}} |
Username (talk) | ✔ | |
{{User|Username}} |
Username (talk · contribs) | ✔ | |
{{Uv|Username|:en:}} |
:en:Username (talk | contribs) | ~ | |
{{User2|Username}} |
Username (talk · contributions · Statistics) | ✔ | |
{{User3|Username}} |
Username (talk · contributions · Move log · block log · uploads · Abuse filter log) | ✔ | {{Vandal}} |
{{User6|Username}} |
Username (talk · contributions · Move log · Statistics · logs · block log) | ✔ | |
{{User7|Username}} |
Username (talk · contributions · user rights management) | ✔ | |
{{User8|Username}} |
Username (talk • contribs • block log • filter log) | – | |
{{User13|Username}} |
Username (talk · contribs · logs · block log) | – | |
{{User14|Username}} |
Username (talk · contributions · deleted user contributions · recent activity · logs · block log · global contribs · CentralAuth) | – | |
{{User21|Username}} |
Username (talk · contribs · count · global contribs) | ✔ | |
{{Userlinks|Username}} |
Username (talk · contribs · deleted contribs · logs · edit filter log · block user · block log) | ✔ | |
{{Admin|Username}} |
Username (talk • contribs • blocks • protections • deletions • moves • rights • rights changes) | – | {{ A }} |
{{UserSUL|Username}} |
Username (talk • contribs • rename user) | – | |
{{BotUser|Username}} |
Username (contribs) | – | |
{{Newbot|Username}} |
tasks • contribs • count • logs • page moves • block user • block log • flag log • global contribs • flag bot | – | |
{{Checkuser|Username}} |
Username (talk • contribs • Luxo's • SUL • deleted contribs • logs • block user • block log ) | – |
- ↑ Interwiki template: Interwiki access (with 3=language code)
Be aware that other templates may use the parameter "editor" or "by" for the same purpose.