Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Uw: Difference between revisions

Template page
m +parm
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{U/main|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|link={{{link|}}}|case={{{case|}}}|lang={{{lang|}}}<!--  
<includeonly>{{U/main|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|link={{{link|}}}|case={{{case|}}}|i18n={{{i18n|}}}<!--  
-->|par1={{{par1|}}}|par2={{{par2|~{{#switch:{{{3|}}}|+|-|=commons|{{{3}}}}}wiki}}}}}</includeonly><noinclude>
-->|par1={{{par1|}}}|par2={{{par2|~{{#switch:{{{3|}}}|+|-|=commons|{{{3}}}}}wiki}}}}}</includeonly><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 15:46, 12 February 2026

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|Example}}

renders as:

Localization

This template is not intended to be localized.

More examples

{{ UwExample }} gives Example (User:Example~commonswiki)
{{ UwExamplew:en }} gives Example (w:en:User:Example~enwiki)
{{ UwExample- }} gives User:Example
{{ UwExample+ }} gives User:Example
{{ UwExamplecommons- }} gives User:commons
{{ UwExampleComm~user-link = no }} gives User:‍Comm~user
{{ UwExampleComm~user-link = nocase = l }} gives user:‍Comm~user
{{ UwUserSpain~userw:es-case = ii18n = es }} gives LangSwitch Error: no default:Spain~user

Table: different displays for {{Uw}} with the namespace option 0
{{ UwExample }} 0this is the standard Example
{{ UwExample- }} User:Example
{{ UwExample-case = l }} user:Example
{{ UwExample-case = i }} LangSwitch Error: no default:Example
{{ UwExample-case = n }} user:Example
{{ UwExample+ }} User:Example
{{ UwExample+case = l }} user:Example
{{ UwExample+case = i }} user:Example
{{ UwExample+case = n }} user:Example
{{ UwExamplelink = n }} ‍Example
{{ UwExample-link = n }} User:‍Example
{{ UwExample-link = ncase = l }} user:‍Example
{{ UwExample-link = ncase = i }} LangSwitch Error: no default:‍Example
{{ UwExample-link = ncase = n }} user:‍Example
{{ UwExample+link = n }} User:‍Example
{{ UwExample+link = ncase = l }} user:‍Example
{{ UwExample+link = ncase = i }} LangSwitch Error: no default:‍Example
{{ UwExample+link = ncase = n }} user:‍Example

[edit ] {{Commons:Link templates/User and user talk links}}

Cookies help us deliver our services. By using our services, you agree to our use of cookies.