Toggle menu
15
237
93
27.9K
Kenshi Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:User-multi/link/doc: Difference between revisions

Template page
Prd (talk | contribs)
Created page with "{{Documentation subpage}} <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> {{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 {{tl|user-multi}}. The link is output without any enclosing tags, so links using external link formatting will appear with the external lin..."
 
(No difference)

Latest revision as of 05:05, 22 February 2025

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.

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

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}}User-multi error: package.lua:80: module 'Module:InterwikiTable' not found.
  • {{user-multi/link|tl|user=Example|project=v|lang=fr}}User-multi error: package.lua:80: module 'Module:InterwikiTable' not found.