सामग्री पर जाएँ

साँचा:User-multi

इस सदस्य को हिन्दी विकिपीडिया पर प्रशासक अधिकार प्राप्त हैं।
मुक्त ज्ञानकोश विकिपीडिया से
परिचय का प्रतीक साँचा परिचय[देखें] [संपादन] [इतिहास] [स्क्रिप्ट त्रुटि: "Purge" ऐसा कोई मॉड्यूल नहीं है।]

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.

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.

  • 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.

Here is a list of currently supported link codes:

Code Output
{{User-multi|user=Example|t|c|e}}
{{User-multi|user=Example|t|c|ct|m|l}}
{{User-multi|user=Example|lang=es|t|c|e}}
{{User-multi|user=Example|project=b|t|c|e}}

User-multi error: package.lua:80: module 'Module:InterwikiTable' not found.

{{User-multi|user=Example|project=b|lang=es|t|c|e}}

User-multi error: package.lua:80: module 'Module:InterwikiTable' not found.

{{User-multi|user=Example|project=wikibooks|lang=es|t|c|e}}

User-multi error: package.lua:80: module 'Module:InterwikiTable' not found.

{{User-multi|user=Example|t|c|e|sup=yes}}
{{User-multi|user=Example|t|c|e|small=yes}}

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.

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.

[संपादित करें]

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.

[संपादित करें]

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 ...}}.

[संपादित करें]

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.

  • 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.

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.

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.

Standard User information templates
साँचा निर्मित करता है... ('उदाहरण' को सदस्य खाता नाम के लिए काम में लिया गया है।)
{{User0}} उदाहरण (वार्ता)
{{User}} {{User1}} {{BUser}} उदाहरण (वार्ता योगदान)
{{Usertc}} उदाहरण (वार्ता योगदान)
{{Usertcb}} [[::User:उदाहरण|उदाहरण]] ([[::User talk:उदाहरण|talk]]| [[::Special:Contributions/उदाहरण|contribs]]| [[::Special:Block/उदाहरण|block]])
{{User2}} उदाहरण (talk contribs count)
{{User2a}} साँचा:User2a
{{User3}} उदाहरण (talk contribs logs)
{{User3-small}} उदाहरण (talk · contribs · logs)
{{User4}} उदाहरण (talk contribs  email)
{{User5}} उदाहरण (talk · contribs · deleted contribs · page moves · block user · block log)
{{User6}} उदाहरण (talk contribs count logs page moves block log email)
{{User7}} उदाहरण (talk contribs count logs email)
{{User8}} उदाहरण (talk · contribs · count · email)
{{User9}} उदाहरण (talk contribs count)
{{User10}} उदाहरण (talk contribs count logs)
{{User11}} उदाहरण (talk contribs count total block log)
{{User12}} अच्छा उदाहरण! (talk contribs page moves  block user block log)
{{User13}} उदाहरण (talk · contribs · logs · block log)
{{User14}} उदाहरण (talk · contribs · global contribs · logs · block log)
{{User15}} उदाहरण (talk contribs count logs page moves block log summary)
{{User16}} उदाहरण (talk message contribs page moves deleted contribs summary count total logs block log block email)
{{User17}} (User17 देखें।)
{{User19}} उदाहरण (talk · contribs · global contribs · page moves · user creation · block log)
{{User20}} उदाहरण (talk contribs count logs page moves block log)
{{User21}} उदाहरण (talk · contribs · deleted contribs · page moves · block user · logs · block log · ban · arb · rfc · lta · SPI )
{{User22}} उदाहरण (talk · contribs · block log · email)
{{UserSummary}} उदाहरण (talkcontribsdeleted contribswhat links to user pagecountCOIBotuser page logsx-wikistatusEdit filter searchGoogle)
{{User plus}} उदाहरणcontact
{{User1 plus}} उदाहरण (talkcontribs | UHxUtHx | UtEUt+)
{{User2 plus}} Jimbo Wales (talkcontribs | UHxUtHx | UtEUt+)
{{User toolbox}}
{{Useranon}} 255.255.255.255 (talk)
{{IPuser}} 255.255.255.255 (talkcontribsinfoWHOIS)
{{IPSummary}} 255.255.255.255 (talkcontribsdeleted contribswhat links to user pageCOIBotcountblock logx-wikiEdit filter search || WHOISRDNStracerouteippages.comrobtex.comtorGoogleAboutUs)
{{Userv}} {{UserV}} {{Uv}} {{UV}} उदाहरण (talk | contribs)
User information templates normally used on administrative pages
साँचा निर्मित करता है... ('उदाहरण' सदस्य नाम के लिए काम में लिया गया है।)
{{User-c}} उदाहरण (t c)
{{User-c-name}} उदाहरण (t·c)
{{User-t}} उदाहरण (t·c) / meta:उदाहरण (t·c)
{{User-t2}} उदाहरण (t·c) / meta:उदाहरण (t·c) / commons:उदाहरण (t·c)
{{Useredits}} उदाहरण (contribs)
{{UserContribs}} contributions
{{Ccount}} Contribution count for "उदाहरण"
{{Useracc}} उदाहरण (talk contribs account creation)
{{UserBk}} उदाहरण (block log)
{{Userblock}} उदाहरण (talk · contribs · block log)
{{Userblocked}} उदाहरण (talkcontribspage movesCurrent Autoblocksblock log)
{{UserVP}} उदाहरण (talkcontribscountblock log)
{{Userlogs}} Logs for "उदाहरण"
{{Userrights}} उदाहरण (current rights · rights log (local) · rights log (global/meta) · block log)
{{Userlinks}} उदाहरण (talk · contribs · deleted contribs · logs · edit filter log · block user · block log)
{{Userlinks2}} उदाहरण (talk · contribs · blocks · count · rollback · admin · logs)
{{Userlinks-abbr}} (u t c m l )
{{Userlinks-external}} उदाहरण (talkcontribspage movesblock userblock log)
{{Userlinks-tt}} उदाहरण ("%E0%A4%89%E0%A4%A6%E0%A4%BE%E0%A4%B9%E0%A4%B0%E0%A4%A3" • talkcontribspage movesblock userblock log)
{{UserFs}} उदाहरण (block log · checkuser)
{{Usercheck}} उदाहरण (talk · contribs · count · logs · block log · lu · rfa · rfb · arb · rfc · lta · rfcu · ssp · socks )
{{Usercheck-short}} उदाहरण (talk · contribs · deleted · count [quick] · logs · block log · lu · rfar · rfc · rfcu · ssp · spi)
{{Usercheck-full}} उदाहरण (वार्ताmessageयोगदानवैश्विक योगदानहटाये गये योगदान  • नाम बदलाव  • सदस्य सृजनसदस्य अवरोधित  • अवरोध लॉगगिनतीtotallogsसारई-मेल | सदस्यसूची •  rfa  • rfb  • arb  • rfc  • lta  • checkuser  • spi  • socks | rfarrfcrfcusspsearch an, ani, cn, an3 | current rightsrights log (local)rights log (global/meta) | rightsrenamesbotsअवरोधितसुरक्षितहटायेपुनर्स्थापितadminलॉग | UHxUtHxUtE)
{{Checkuser}} उदाहरण (talk+tagcontribsdeleted contribslogsfilter logblock userblock logSULcheckuser)
{{User-full}} उदाहरण  (talk · contribs · checkuser · block user · block log · edit count)
{{Admincheck}} उदाहरण (talk · contribs · count · logs · block log · lu · rfa · rfb · arb · rfc · lta · spi · checkuser · socks rights blocks protects deletions moves)
{{Socklinks}} उदाहरण (talk+ · contribs · deleted contribs · tag · block user · block log · checkuser)
{{Vandal}} उदाहरण (वार्ता • योगदान • हटाये गये योगदान • सफ़ाई करें • लॉग • फ़िल्टर चिह्नित लॉग • अवरोधित करें • अवरोध लॉग)
{{Vandal-s}} उदाहरण (talkcontribsblock log)
{{Vandal-m}} उदाहरण (talkcontribsblock logauto )
{{User-uaa}} उदाहरण (talk · contribs · deleted · filter log · SUL · Google) (block · soft · promo · cause · bot · hard · spam · vandal)
{{Notable user}} उदाहरण (usertalkcontribs)
{{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 )
{{IPvandal}} 255.255.255.255 (वार्ता · योगदान · हटाये गये योगदान · फिल्टरित लॉग · अवरोधित करें · अवरोध लॉग)
{{IPunblock}} 255.255.255.255 (talkcontribsdeleted contribsWHOISRDNStraceRBLsblock logunblock)
{{Proxyip}}
प्रबन्धकों, प्रशासकों और बॉट खातों के लिए सदस्य सूचना साँचे
साँचा निर्मित करता है... ('उदाहरण' को सदस्य खाता नाम के लिए काम में लिया गया है।)
{{Admin}} उदाहरण (वार्ता योगदान रोके गए सुरक्षित किए गए हटाये गए नाम बदले गए)
{{Admin-abbr}} उदाहरण (t c b p d m r)
{{Bureaucrat}}
यह सदस्य उदाहरण के प्रशासक है  (verify)
{{Bureaucrat2}} उदाहरण (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)
{{Formeradmin}} उदाहरण (talk contribs former admin: blocks protects deletions rights meta)
सदस्यों के हस्ताक्षर नहीं होने की स्थिति में जोड़े जाने वाले साँचे
साँचा निर्मित करता है... ('उदाहरण' सदस्य खाता नाम के लिए काम में लिया गया है।)
{{unsigned}}
{{unsigned2}}
— इस अहस्ताक्षरित संदेश के लेखक हैं -उदाहरण (वार्तायोगदान) 05:59, 7 जून 2008 (UTC)
{{unsigned4}} साँचा:Unsigned4
{{unsigned5}} The preceding comment was added by उदाहरण (talkcontribspage movesblock userblock log)
{{unsigned6}} साँचा:Unsigned6
{{unsigned7}} This unsigned comment was submitted by उदाहरण (talk · contribs · deleted contribs · page moves · block user · block log) on 05:59, 7 जून 2008 (UTC). Please sign your posts on talk pages!
{{unsigned8}} साँचा:Unsigned8
{{unsigned9}} —This comment was added by उदाहरण (talk) • (contribs) without signing their name using four tildes (~~~~). Please sign your posts!
{{unsignedIP}}
{{unsignedIP2}}
— Preceding unsigned comment added by 255.255.255.255 (talk) 05:59, 7 जून 2008 (UTC)
{{Signing}}
{{Signing2}}
--उदाहरण (talkcontribs) 05:59, 7 जून 2008 (UTC)
{{Uns-ip}} —The preceding unsigned comment was added by 255.255.255.255 (talkcontribsWHOIS) 05:59, 7 जून 2008 (UTC).
{{Uns-ip-van}} साँचा:Uns-ip-van
{{undated}} —Preceding undated comment added 18:45, दिसम्बर 6, 2006.
{{UserActual}} —The preceding comment signed as by उदाहरण (talkcontribs) was actually added by उदाहरण2 (talkcontribs)
{{quotedfrom}} —The preceding text was posted on User talk:उदाहरण by Ben (talkcontribs), 00:14, 9 मार्च 2007 (UTC), (diff).
{{warningorigin}} —The preceding warning was originally posted on User talk:उदाहरण by Ben (talkcontribs), 00:14, 9 मार्च 2007 (UTC), (diff).
{{unsigned2Fix}} —Preceding signed comment was added by उदाहरण (talkcontribs) 18:45, दिसम्बर 6, 2006, but the signature was removed while fixing wiki markup errors.
{{unsignedIP2Fix}} —Preceding signed comment added by 255.255.255.255 (talk) 18:45, दिसम्बर 6, 2006, but its signature was removed while wikimarkup errors were being fixed.