Misplaced Pages

Template:User: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editContent deleted Content addedVisualWikitext
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> &nbsp;yields&nbsp; {{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

Example (talk · contribs)

Template documentation
WarningThis 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

In cases of usernames which contain = sign, the former syntax should be used, e.g.

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.
Shortcuts For the template that only gives a link to a user's user page, see Template:User link. For the template that gives links related to a user's page, see Template:lu.
WarningThis 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').

Template parameters

ParameterDescriptionTypeStatus
User name1 user

The user name that you want to create links to and notify.

Userrequired
Sister projectproject

Used to link to a sister project instead of the English Misplaced Pages. Use the standard interwiki prefix.

Suggested values
wiktionary wikinews wikibooks wikiquote wikisource wikispecies wikiversity wikivoyage foundation commons meta mediawikiwiki wikidata
Stringoptional
Other language projectlang

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.

Stringoptional
Separatorseparator

Used to change the separator between the links. If unused, defaults to a dot.

Unknownoptional

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
Userspace linking templates
Standard templates
Templates Examples of template output
{{User link}}, {{U}} Example
{{User0}}, {{Usert}} Example (talk)
{{User}}, {{User1}}, {{BUser}}, {{Userv}} Example (talk · contribs)
{{User and pronouns}}, {{Userp}} Example (talk · contribs · they/them)
{{Usertcb}} Example (talk · contribs · block user)
{{User link global contributions}}, {{Usergc}} Example (talk · global contribs)
{{User2}}, {{Usertcc}} Example (talk · contribs · count)
{{User3}}, {{Usertcl}} Example (talk · contribs · logs)
{{User4}}, {{Usertce}} Example (talk · contribs · email)
{{Usercf}} Example (contribs | filter log)
{{User5}} Example (talk · contribs · deleted contribs · page moves · block user · block log)
{{User6}} Example (talk · contribs · count · logs · page moves · block log) or (with |email=y)
Example (talk · contribs · count · logs · page moves · block log · email)
{{User6b}} Example (talk · message · contribs · count · logs · email)
{{User7}} Example (talk · contribs · count · logs · email)
{{User8}}, {{Usertcce}} Example (talk · contribs · central auth · count · email)
{{User10}}, {{Usertccl}} Example (talk · contribs · count · logs)
{{User11}} Example (talk · contribs · count · api · block log)
{{User12}} Example (talk · contribs · page moves · block user · block log)
{{User13}} Example (talk · contribs · logs · block log)
{{User14}} Example (talk · contribs · global contribs · logs · block log)
{{User15}} Example (talk · contribs · count · logs · page moves · block log · edit summaries)
{{User16}} Example (talk · message · contribs · page moves · edit summaries · count · api · logs · block log · email)
{{User17}} Example (talk · contribs · uploads)
{{User18}} Example (talk · contribs · logs · filter log · block log)
{{User19}} Example (talk · contribs · global contribs · page moves · user creation · block log)
{{User21}} Example (talk · contribs · deleted contribs · page moves · block user · logs · block log · arb · rfc · lta · rfcu · ssp · SPI · cuwiki)
{{User23}} Example (talk · contribs · deleted contribs · logs · target logs · block log · list user · global contribs · central auth · Google)
{{User-dev}} Example (talk · email · rights) · (Testwiki · talk · rights) · (GitHub · Open issues)
{{User-multi}} Example (talk · contribs · count · logs · page moves · block log · block user · email · central auth · deleted contribs · list user · global contribs · target logs)
With this template, you can specify which links you want displayed. The above example includes some of the available links.
{{User plus}} Example
{{User summary}} Example (talk · contribs · deleted contribs · blacklist hits · AbuseLog · what links to user page · count · COIBot · Spamcheck · user page logs · x-wiki · status · Edit filter search · Google · StopForumSpam)
{{User toolbox}}
User toolbox for Example
General
Skin customizations
Requests / Investigations
History
Admin history
Bureaucrat history
Steward history
Actions
{{Useranon}} 192.0.2.42 (talk)
{{IP summary}} 192.0.2.42 (talk • contribs • deleted contribs • blacklist hits • AbuseLog • what links to user page • COIBot • Spamcheck • count • block log • x-wiki • Edit filter search • WHOIS • RDNS • tracert • robtex.com • StopForumSpam • Google • AboutUs • Project HoneyPot)
{{IPuser}} 192.0.2.42 (talk · contribs · WHOIS)
Admin: userlinking templates normally used on administrative pages
Templates Examples of template output
{{User-c}} Example (t c)
{{User-c-name}} Example (t·c)
{{User-t}} Example (t·c)
{{User-t2}} Example (t·c)
{{Useracc}} Example (talk · contribs · account creation)
{{UserBk}} Example (block log)
{{Userblock}} Example (talk · contribs · block log)
{{Userblocked}} Example (talk · contribs · page moves · current autoblocks · block log)
{{Usercheck}} Example (talk · contribs · count · logs · block log · lu · rfas · rfb · arb · rfc · lta · socks confirmedsuspected)
{{Usercheck-short}} Example (talk · contribs · deleted · count · AfD · logs · block log · lu · rfar · spi)
{{Usercheck-full}} Example (talk · message · contribs · global contribs · deleted contribs · page moves · user creation · block user · block log · count · total · logs · summary · email | lu · rfas · rfb · arb · rfc · lta · checkuser · spi · socks suspected | rfar · rfc · rfcu · ssp | current rights · rights log (local) · rights log (global/meta) | rights · renames · blocks · protects · deletions · rollback · admin · logs | UHx · AfD · UtHx · UtE)
{{Usercheck-super}} Example (talk · message · contribs · global contribs · deleted contribs · page moves · user creation · block user · block log · count · total · logs · edit summaries · email | lu · rfas · rfb · arbcase · rfc · lta · checkuser · spi · socks suspected | current rights · rights log (local) · rights log (global/meta) | rights · renames · blocks · protections · deletions | moves · pending changes log · abuse filter · pages created | RM · XfD · AfD · UtHx · UtE)
{{Checkuser}} Example (talk · tag · contribs · deleted contribs · logs · filter log · block user · block log · CA · CheckUser(log· investigate · cuwiki)
{{Contribs}}
{{UserContribs}}
contributions
{{Contribs2}}
{{UserContribs2}}
Hans Adler's contributions (early history of the UserContribs2 template)
{{Contribs3}}
{{UserContribs3}}
Hans Adler's contributions (early history of the UserContribs2 template)
{{Ccount}} Contribution count for "Example"
{{Useredits}} Example (contribs)
{{UserFs}} Example (block log · checkusersuspected)
{{User-full}} Example (talk · contribs · checkuser · block user · block log · edit count)
{{Userlinks}} Example (talk · contribs · deleted contribs · logs · filter log · block user · block log)
{{Userlinks2}} Example (talk · contribs · blocks · count · rollback · admin · logs)
{{Userlinks-abbr}} (u t c m l )
{{Userlinks-tt}} Example ("Example· talk · contribs · page moves · block user · block log)
{{Userlogs}} Logs for "Example"
{{Userrights}} Example (current rights · rights management · rights log (local) · rights log (global/meta) · block log)
{{Admincheck}} Example (talk · contribs · count · logs · target logs · block log · lu · rfas · rfb · arb · rfc · lta · checkuser · sockssuspected · rights · blocks · protects · deletions · moves)
{{Notable user}} Example (user · talk · contribs)
{{Socklinks}} Example (talk · contribs · deleted contribs · tag · block user · block log · CheckUser)
{{User-uaa}} Example (talk · contribs · deleted · filter log · SUL · Google) (block · soft · promo · cause · bot · hard · spam · vandal)
{{UserVP}} Example (talk · contribs · count · block log)
{{Vandal}} Example (talk · contribs · deleted contribs · nuke contribs · logs · filter log · block user · block log)
192.0.2.16 (talk · contribs · deleted contribs · filter log · WHOIS · RDNS · RBLs · http · block user · block log)
{{Vandal-m}} Example (talk · contribs · block log · arb · rfcu · ssp · SPI suspected)
{{Vandal-s}} Example (talk · contribs · block log)
{{Checkip}} 192.0.2.42 (talk · tag · contribs · filter log · WHOIS · RBLs · proxy check · block user · block log · cross-wiki contribs · CheckUser (log))
{{IPcheck}} 192.0.2.42 (talk · tag · contribs · count · WHOIS · ip details · trace · RBLslogs · block log · arb · rfc · lta · spi · checkuser · socks )
{{IPunblock}} 192.0.2.42 (talkcontribsdeleted contribsWHOISRDNStraceRBLsblock logunblock)
{{Rangevandal}} 192.0.2.0/24 (block range · block log (global) · WHOIS (partial))
{{Proxyip}} 192.0.2.42 · talk · contribs · block · log · stalk · Robtex · whois · Google · ipcheck · HTTP · geo · rangeblocks · spur · shodan
Bots: templates used by bots
Templates Examples of template output
{{Admin}} Example (talk · contribs · blocks · protections · deletions · page moves · rights · RfA)
{{Former admin}} Example (talk · contribs · former admin: blocks · protections · deletions · rights · meta · local rights)
{{Admin-abbr}} Example (t · c · b · p · d · m · r)
{{Former admin abbr}} Example (former: t · c · b · p · d · r · meta · local)
{{Bureaucrat}} Example (talk · contribs · rights · renames)
{{Bureaucrat2}} Example (talk · contribs · blocks · protections · deletions · moves · rights · renames · global renames)
{{Botlinks}} Example Bot (BRFA · contribs · actions log · block log · flag log · user rights)
{{Botlinks2}} Example Bot (talk · contribs · tasks · flag log · actions log · block log · other logs · count)
{{Botlinks3}} Example Bot (task list · contribs)
{{Botlinks4}} Example Bot (task list  · logs  · botop  · contribs · user rights)
{{Botop}} Example (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
{{Newbot}}
Signing: templates used to add a missing user signature
Templates Examples of template output
{{Signing}} Example (talkcontribs) 00:00, 12 Jan 2025 (UTC)
{{Quotedfrom}} — Preceding text originally posted on Template talk:User (diff) by Example (talkcontribs) 00:00, 12 Jan 2025 (UTC)
{{Undated}} — Preceding undated comment added 00:00, 12 Jan 2025 (UTC)
{{Uns-ip}} — Preceding unsigned comment added by 192.0.2.42 (talkcontribsWHOIS) 00:00, 12 Jan 2025 (UTC)
{{Unsigned}}
{{Unsigned2}}
— Preceding unsigned comment added by Example (talkcontribs) 00:00, 12 Jan 2025 (UTC)
{{Unsigned IP}}
{{UnsignedIP2}}
— Preceding unsigned comment added by 192.0.2.42 (talk) 00:00, 12 Jan 2025 (UTC)
{{Unsigned2Fix}} — Preceding comment added by Example (talk · contribs) 00:00, 12 Jan 2025 (UTC); original signature removed while fixing wiki markup errors
{{UnsignedIP2Fix}} — Preceding comment added by 192.0.2.42 (talk) 00:00, 12 Jan 2025 (UTC); original signature removed while fixing wiki markup errors
{{User actual}} — Preceding comment signed as by Example (talk · contribs) actually added by Example2 (talk · contribs)
{{User proxy}} — Preceding comment posted at the request of Example (talk · contribs) actually added by Example2 (talk · contribs)
{{Warning origin}} — Preceding warning originally posted on User talk:Example by Example2 (talkcontribs) 00:00, 12 Jan 2025 (UTC)
{{Xsign}} — Preceding unsigned comment added by Example (talkcontribs) 00:00, 1 January 2000 (UTC)
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. Category: