Module:UserLinks/doc
This is the documentation page for Module:UserLinks
- REDIRECT Template:High-use
25px This page is a redirect:
|
| 40x40px | This module is subject to page protection. It is a highly visible module in use by a very large number of pages, or is substituted very frequently. Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is protected from editing. |
This module generates links about a given user. It is used to generate templates such as {{user}}, {{UserLinks}}, and {{admin}}, usually through its wrapper template {{user-multi}}.
Contents
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}}