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/doc: Difference between revisions

Template page
m +parm
m format
Line 34: Line 34:
|relieson=
|relieson=
}}
}}
__NOTOC__
==== More examples ====
==== More examples ====
{{Tle|t=Uw|A Obeidat|t}} gives {{Uw|A Obeidat|t}} <br>
{{Tle|t=Uw|A Obeidat|t}} gives {{Uw|A Obeidat|t}} <br>
Line 42: Line 43:
{{Tle|t=Uw|Username|commons|-}} gives {{Uw|Username|commons|-}} <br>
{{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>
{{Tle|t=Uw|User|Comm~user|-|p4=link|no}} gives {{Uw|Username|Comm~user|-|link=no}} <br>
: only when ''not'' a part of the link, the namespace name can be changed to lower case:
<nowiki>'''{{</nowiki><tt>lcfirst:</tt>{{Tle|t=Uw|User|Comm~user|-|p4=link|no}}<nowiki>}}'''</nowiki> gives '''{{lcfirst:{{Uw|Username|Comm~user|-|link=no}}}}'''


__NOTOC__
{{Commons:Link templates/User and user talk links}}
{{Commons:Link templates/User and user talk links}}



Revision as of 12:24, 23 May 2019

User page link, only within Commons, when user names are trailed with "~commonswiki"

Usage

{{Uw |1= }}

Template parameters

ParameterDescriptionDefaultStatus
1user name, without the trailing "~commonswiki"emptyrequired
2display name (nick name): may be formattedparam #1optional
3specify a "t" to link to the User Talk page
(can as well be coded with parameter 2 or parameter 4 )
emptyoptional
4either a "+" sign or a "-" sign, to prefix with namespace
(can as well be coded with parameter 2 or parameter 3 )
emptyoptional
linkreturns plain text instead of a link when set to link=noemptyoptional

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

{{ UwA Obeidatt }} gives t

{{ UwUsername- }} gives User:Username
{{ UwUsername+ }} gives User:Username
{{ UwUsernamet- }} gives User:t
{{ UwUsernamecommons- }} gives User:commons
{{ UwUserComm~user-link = no }} gives User:‍Comm~user

only when not a part of the link, the namespace name can be changed to lower case:

'''{{lcfirst:{{ UwUserComm~user-link = no }}}}''' gives user:‍Comm~user

{{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.