<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.stiles.casa/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://wiki.stiles.casa/index.php?action=history&amp;feed=atom&amp;title=Module%3AUserbox%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.stiles.casa/index.php?title=Module:Userbox/doc&amp;action=history"/>
	<updated>2026-06-09T05:16:22Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.2</generator>
	<entry>
		<id>https://wiki.stiles.casa/index.php?title=Module:Userbox/doc&amp;diff=5905&amp;oldid=prev</id>
		<title>Maxwells: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.stiles.casa/index.php?title=Module:Userbox/doc&amp;diff=5905&amp;oldid=prev"/>
		<updated>2022-06-11T21:02:55Z</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;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:02, 11 June 2022&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key wikidb:diff::1.12:old-5904:rev-5905 --&gt;
&lt;/table&gt;</summary>
		<author><name>Maxwells</name></author>
	</entry>
	<entry>
		<id>https://wiki.stiles.casa/index.php?title=Module:Userbox/doc&amp;diff=5904&amp;oldid=prev</id>
		<title>en&gt;Andrybak: /* Tracking categories */ a tracking category has been renamed per Stiles.casa Wiki:Categories_for_discussion/Log/2021_January_19#Category:Pages_with_misplaced_templates</title>
		<link rel="alternate" type="text/html" href="https://wiki.stiles.casa/index.php?title=Module:Userbox/doc&amp;diff=5904&amp;oldid=prev"/>
		<updated>2021-01-31T02:29:09Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Tracking categories: &lt;/span&gt; a tracking category has been renamed per &lt;a href=&quot;/index.php?title=Stiles.casa_Wiki:Categories_for_discussion/Log/2021_January_19&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Stiles.casa Wiki:Categories for discussion/Log/2021 January 19 (page does not exist)&quot;&gt;Stiles.casa Wiki:Categories_for_discussion/Log/2021_January_19#Category:Pages_with_misplaced_templates&lt;/a&gt;&lt;/span&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>