Template:User-multi/template: Difference between revisions

From Test Wiki
Jump to navigation Jump to search
Content deleted Content added
for multi-page usage
Xaloria (talk | contribs)
m 1 revision imported
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{#invoke:UserLinks|main|user=Example|User=Example}}{{#ifeq:{{{doc<noinclude>|yes</noinclude>}}}|yes
{{#invoke:Userlinks|main|user=Example|User=Example}}{{#ifeq:{{{doc<noinclude>|yes</noinclude>}}}|yes
|{{documentation
|{{documentation
|content=
|content=
{{#ifeq:{{FULLPAGENAME}}|Template:User| {{high-risk| 526549 }} }}
{{#ifeq:{{#invoke:High-use|num|x|demo={{ROOTPAGENAME}}}}|many||{{High-use|demo={{ROOTPAGENAME}}}}}}
{{lua|Module:UserLinks}}
{{lua|Module:Userlinks}}


This is a user link template for use internally on Wikipedia.
This is a user link template for use internally on Wikipedia.
Line 43: Line 43:
<br>Any [[WP:CAT|categories]] and documentation specific to this template should be added to the template's [{{fullurl:{{FULLPAGENAME}}/doc|action=edit&preload=Template:Category_interwiki/preload}} /doc] subpage.
<br>Any [[WP:CAT|categories]] and documentation specific to this template should be added to the template's [{{fullurl:{{FULLPAGENAME}}/doc|action=edit&preload=Template:Category_interwiki/preload}} /doc] subpage.
}}
}}
}}
}}<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||[[Category:Username internal link templates]]}}</includeonly>

Latest revision as of 13:28, 12 September 2024

Example

The template description below will not be displayed when the template is placed.
Template: v · d · eTemplate/doc: v · d · e

Lua error in Module:Lua_banner at line 115: attempt to compare nil with number.

This is a user link template for use internally on Wikipedia.

Usage

The username can be defined via a named or an unnamed parameter, i.e.

  • {{User-multi|=USERNAME}} or
  • {{User-multi|USERNAME}}

Examples

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

Parameters

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