Template:User: Difference between revisions
m 1 revision imported |
No edit summary Tag: Manual revert |
||
Line 1: | Line 1: | ||
<includeonly>{{safesubst:#invoke:user|main}}</includeonly>< |
<includeonly>{{safesubst:#invoke:user|main}}</includeonly><noinclude> |
||
<!-- |
|||
-- Use the automatic documentation from [[Template:User-multi/template]]. |
|||
-- Some parameters must be blank, but not absent, to work correctly. |
|||
-- |
|||
-->{{User-multi/template |
|||
| User = |
|||
| Project = |
|||
| Lang = |
|||
| separator = |
|||
| 1 = t |
|||
| 2 = c |
|||
| demo = |
|||
| span = no |
|||
| doc = yes |
|||
}} |
|||
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> |
|||
</noinclude> |
Latest revision as of 13:30, 12 September 2024
This template is used on 526,549 pages. To avoid large-scale disruption and unnecessary server load, any changes to this template should first be tested in its /sandbox or /testcases subpages or in your own user subpage. The tested changes can then be added to this page in a single edit. Please consider discussing any changes on the talk page before implementing them. |
Lua error in Module:Lua_banner at line 115: attempt to compare nil with number.
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.
This template is used on approximately 643,000 pages, or roughly 10790% 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
TemplateData for User
<templatedata> { "description": "This template is used to create a link to a user's user page (unless using Example (talk)), talk page, and contributions, and generates a special notification (aka 'ping').", "params": { "1": { "label": "User name", "type": "wiki-user-name", "required": true, "description": "The user name that you want to create links to and notify.", "aliases": [ "user" ] }, "project": { "label": "Sister project", "type": "string", "description": "Used to link to a sister project instead of the English Wikipedia. Use the standard interwiki prefix.", "suggestedvalues": [ "wiktionary", "wikinews", "wikibooks", "wikiquote", "wikisource", "wikispecies", "wikiversity", "wikivoyage", "foundation", "commons", "meta", "mediawikiwiki", "wikidata" ] }, "lang": { "label": "Other language project", "type": "string", "description": "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." }, "separator": { "label": "Separator", "description": "Used to change the separator between the links. If unused, defaults to a dot." } } } </templatedata>
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