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 format
m -tag
Line 7: Line 7:
|2def=param #1
|2def=param #1
|2stat=optional-
|2stat=optional-
|3=3
|3d=specify a "t" to link to the User <u>Talk</u> page<br>''(can as well be coded with parameter 2 or parameter 4 )''
|3stat=optional-
|4=4
|4=4
|4d=either a "+" sign or a "-" sign, to prefix with namespace<br>''(can as well be coded with parameter 2 or parameter 3 )''
|4d=either a "+" sign or a "-" sign, to prefix with namespace<br>''(can as well be coded with parameter 2 or parameter 3 )''
Line 40: Line 37:
{{Tle|t=Uw|Username|-}} gives {{Uw|Username|-}} <br>
{{Tle|t=Uw|Username|-}} gives {{Uw|Username|-}} <br>
{{Tle|t=Uw|Username|+}} gives {{Uw|Username|+}} <br>
{{Tle|t=Uw|Username|+}} gives {{Uw|Username|+}} <br>
{{Tle|t=Uw|Username|t|-}} gives {{Uw|Username|t|-}} <br>
<!-- {{Tle|t=Uw|Username|t|-}} gives {{Uw|Username|t|-}} <br> -->
{{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>

Revision as of 14:06, 28 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
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
{{ 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.