Editing
Module:UserLinks/doc
From Thetacola Wiki
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{used in system}} {{module rating|protected}} 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 == === Main === The <code>main</code> function implements the {{tl|user-multi}} template. It generates a list of links about a given user. Please see the template page for documentation. === Single === The <code>single</code> function generates a single link about a given user. See {{tl|user-multi/link}} for documentation. === Link table === The <code>linktable</code> function generates a wikitext table containing the possible link codes that can be used with the <code>main</code> and <code>single</code> 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: <pre>{{#invoke:UserLinks|linktable}}</pre> == Porting to other wikis == If you want to use this module on another wiki, there are a few modules that you must also copy across, and some that can be used but are not essential. Required modules: * [[Module:UserLinks]] * [[Module:UserLinks/shared]] * [[Module:UserLinks/config]] * [[Module:Arguments]] * [[Module:Yesno]] * [[Module:Toolbar]] * [[Module:InterwikiTable]] * [[Module:TableTools]] (optional in [[Module:UserLinks]], but required by [[Module:Toolbar]]) Optional modules: * [[Module:UserLinks/extra]] - used for testing new link functions before they are moved to the main module. * [[Module:Category handler]] - if an error occurs, and this module is present, pages are not categorised if they match the module's blacklist. After you have copied over the necessary modules, you should adjust the configuration settings in [[Module:UserLinks/config]] for your language and for your wiki's setup.
Summary:
Please note that all contributions to Thetacola Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Project:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Module rating
(
edit
)
Template:Nowrap
(
edit
)
Template:Sandbox other
(
edit
)
Template:Template link
(
edit
)
Template:Tl
(
edit
)
Template:Used in system
(
edit
)
Module:Arguments
(
edit
)
Module:High-use
(
edit
)
Module:Message box
(
edit
)
Module:Message box/configuration
(
edit
)
Module:Message box/ombox.css
(
edit
)
Module:String
(
edit
)
Module:Transclusion count
(
edit
)
Module:Transclusion count/data/U
(
edit
)
Module:Yesno
(
edit
)
Navigation menu
Page actions
Module
Discussion
Read
Edit source
History
Page actions
Module
Discussion
More
Tools
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Search
Tools
What links here
Related changes
Special pages
Page information