• Home
  • Random
  • Log in
  • Settings
  • About Safer nicotine wiki
  • Disclaimers
Safer nicotine wiki

Template:User-multi/link

  • Language
  • Watch
  • View source
< Template:User-multi
Template documentation[view] [edit] [history] [purge]
This template uses Lua:
  • Module:UserLinks

This template allows you to generate a single link using a link code from Template:User-multi. It is intended for use in link templates using unusual formatting that can't easily be converted to use {{user-multi}}. The link is output without any enclosing tags, so links using external link formatting will appear with the external link icon. You can avoid this by enclosing the link with <span class="plainlinks"></span> in your template.

Contents

  • 1 Usage
  • 2 Link codes
  • 3 Parameters
  • 4 Examples

Usage

Basic usage
{{User-multi/single|<!-- link code -->|user={{{1|}}}}}
All parameters
{{<includeonly>safesubst:</includeonly>User-multi/single
 | user    = {{{1|{{{User|{{{user|}}}}}}}}}
 | project = {{{2|{{{Project|{{{project|}}}}}}}}}
 | lang    = {{{3|{{{Lang|{{{lang|}}}}}}}}}
 | 1       = <!-- link code -->
 | demo    = {{{demo|}}}
}}

Link codes

The following link codes are available:

Code Preview
u Example
t talk
c contribs
ae non-automated edits
api api
bl block log
bls blocks
bu block user
c64
ca central auth
coibot COIBot
cr change rights
ct count
dc deleted contribs
del deletions
e email
efl filter log
es edit summaries
ggl Google
http
l logs
lu list user
m page moves
msg message
np Example
nuke nuke contribs
pr protections
rbl RBLs
rdns RDNS
ren renames
rfa RfA
rl rights
sbx sandbox
sfs StopForumSpam
sul global contribs
sul2 global contribs
tl target logs
uc user creation
up uploads
whois WHOIS
wlh links to user page

Parameters

  • 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.
  • demo: if this parameter is set to yes, the template will not output any categories.

Examples

  • {{user-multi/link|t|user=Example}} → talk
  • {{user-multi/link|ct|user=Example}} → count
  • {{user-multi/link|dc|user=Example}} → deleted contribs
  • {{user-multi/link|c|user=Example|project=b}} → contribs
  • {{user-multi/link|tl|user=Example|project=v|lang=fr}} → target logs
The above documentation is transcluded from Template:User-multi/link/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://safernicotine.wiki/mediawiki/index.php?title=Template:User-multi/link&oldid=37863"
Last edited 4 years ago by imported>MusikBot II
Cookies help us deliver our services. By using our services, you agree to our use of cookies.
More information

Languages

      This page is not available in other languages.

      Safer nicotine wiki
      • This page was last modified on 11 October 2021, at 19:34. Warning: Page may not contain recent updates.
      • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
      • Privacy policy
      • About Safer nicotine wiki
      • Disclaimers
      • Terms of Use
      • Desktop
      • Data access
      • Developers
      • Statistics
      • Cookie statement