<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh">
	<id>https://arolstar52-zhtest.hf.space/index.php?action=history&amp;feed=atom&amp;title=Module%3ATransclude_random_subpage%2Fdoc</id>
	<title>Module:Transclude random subpage/doc - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://arolstar52-zhtest.hf.space/index.php?action=history&amp;feed=atom&amp;title=Module%3ATransclude_random_subpage%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://arolstar52-zhtest.hf.space/index.php?title=Module:Transclude_random_subpage/doc&amp;action=history"/>
	<updated>2026-06-24T14:53:28Z</updated>
	<subtitle>在这个wiki上该页的修订历史</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://arolstar52-zhtest.hf.space/index.php?title=Module:Transclude_random_subpage/doc&amp;diff=3292003&amp;oldid=prev</id>
		<title>imported&gt;TongcyDai：​←建立内容为“{{lua|Module:Transclude random subpage}} &lt;!-- EDIT TEMPLATE DOCUMENTATION AFTER THIS LINE --&gt;  此模板從一組子頁面的其中一個提取內…”的新页面</title>
		<link rel="alternate" type="text/html" href="https://arolstar52-zhtest.hf.space/index.php?title=Module:Transclude_random_subpage/doc&amp;diff=3292003&amp;oldid=prev"/>
		<updated>2019-09-12T04:29:27Z</updated>

		<summary type="html">&lt;p&gt;&lt;a href=&quot;/index.php?title=WP:AES&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WP:AES（页面不存在）&quot;&gt;←&lt;/a&gt;建立内容为“{{lua|Module:Transclude random subpage}} &amp;lt;!-- EDIT TEMPLATE DOCUMENTATION AFTER THIS LINE --&amp;gt;  此模板從一組子頁面的其中一個提取內…”的新页面&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{lua|Module:Transclude random subpage}}&lt;br /&gt;
&amp;lt;!-- EDIT TEMPLATE DOCUMENTATION AFTER THIS LINE --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
此模板從一組子頁面的其中一個提取內容。主要使用於[[Portal:首頁|主題頁]]。&lt;br /&gt;
&lt;br /&gt;
== Layout ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Transclude random subpage&lt;br /&gt;
 |max      =&lt;br /&gt;
 |subpage  = &lt;br /&gt;
 |rootpage =&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usage ==&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;
&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 {{tlx|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;
&lt;br /&gt;
== Why this template? ==&lt;br /&gt;
&lt;br /&gt;
This template was created to enable {{tlx|Random portal component}} to be replaced with standard portal box notation, including {{tlx|Box-header colour}} and {{tlx|Box-footer}}.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
{{tlx|Random portal component|max{{=}}22|header{{=}}&amp;#039;&amp;#039;Selected article&amp;#039;&amp;#039;|subpage=Selected article}}&lt;br /&gt;
&lt;br /&gt;
could be replaced by this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Box-header colour|Selected article}}&lt;br /&gt;
{{Transclude random subpage |max=22|subpage=Selected article}}&lt;br /&gt;
{{Box-footer}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This also allows a box to be modified (edited) independently of its contents, and to match the other boxes on the page.&lt;/div&gt;</summary>
		<author><name>imported&gt;TongcyDai</name></author>
	</entry>
</feed>