<?xml version="1.0"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>Andoza:Random portal component/doc - Oʻzgarishlar tarixi</title>
		<link>https://ziyosfera.uz/index.php?title=Andoza:Random_portal_component/doc&amp;action=history</link>
		<description>Ziyosferadagi mazkur sahifaning oʻzgarishlar tarixi</description>
		<language>uz</language>
		<generator>MediaWiki 1.45.1</generator>
		<lastBuildDate>Tue, 24 Nov 2026 08:25:21 GMT</lastBuildDate>
		<item>
			<title>Programmer: Oʻzbekcha Vikipediyadan import qilindi.</title>
			<link>https://ziyosfera.uz/index.php?title=Andoza:Random_portal_component/doc&amp;diff=144982&amp;oldid=prev</link>
			<guid isPermaLink="false">https://ziyosfera.uz/index.php?title=Andoza:Random_portal_component/doc&amp;diff=144982&amp;oldid=prev</guid>
			<description>&lt;p&gt;Oʻzbekcha Vikipediyadan import qilindi.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Yangi sahifa&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Hujjat ostsahifasi}}&lt;br /&gt;
&lt;br /&gt;
{{lua|Module:Random portal component}}&lt;br /&gt;
&amp;lt;!-- EDIT TEMPLATE DOCUMENTATION AFTER THIS LINE --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This template generates a box for a portal home page. The content is drawn randomly from a pre-defined list.&lt;br /&gt;
&lt;br /&gt;
== Layout ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
{{Random portal component&lt;br /&gt;
 |max      =&lt;br /&gt;
 |template =&lt;br /&gt;
 |header   =&lt;br /&gt;
 |footer   =&lt;br /&gt;
 |subpage  = &lt;br /&gt;
 |rootpage =&lt;br /&gt;
 |headertemplate = &lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;header&amp;#039;&amp;#039;&amp;#039;: (Optional) The header text of the box. If no header is passed to the template, the default is the subpage name.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;footer&amp;#039;&amp;#039;&amp;#039;: (Optional) The footer text in the box. E.g. &amp;#039;&amp;#039;Nominations for selected picture&amp;#039;&amp;#039;.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;rootpage&amp;#039;&amp;#039;&amp;#039;: (Optional) The root of the transcluded page, e.g. &amp;#039;&amp;#039;Portal:Foo&amp;#039;&amp;#039;.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;subpage&amp;#039;&amp;#039;&amp;#039;: The subpage of the transcluded page, e.g. &amp;#039;&amp;#039;Selected picture&amp;#039;&amp;#039;.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;max&amp;#039;&amp;#039;&amp;#039;: The maximum number of sub-subpages. Must be a positive integer.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;headertemplate&amp;#039;&amp;#039;&amp;#039;: (Optional) The name of the template to use for the box header, e.g. {{code|Box-header/10}} for [[Template:Box-header/10]]; default is the portal&amp;#039;s {{code|/box-header}} subpage&lt;br /&gt;
&lt;br /&gt;
=== Formatting subpages ===&lt;br /&gt;
* Create a sub-page first. If your portal is {{code|Portal:Foo}}, then a sub-page could be {{code|Portal:Foo/Selected bar}}.&lt;br /&gt;
* On the {{code|Portal:Foo/Selected bar}} sub-page, place the template {{tl|numbered subpages}} on the page and save it.&lt;br /&gt;
* Once the list of subject links have been created, use one of the {{code|Selected &amp;lt;subject&amp;gt;}} templates from below to format each of the subject sub-pages.&lt;br /&gt;
* This template calls {{code|/box-header}} (if {{code|headertemplate}} is not specified) and {{tl|box-footer}} for its color styles and closing. Either {{code|headertemplate}} must be used, or the {{code|/box-header}} subpage must exist for everything to work correctly.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
To see a real time example, see [[Special:Whatlinkshere/Template:{{BASEPAGENAME}}&amp;amp;hidelinks=1|what links here]] (the list of pages that currently transclude the {{tl|{{BASEPAGENAME}}}} template).&lt;br /&gt;
&lt;br /&gt;
Here is a stale example of the output generated by this template.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
{{Box-header | title=Header&lt;br /&gt;
|editpage   = Template:Lorem ipsum&lt;br /&gt;
|border     = Black&lt;br /&gt;
|titleforeground = #ffe247&lt;br /&gt;
|titlebackground = #646464&lt;br /&gt;
|background = #FFFFFF&lt;br /&gt;
|foreground = black&lt;br /&gt;
}}&lt;br /&gt;
{{Lorem ipsum}}&lt;br /&gt;
{{Box-footer | Footer }}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
will produce:&lt;br /&gt;
&lt;br /&gt;
{{Box-header| title=Header&lt;br /&gt;
|editpage   = Template:Lorem ipsum&lt;br /&gt;
|border     = Black &lt;br /&gt;
|titleforeground = #ffe247&lt;br /&gt;
|titlebackground = #646464&lt;br /&gt;
|background = #FFFFFF&lt;br /&gt;
|foreground = black}}&lt;br /&gt;
{{Lorem ipsum}}&lt;br /&gt;
{{Box-footer| Footer }}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
{{Portal template list}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!--Categories below this line, please; interwikis at Wikidata--&amp;gt;&lt;br /&gt;
[[Category:ZiyoSfera Portal templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</description>
			<pubDate>Thu, 06 Aug 2026 14:59:43 GMT</pubDate>
			<dc:creator>Programmer</dc:creator>
			<comments>https://ziyosfera.uz/ziyo/Andoza_munozarasi:Random_portal_component/doc</comments>
		</item>
</channel></rss>