Template:User: Difference between revisions
m (1 revision imported) |
mNo edit summary |
||
Line 8: | Line 8: | ||
| Project = | | Project = | ||
| Lang = | | Lang = | ||
| separator = | | separator = pipe | ||
| 1 = t | | 1 = t | ||
| 2 = c | | 2 = c |
Revision as of 15:40, 9 April 2019
This template is used on approximately 562,000 pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. Transclusion count updated automatically (see documentation). |
This template uses Lua: |
This is a user link template for use internally on Wikipedia.
Usage
The username can be defined via a named or an unnamed parameter, i.e.
{{User|User=USERNAME}}
or{{User|USERNAME}}
Examples
{{User|Jimbo Wales}}
→ Jimbo Wales (talk · contribs)
In cases of usernames which contain = sign, the former syntax should be used, e.g.
{{User|User=Billbailey=legend}}
→ Billbailey=legend (talk · contribs)
Parameters
- User is a required parameter, e.g.
|User=Jimbo Wales
. - Project defines a Wikimedia sister project to be used instead of the English Wikipedia, the correct code for the interwiki link should be used, e.g.
|Project=b
. - Lang is the interlanguage code for a project to be used instead of the English Wikipedia, e.g.
|Lang=es
. This can be used in conjunction with the project parameter. - separator defines the symbol used to separate different links, e.g.
|separator=pipe
. The default is a dot.
Sandbox
Template:User/sandbox can be used for testing. Additional edit history for this template is contained there.
TemplateData
TemplateData for User
This template is used to create a link to a user's user page (unless using {{Useranon}}), talk page, and contributions, and generates a special notification (aka 'ping').
Parameter | Description | Type | Status | |
---|---|---|---|---|
User name | 1 user | The user name that you want to create links to and notify. | String | required |
Sister project | project | Used to link to a sister project instead of the English Wikipedia. Use the standard interwiki prefix. | String | optional |
Other language project | lang | Used to link to another language project. If used with the "sister project" parameter, links to another language of a sister project. Otherwise links to another language Wikipedia. Use the standard language code. | String | optional |
Separator | separator | Used to change the separator between the links. If unused, defaults to a dot. | Unknown | optional |
- REDIRECT Template:Userspace linking templates
This documentation is automatically generated by Template:User-multi/template.
Any categories and documentation specific to this template should be added to the template's /doc subpage. |