<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://70.231.62.181/index.php?action=history&amp;feed=atom&amp;title=Template%3AUbxdisplay%2Frandom%2Fdoc</id>
	<title>Template:Ubxdisplay/random/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://70.231.62.181/index.php?action=history&amp;feed=atom&amp;title=Template%3AUbxdisplay%2Frandom%2Fdoc"/>
	<link rel="alternate" type="text/html" href="http://70.231.62.181/index.php?title=Template:Ubxdisplay/random/doc&amp;action=history"/>
	<updated>2026-05-01T12:42:09Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>http://70.231.62.181/index.php?title=Template:Ubxdisplay/random/doc&amp;diff=16722736&amp;oldid=prev</id>
		<title>imported&gt;IznoRepeat: /* Notes */phab:T337149#8953569, replaced: [// → [https://</title>
		<link rel="alternate" type="text/html" href="http://70.231.62.181/index.php?title=Template:Ubxdisplay/random/doc&amp;diff=16722736&amp;oldid=prev"/>
		<updated>2023-07-26T02:08:03Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Notes: &lt;/span&gt;&lt;a href=&quot;/index.php?title=Phab:T337149&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Phab:T337149 (page does not exist)&quot;&gt;phab:T337149#8953569&lt;/a&gt;, replaced: [// → [https://&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
{{Template shortcut|ubxrand}}&lt;br /&gt;
This template uses {{tl|Ubxdisplay}} to display a random userbox from a given selection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Ubxdisplay/random | User en | User:Foo/userbox}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The template can accept up to 32 parameters. If you use 2, 4, 8, 16, 24, or 32 userboxen you do not need to specify a number. Otherwise use &amp;lt;code&amp;gt;|num=X&amp;lt;/code&amp;gt;, where X is the number of boxes in the selection pool. You can also provide &amp;lt;code&amp;gt;|nt=yes&amp;lt;/code&amp;gt; to suppress the &amp;lt;small&amp;gt;&amp;quot;ubxrand · view ubx · random ubx&amp;quot;&amp;lt;/small&amp;gt; line.&lt;br /&gt;
&lt;br /&gt;
Templates that require parameters (such as {{tl|User Wikipedian For}}) are currently unsupported. A workaround is to create a user subpage that calls the template with the necessary parameters. You should also probably avoid using categorizing userboxen as your userpage categories would then be constantly changing. A workaround is to hard-code the categories.&lt;br /&gt;
&lt;br /&gt;
== Example output ==&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Ubxdisplay/random|User:Xenocidic/Stormy|User:Xenocidic/Pirate|User:Xenocidic/Escher|User:Xenocidic/Loathing}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; will render:&lt;br /&gt;
&lt;br /&gt;
{{Ubxdisplay/random|User:Xenocidic/Stormy|User:Xenocidic/Pirate|User:Xenocidic/Escher|User:Xenocidic/Loathing}}&lt;br /&gt;
&lt;br /&gt;
You may also use &amp;quot;Ubxrand&amp;quot; for short -&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Ubxrand|num=3|nt=yes&lt;br /&gt;
|1=User:Xenocidic/Stormy&lt;br /&gt;
|2=User:Xenocidic/Pirate&lt;br /&gt;
|3=User:Xenocidic/Escher&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{Ubxrand|num=3|nt=yes&lt;br /&gt;
|1=User:Xenocidic/Stormy&lt;br /&gt;
|2=User:Xenocidic/Pirate&lt;br /&gt;
|3=User:Xenocidic/Escher&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{divhide|Default template shell with 32 parameters}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Ubxdisplay/random&lt;br /&gt;
|1= User:Xenocidic/Stormy&lt;br /&gt;
|2= ...&lt;br /&gt;
|3=&lt;br /&gt;
|4=&lt;br /&gt;
|5=&lt;br /&gt;
|6=&lt;br /&gt;
|7=&lt;br /&gt;
|8=&lt;br /&gt;
|9=&lt;br /&gt;
|10=&lt;br /&gt;
|11=&lt;br /&gt;
|12=&lt;br /&gt;
|13=&lt;br /&gt;
|14=&lt;br /&gt;
|15=&lt;br /&gt;
|16=&lt;br /&gt;
|17=&lt;br /&gt;
|18=&lt;br /&gt;
|19=&lt;br /&gt;
|20=&lt;br /&gt;
|21=&lt;br /&gt;
|22=&lt;br /&gt;
|23=&lt;br /&gt;
|24=&lt;br /&gt;
|25=&lt;br /&gt;
|26=&lt;br /&gt;
|27=&lt;br /&gt;
|28=&lt;br /&gt;
|29=&lt;br /&gt;
|30=&lt;br /&gt;
|31=&lt;br /&gt;
|32= &lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{divhide|end}}&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
Randomization algorithm was shamelessly lifted from [https://en.wikipedia.org/w/index.php?title=User:MZMcBride&amp;amp;oldid=293182152 MZMcBride&amp;#039;s user page].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
[[Category:Userbox arrangement templates]]&lt;br /&gt;
[[Category:User namespace templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;IznoRepeat</name></author>
	</entry>
</feed>