Template:Uw

Template documentation[view · edit · history · purge]
This documentation is transcluded from Template:Uw/doc.

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

ParameterDescriptionDefaultStatus
1user name, without the trailing "~commonswiki"emptyrequired
2display name (nick name): may be formattedparam #1optional
3ISO 639 language code; If absent: ~commonswiki emptyoptional
4+ or - to precede the user name with the namespace User:
+ ("plus" sign) to make User: a part of the link,
- ("minus" sign) to precede User: as plain text;

(if both signs are specified, "+" is used and "-" is ignored)

The +/- parameter can as well be specified with parameter 2 or 3.
emptyoptional
linkspecify link=no to suppress the linkemptyoptional
0
more parameters to format the namespace (when "+" or "-" is specified)
» not every possible combination of parameter values is useful «
0optional
casefor formatting of the namespace:commonswiki
  • case=l display "user" instead of "User"
  • case=i display the national translation, in general a link
  • case=n display the national translation without linking it
emptyoptional
i18nan ISO 639 language code, to follow another translation then yours
when parameter setting is case=i or case=n
enoptional

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.

Category:Templates not requiring internationalization

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 defaultCategory:LangSwitch template without default version: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

Category:Main message boxesCategory:Lua-based templates
Table: different displays for {{Uw}} with the namespace option 0
{{ Uw | username }} 0this is the standardusername
{{ Uw | username | - }}User:username
{{ Uw | username | - | case = l }}user:username
{{ Uw | username | - | case = i }}LangSwitch Error: no defaultCategory:LangSwitch template without default version: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 defaultCategory:LangSwitch template without default version: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 defaultCategory:LangSwitch template without default version:username
{{ Uw | username | + | link = n | case = n }}user:username

[edit ]

CodeResult[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 }}
WWW 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}}

{{User4|Username}}

Username ( local | logs | global )

{{User5|Username}}

Username (talk · contributions · Statistics · Recent activity · block log · User rights log · uploads · Global account information)

{{User6|Username}}

Username (talk · contributions · Move log · Statistics · logs · block log)

{{User7|Username}}

Username (talk · contributions · user rights management)

{{User8|Username}}

Username (talkcontribsblock logfilter log)

{{User13|Username}}

Username (talk · contribs · logs · block log)

{{User14|Username}}

Username (talk · contributions (views) · deleted user contributions · recent activity (talk · project · deletion requests) · 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 SUL deleted contribs logs block user block log )
  1. Interwiki template: Interwiki access (with 3=language code)

Be aware that other templates may use the parameter "editor" or "by" for the same purpose.

Category:Username internal link templates#Uw Category:Typing-aid templates#Uw
Category:LangSwitch template without default version Category:Lua-based templates Category:Main message boxes Category:Templates not requiring internationalization Category:Typing-aid templates Category:Username internal link templates