Revision as of 23:36, 15 November 2006 view sourceDavid Kernow (talk | contribs)40,997 editsm suggest plain bullet too obtrusive← Previous edit | Latest revision as of 01:02, 8 August 2020 view source Xaosflux (talk | contribs)Edit filter managers, Autopatrolled, Bureaucrats, Importers, Interface administrators, Oversighters, Administrators83,941 editsm Changed protection level for "Template:User": no longer in interface ( (indefinite) (indefinite)) | ||
(40 intermediate revisions by 18 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{safesubst:#invoke:user|main}}</includeonly><noinclude> | |||
] ]<small>•</small> ]<noinclude> | |||
<!-- | |||
-- Use the automatic documentation from ]. | |||
-- Some parameters must be blank, but not absent, to work correctly. | |||
== Example == | |||
-- | |||
<code><nowiki>{{User|Jimbo Wales|J. Wales}}</nowiki></code> yields {{User|Jimbo Wales|J. Wales}} | |||
-->{{User-multi/template | |||
| User = | |||
== See also == | |||
| Project = | |||
{| | |||
| Lang = | |||
|width="70px"| || | |||
| separator = | |||
|- | |||
| 1 = t | |||
| {{tl|User2}} || {{User2|Jimbo Wales}} | |||
| 2 = c | |||
|- | |||
| demo = | |||
| {{tl|User3}} || {{User3|Jimbo Wales}} | |||
| span = no | |||
|- | |||
| doc = yes | |||
| {{tl|User4}} || {{User4|Jimbo Wales}} | |||
⚫ | }} | ||
|- | |||
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> | |||
| {{tl|User5}} || {{User5|Jimbo Wales}} | |||
|- | |||
| {{tl|User6}} || {{User6|Jimbo Wales}} | |||
|- | |||
| {{tl|User7}} || {{User7|Jimbo Wales}} | |||
⚫ | |||
] | |||
</noinclude> | </noinclude> |
Latest revision as of 01:02, 8 August 2020
Template documentationThis template is used on approximately 657,000 pages, or roughly 1% of all 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. |
This template uses Lua: |
This is a user link template for use internally on Misplaced Pages.
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 Misplaced Pages, 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 Misplaced Pages, 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.
This template is used on approximately 657,000 pages, or roughly 1% of all 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. |
Sandbox
Template:User/sandbox can be used for testing. Additional edit history for this template is contained there.
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:User in articles based on its 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. | User | required |
Sister project | project | Used to link to a sister project instead of the English Misplaced Pages. 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 Misplaced Pages. 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 |
Userspace link templates
User information templates provide informational links for a user; they are similar to signatures, but often provide additional information, and may be used by other users. List:
- Demo user used is User:Example
Any categories and documentation specific to this template should be added to the template's /doc subpage. Category: