ढाँचा:User-multi/कागजात

विकिपिडिया, एक स्वतन्त्र विश्वकोशबाट

This is a very flexible user link template, which allows you to specify which links are shown beside the username. It can be used as a meta-template to support other user link templates, or it can be used alone.

Usage[सम्पादन गर्नुहोस्]

Standalone usage
{{user-multi|code 1|code 2|code 3|...|user=username|project=project|lang=lang}}
Usage in templates
{{<includeonly>safesubst:</includeonly>User-multi<noinclude>/template</noinclude>
 | User      = {{{1|{{{User|{{{user|}}}}}}}}}
 | Project   = {{{2|{{{Project|{{{project|}}}}}}}}}
 | Lang      = {{{3|{{{Lang|{{{lang|}}}}}}}}}
 | separator = {{{separator|dot}}}
 | small     = <!-- yes -->
 | sup       = <!-- yes -->
 | span      = <!-- no -->
 | 1         = <!-- link code 1 -->
 | 2         = <!-- link code 2 -->
 | 3         = <!-- link code 3 -->
 ...
 | demo      = {{{demo|}}}
 | doc       = <!-- yes -->
}}

The doc parameter is used to provide automatic documentation on the template page, i.e. |doc=yes.

Parameters[सम्पादन गर्नुहोस्]

  • 1, 2, 3, ... n: these parameters specify what links to display in the template. See the code table below for valid input codes.
  • User or user: the username. An error is returned if this is omitted.
  • Project or project: the interwiki prefix for the project you wish to link to. Please see Help:Interwiki linking for a list of valid codes. For backwards compatibility, a language code can also be entered in this field.
  • Lang or lang: the language code for the project you wish to link to. See List of Wikipedias for a complete list of language codes used by Wikimedia sites.
  • separator: the separator to use in between links. Valid values are dot· ), comma(, ), pipe( • ), and tpt-languages(⧼tpt-languages-separator⧽). If not specified, then dot is the default.
  • small: if this parameter exists, fonts will be displayed at 90% of the normal size.
  • sup: if this parameter exists, links will be displayed in superscript.
  • span: if this parameter is set to "no", no <span>...</span> tags are included around the link toolbar. If this option is set, any URL links will appear with the external link icon.
  • doc: this parameter is only available on template pages, using the /template sub-template. If set to yes, it will automatically generate documentation for that template.
  • demo: if this parameter is set to yes, the template will not output any categories.

Codes[सम्पादन गर्नुहोस्]

Here is a list of currently supported link codes:

Examples[सम्पादन गर्नुहोस्]

Markup Renders as
{{User-multi|user=Example|t|c|e}}
Example (वार्तालाप · योगदानहरू · email)
{{User-multi|user=Example|t|c|ct|m|l}}
Example (वार्तालाप · योगदानहरू · गणना · पृष्ठ सारेको · लग)
{{User-multi|user=Example|lang=es|t|c|e}}
Example (वार्तालाप · योगदानहरू · email)
{{User-multi|user=Example|project=b|t|c|e}}
Example (वार्तालाप · योगदानहरू · email)
{{User-multi|user=Example|project=b|lang=es|t|c|e}}
Example (वार्तालाप · योगदानहरू · email)
{{User-multi|user=Example|project=wikibooks|lang=es|t|c|e}}
Example (वार्तालाप · योगदानहरू · email)
{{User-multi|user=Example|t|c|e|sup=yes}}
Example (वार्तालाप · योगदानहरू · email)
{{User-multi|user=Example|t|c|e|small=yes}}
Example (वार्तालाप · योगदानहरू · email)

Errors[सम्पादन गर्नुहोस्]

In certain circumstances, the template will generate errors. This is a list of all the error messages that the template might generate, and how users can resolve them.

No username detected[सम्पादन गर्नुहोस्]

There are two possible reasons for this error. The first is simply that you have not specified a username, or you have specified a username using an unrecognised parameter name. The second is that your username contains an equals sign, and that is causing the template to interpret the first half of your username as a parameter name. Both of these problems can be fixed by trying different parameters for the username. Try using |1=your username, |User=your username, and |user=your username, and if none of those work please start a new thread at Template talk:User-multi.

Not a valid project or language code[सम्पादन गर्नुहोस्]

  • User-multi error: "xyz" is not a valid project or language code.

This error is produced if the template is not able to process the project parameter. The project parameter must either be a valid interwiki prefix or a valid language code. See Help:Interwiki linking for a list of valid interwiki prefixes, and the section on language code errors directly above for more details on valid language codes.

If you are sure that the interwiki prefix is valid, but you still get this error, it might be a bug in the software. This template uses Module:InterwikiTable for interwiki prefix data, so you can check to see if your site and your prefix exist in the table and fix it if they don't. If that fails to resolve the problem, please start a new thread at Template talk:User-multi.

Not a valid language code[सम्पादन गर्नुहोस्]

  • User-multi error: "xyz" is not a valid language code.

This error is generated if an invalid language code is specified. The language code must be a valid MediaWiki language code; for example, English is en and German is de. For a complete list of valid language codes, see the table of Wikimedia projects.

Not a valid link code[सम्पादन गर्नुहोस्]

This error is generated if an invalid link code is specified. For a list of valid link codes, see the code list above. This error may be generated if a link code corresponds to a function in Module:UserLinks/extra, but a recent edit to that page has rendered the function inoperable. Please check recent edits to Module:UserLinks/extra, and consider moving any often-used link functions to the main module.

No link code specified[सम्पादन गर्नुहोस्]

This error is only generated when using Module:UserLinks directly to create a single link. The link code must be in the first positional parameter, like this: {{#invoke:UserLinks|single|link code|other parameters ...}}.

Malformed link code detected[सम्पादन गर्नुहोस्]

This error can only be generated when accessing Module:UserLinks from another Lua module. One of the link codes passed to the module was either not a string or was the blank string. This should be fixed in the Lua module that called Module:UserLinks.

No snippet exists[सम्पादन गर्नुहोस्]

  • User-multi error: no snippet exists for the key "xyz".

This error occurs when there is an error in one of the link functions. Usually, this means that a user has added an extra link function to Module:UserLinks/extra, but has tried to use a user data snippet that doesn't exist. The link function that generated this error needs to be fixed by the developers or by the local module maintainers.

Error category[सम्पादन गर्नुहोस्]

All errors listed above are tracked in Category:UserLinks transclusions with errors. This category is added in all namespaces, but respects the blacklist defined in Module:Category handler. For example, archive pages are not categorised.

Adding new links[सम्पादन गर्नुहोस्]

To add a new link, you need to edit the Lua module that this template is based on, Module:UserLinks. Instructions are in the source code, if you feel capable programming in Lua. If you're not familiar with Lua, feel free to make a request on Template talk:User-multi, and someone might add the link for you. === Other user information 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.

Template Output ('Example' is used for user name)
{{User link}} {{U}} Example
{{User0}} {{Usert}} Example (वार्तालाप)
{{User}} {{User1}} {{BUser}} Example (वार्तालाप · योगदानहरू)
{{Userv}} Example (वार्तालापयोगदानहरू)
{{Usertcb}} Example (वार्तालापयोगदानहरूblock user)
{{User2}} {{Usertcc}} Example (वार्ता योगदान गणना)
{{User3}} {{Usertcl}} Example (वार्तालाप · योगदानहरू · लग)
{{User4}} {{Usertce}} Example (वार्तालाप · योगदानहरू · email)
{{User5}} Example (वार्तालाप · योगदानहरू · deleted contribs · पृष्ठ सारेको · block user · block log)
{{User6}} Example (वार्तालाप · योगदानहरू · गणना · लग · पृष्ठ सारेको · block log) or (with |email=y)
Example (वार्तालाप · योगदानहरू · गणना · लग · पृष्ठ सारेको · block log · email)
{{User6b}} Example (talk · message · contribs · count · logs · email)
{{User7}} Example (वार्तालाप · योगदानहरू · गणना · लग · email)
{{User8}} {{Usertcce}} Example (वार्तालाप · योगदानहरू · गणना · email)
{{User10}} {{Usertccl}} Example (वार्तालाप · योगदानहरू · गणना · लग)
{{User11}} Example (वार्तालाप · योगदानहरू · गणना · api · block log)
{{User12}} Example (वार्तालाप · योगदानहरू · पृष्ठ सारेको · block user · block log)
{{User13}} Example (talk · Special:Contributions/Example · logs · block log)
{{User14}} Example (वार्तालाप · योगदानहरू · global contribs · लग · block log)
{{User15}} Example (वार्तालाप · योगदानहरू · गणना · लग · पृष्ठ सारेको · block log · edit summaries)
{{User16}} Example (वार्तालाप · message · योगदानहरू · पृष्ठ सारेको · edit summaries · गणना · api · लग · block log · email)
{{User19}} Example (talk · contribs · global contribs · page moves · user creation · block log)
{{User21}} Example (वार्ता · योगदानहरू · मेटिएका योगदानहरू · पृष्ठ सारिएको · निषेध प्रयोगकर्ता · लगहरू · निषेध लग · विशेषाधिकार · टिप्पणीकर्ता · दुरुपयोग · सपछाअभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "०"।अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "०"।)
{{User23}} Example (talk · contribs · deleted · listuser · global account browser · central auth · logs · target logs)
{{User plus}} Examplecontact
{{User-multi}} Example (वार्तालाप · योगदानहरू · गणना · लग · पृष्ठ सारेको · 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.
{{UserSummary}} Example (talk · contribs · deleted contribs · what links to user page · count · COIBot · user page logs · x-wiki · status · Edit filter search · Google)
{{User toolbox}}
{{Useranon}} 255.255.255.255 (talk)
{{IPuser}} 255.255.255.255 (talk · contribs · info · WHOIS)
{{IP summary}} 255.255.255.255 (talk · contribs · deleted contribs · what links to user page · COIBot · count · block log · x-wiki · Edit filter search · WHOIS · RDNS · traceroute · ippages.com · robtex.com · tor · Google · AboutUs)
User information templates normally used on administrative pages
Template Output ('Example' is used for user name)
{{User-c}} Example (t c)
{{User-c-name}} Example (t·c)
{{User-t}} Example (वा·यो)
{{User-t2}} Example (t·c)
{{Useracc}} Example (talk contribs account creation)
{{UserBk}} Example (block log)
{{Userblock}} Example (talk · contribs · block log)
{{Userblocked}} Example (talkcontribspage movesCurrent Autoblocksblock log)
{{Usercheck}} Example (talk · contribs · count · logs · block log · lu · rfa · rfb · arb · rfc · lta · rfcu · ssp · socks )
{{Usercheck-short}} Example (talk · contribs · deleted · count [quick] · logs · block log · lu · rfar · rfc · rfcu · ssp · spi)
{{Usercheck-full}} Example (वार्ता · सन्देस · योगदानहरू · विश्वव्यापी योगदानहरू · मेटिएका योगदानहरू · पृष्ठ सारिएका · प्रयोगकर्ता सृजना · प्रयोगकर्ता निषेध · निषेध लग · गणना · जम्मा · लगहरू · शीर्षक)


{{Checkuser}} Example (talk+tagcontribsdeleted contribslogsfilter logblock userblock logSULcheckuser)
{{UserContribs}} contributions
{{Ccount}} Contribution count for "Example"
{{Useredits}} Example (contribs)
{{UserFs}} Example (block log · checkuser)
{{User-full}} Example  (वार्ता · योगदानहरू · प्रयोगकर्ता जाँच · निषेध · निषेध लग · सम्पादन गणना)
{{Userlinks}} Example (talk · contribs · deleted contribs · logs · edit filter log · block user · block log)
{{Userlinks2}} Example (talk · contribs · blocks · count · rollback · admin · logs)
{{Userlinks-abbr}} (u t c m l )
{{Userlinks-external}} Example (talkcontribspage movesblock userblock log)
{{Userlinks-tt}} Example ("Example" • talkcontribspage movesblock userblock log)
{{Userlogs}} Logs for "Example"
{{Userrights}} Example (current rights · rights log (local) · rights log (global/meta) · block log)
{{Admincheck}} Example (talk · contribs · count · logs · target logs · block log · lu · rfa · rfb · arb · rfc · lta · spi · checkuser · socks rights blocks protects deletions move])
{{Notable user}} Example (usertalkcontribs)
{{Socklinks}} Example (talk+ · contribs · deleted contribs · tag · block user · block log · checkuser)
{{User-uaa}} Example (talk · contribs · deleted contribs · global · edit filter log block - soft · bot · softer hard · spam · vandal · google)
{{UserVP}} Example (talkcontribscountblock log)
{{Vandal}} Example (talk · contribs · deleted contribs · nuke contribs · logs · edit filter log · block user · block log)
{{Vandal-s}} Example (talkcontribsblock log)
{{Vandal-m}} Example (talkcontribsblock logauto
)
{{Checkip}} 255.255.255.255 (talk+tagcontribsfilter logWHOIS  • RBLsblock userblock logcross-wiki contribscheckip)
{{IPcheck}} 255.255.255.255 (talk · tag · contribs · count · WHOIS · RDNS · trace · RBLshttplogs · block log · arb · rfc · lta · spi · checkuser · socks )
{{IPunblock}} 255.255.255.255 (talkcontribsdeleted contribsWHOISRDNStraceRBLsblock logunblock)
{{IPvandal}} 255.255.255.255 (talk · contribs · deleted contribs · filter log  · WHOIS · RDNS · trace · RBLs · http · block user · block log)
{{Proxyip}}
{{User SPI Clerk}} Example (talkmessageemail) | (contribsglobal contribsdeleted contribs  • count) | (lu • rfa  • rfb • arb  • rfc  • lta  • checkuser  •spi  • socks | rfarrfcrfcussp
) | (block log)
User information templates for Admins, Bureaucrats, and Bots
Template Output ('Example' is used for user name)
{{Admin}} Example (वार्तालाप · योगदानहरू · blocks · protections · deletions · पृष्ठ सारेको · rights)
{{Admin-abbr}} Example (t c b p d m r)
{{Bureaucrat}} Example (वार्तालाप · योगदानहरू · rights · renames)
{{Bureaucrat2}} Example (talk · contribs · blocks · protections · deletions · moves · rights · renames)
{{Botlinks}} Example Bot (taskscontribsactions logblock logflag loguser rights)
{{Botlinks2}} Example Bot (talk contribs tasks flag log actions log block log other logs count)
{{Botlinks3}} Example Bot (task listcontribs)
{{Former admin}} Example (talk contribs former admin: blocks protects deletions rights meta local rights)
Templates used to to add a missing user signature
Template Output ('Example' is used for user name)
{{Signing}}
{{Signing2}}
--Example (talkcontribs)
{{Quotedfrom}} —The preceding text was posted here by Example (talkcontribs), 00:00, १९ अप्रिल २०२४ (UTC).
{{Undated}} —Preceding undated comment added 00:00, १९ अप्रिल २०२४.
{{Uns-ip}} —The preceding unsigned comment was added by 255.255.255.255 (talkcontribsWHOIS) .
{{Unsigned}}
{{unsigned2}}
— यो अहस्ताक्षरित टिप्पणी: Exampleले (वार्तायोगदान)
{{Unsigned IP}}
{{unsignedIP2}}
— Preceding unsigned comment added by 255.255.255.255 (talk)
{{Unsigned2Fix}} —Preceding signed comment was added by Example (talkcontribs) , but the signature was removed while fixing wiki markup errors.
{{UnsignedIP2Fix}} —Preceding signed comment added by 255.255.255.255 (talk) , but its signature was removed while wikimarkup errors were being fixed.
{{User actual}} —The preceding comment signed as by Example (talkcontribs) was actually added by Example2 (talkcontribs)
{{Warningorigin}} —The preceding warning was originally posted somewhere.