<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wikigama.org/index.php?action=history&amp;feed=atom&amp;title=Module%3AUserbox%2Fdoc</id>
	<title>Module:Userbox/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wikigama.org/index.php?action=history&amp;feed=atom&amp;title=Module%3AUserbox%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wikigama.org/index.php?title=Module:Userbox/doc&amp;action=history"/>
	<updated>2026-06-14T13:06:15Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wikigama.org/index.php?title=Module:Userbox/doc&amp;diff=5033&amp;oldid=prev</id>
		<title>PS: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wikigama.org/index.php?title=Module:Userbox/doc&amp;diff=5033&amp;oldid=prev"/>
		<updated>2025-06-05T02:21:37Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 07:51, 5 June 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>PS</name></author>
	</entry>
	<entry>
		<id>https://wikigama.org/index.php?title=Module:Userbox/doc&amp;diff=5032&amp;oldid=prev</id>
		<title>en&gt;Andrybak: /* Tracking categories */ a tracking category has been renamed per Wikipedia:Categories_for_discussion/Log/2021_January_19#Category:Pages_with_misplaced_templates</title>
		<link rel="alternate" type="text/html" href="https://wikigama.org/index.php?title=Module:Userbox/doc&amp;diff=5032&amp;oldid=prev"/>
		<updated>2021-01-31T02:29:09Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Tracking categories: &lt;/span&gt; a tracking category has been renamed per &lt;a href=&quot;https://en.wikipedia.org/wiki/Categories_for_discussion/Log/2021_January_19#Category:Pages_with_misplaced_templates&quot; class=&quot;extiw&quot; title=&quot;wikipedia:Categories for discussion/Log/2021 January 19&quot;&gt;Wikipedia:Categories_for_discussion/Log/2021_January_19#Category:Pages_with_misplaced_templates&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{High-use|233415}}&lt;br /&gt;
{{Lua|Module:Category handler|Module:Arguments|Module:Color contrast}}&lt;br /&gt;
&lt;br /&gt;
This module does the processing for three userbox templates, {{tl|userbox}}, {{tl|userbox-2}} and {{tl|userbox-r}}.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Template&lt;br /&gt;
! Description&lt;br /&gt;
! Examples&lt;br /&gt;
|-&lt;br /&gt;
| {{tl|userbox}}&lt;br /&gt;
| Makes userboxes with an id on the left-hand side, or with no id.&lt;br /&gt;
| {{userbox|id=id}}&lt;br /&gt;
{{clear}}&lt;br /&gt;
{{userbox}}&lt;br /&gt;
|-&lt;br /&gt;
| {{tl|userbox-2}}&lt;br /&gt;
| Makes userboxes with an id on both the left- and right-hand sides.&lt;br /&gt;
| {{userbox-2}}&lt;br /&gt;
|-&lt;br /&gt;
| {{tl|userbox-r}}&lt;br /&gt;
| Makes userboxes with an id on the right-hand side.&lt;br /&gt;
| {{userbox-r}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
To use any of these templates from a wiki page, please see the individual template pages for documentation. To generate userboxes directly from Lua, read on.&lt;br /&gt;
&lt;br /&gt;
== Generating userboxes from Lua ==&lt;br /&gt;
&lt;br /&gt;
To generate a userbox directly from Lua, first load the module.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local userbox = require(&amp;#039;Module:Userbox&amp;#039;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can then run any of the three templates with the code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
userbox.main(functionName, args)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For {{tl|userbox}} use the function name &amp;quot;&amp;lt;code&amp;gt;_userbox&amp;lt;/code&amp;gt;&amp;quot;; for {{tl|userbox-2}} use the function name &amp;quot;&amp;lt;code&amp;gt;_userbox-2&amp;lt;/code&amp;gt;&amp;quot;; and for {{tl|userbox-r}} use the function name &amp;quot;&amp;lt;code&amp;gt;_userbox-r&amp;lt;/code&amp;gt;&amp;quot;. The &amp;lt;code&amp;gt;args&amp;lt;/code&amp;gt; parameter is a table of arguments to pass to the different userbox functions. To see a list of valid arguments, please consult the individual template pages.&lt;br /&gt;
&lt;br /&gt;
== Tracking categories ==&lt;br /&gt;
* {{clc|Userboxes with insufficient color contrast}}&lt;br /&gt;
* {{clc|Pages with templates in the wrong namespace}}&lt;/div&gt;</summary>
		<author><name>en&gt;Andrybak</name></author>
	</entry>
</feed>