Difference between revisions of "Module:UserLinks/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Mr. Stradivarius
(start expanding this)
blackwiki>Mr. Stradivarius
(different example template)
Line 2: Line 2:
 
{{module rating|protected}}
 
{{module rating|protected}}
  
This module generates links about a given user. It is used to generate templates such as {{tl|user}}, {{tl|UserLinks}}, and {{tl|admin}}, usually through its wrapper template {{tl|user-multi}}.
+
This module generates links about a given user. It is used to generate templates such as {{tl|user}}, {{tl|user5}}, and {{tl|admin}}, usually through its wrapper template {{tl|user-multi}}.
  
 
== Functions ==
 
== Functions ==

Revision as of 12:56, 7 April 2014

  1. REDIRECT Template:High-use

This module generates links about a given user. It is used to generate templates such as {{user}}, {{user5}}, and {{admin}}, usually through its wrapper template {{user-multi}}.

Functions

Main

The main function implements the {{user-multi}} template. It generates a list of links about a given user. Please see the template page for documentation.

Single

The single function generates a single link about a given user. See {{user-multi/link}} for documentation.

Link table

The linktable function generates a wikitext table containing the possible link codes that can be used with the main and single functions, along with example output for each code. It is used on the documentation pages at Template:User-multi/doc and Template:User-multi/link/doc.

It is displayed with the following code:

{{#invoke:UserLinks|linktable}}