<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://battleint.net/index.php?action=history&amp;feed=atom&amp;title=Template%3ARandom_portal_component_with_nominate%2Fdoc</id>
	<title>Template:Random portal component with nominate/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://battleint.net/index.php?action=history&amp;feed=atom&amp;title=Template%3ARandom_portal_component_with_nominate%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://battleint.net/index.php?title=Template:Random_portal_component_with_nominate/doc&amp;action=history"/>
	<updated>2026-04-26T05:27:54Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://battleint.net/index.php?title=Template:Random_portal_component_with_nominate/doc&amp;diff=170110&amp;oldid=prev</id>
		<title>imported&gt;Deadfire: Template Doc Creation</title>
		<link rel="alternate" type="text/html" href="https://battleint.net/index.php?title=Template:Random_portal_component_with_nominate/doc&amp;diff=170110&amp;oldid=prev"/>
		<updated>2023-08-14T19:47:39Z</updated>

		<summary type="html">&lt;p&gt;Template Doc Creation&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;
{{lua|Module:Random portal component}}&lt;br /&gt;
&amp;lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&amp;gt;&lt;br /&gt;
== Layout ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
{{Box-header&lt;br /&gt;
|title      = header&lt;br /&gt;
|editpage   = &lt;br /&gt;
|border     =      &amp;lt;!-- This is the color of the borders around Box Sections --&amp;gt;&lt;br /&gt;
|titleforeground = &amp;lt;!-- This is the color of the Box Section Title Bar text --&amp;gt;&lt;br /&gt;
|titlebackground = &amp;lt;!-- This is the color of the Box Section Title Bar --&amp;gt;&lt;br /&gt;
|background =      &amp;lt;!-- This is the color of the Box Section background --&amp;gt;&lt;br /&gt;
|foreground =      &amp;lt;!-- This is the color of the Box Section text --&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
{{Box-footer |Suggest • Archive }}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
== Layout 2 ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
{{Random portal component with nominate&lt;br /&gt;
 |max      =&lt;br /&gt;
 |header   =&lt;br /&gt;
 |footer   =&lt;br /&gt;
 |subpage  = &lt;br /&gt;
 |seed     =&lt;br /&gt;
 |rootpage =&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
Using this template for your portal page is easy! Just include these parameters&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;header&amp;#039;&amp;#039;&amp;#039;: The header text of the box.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;footer&amp;#039;&amp;#039;&amp;#039;: (optional) The footer text in the box; it link to an archive page that is located at &amp;#039;&amp;#039;&amp;#039;Portal:yourportal/Subpage name&amp;#039;&amp;#039;&amp;#039; e.g. /Selected picture. If no footer text is passed the default Text is Archive&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;subpage&amp;#039;&amp;#039;&amp;#039;: The subpage of the transcluded page, e.g. Selected picture&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. Default max=1.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;seed&amp;#039;&amp;#039;&amp;#039;: (optional) The default seed is 17 and can be set to any other integer value (used to generate distinct values on the same page).  Prime numbers work best, such as 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, and 113.&lt;br /&gt;
&lt;br /&gt;
=== Prerequisites ===&lt;br /&gt;
* Create a sub-page first. If your portal is &amp;#039;&amp;#039;&amp;#039;Portal:&amp;#039;&amp;#039;Foo&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;, then a sub-page could be &amp;#039;&amp;#039;&amp;#039;Portal:&amp;#039;&amp;#039;Foo&amp;#039;&amp;#039;/Selected &amp;#039;&amp;#039;bar&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;;&lt;br /&gt;
* On the &amp;#039;&amp;#039;&amp;#039;Portal:Foo/Selected &amp;#039;&amp;#039;bar&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; sub-page, place the template {{tl|numbered subpages}} on the page and save it. The template will default to 50 subject sub-pages;&lt;br /&gt;
* Once the list of subject links have been created, use one of the &amp;#039;&amp;#039;&amp;#039;Selected &amp;#039;&amp;#039;subject&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; templates from below to format each of the subject sub-pages.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
{{Box-header&lt;br /&gt;
|title      = header&lt;br /&gt;
|editpage   = Template:Lorem ipsum&lt;br /&gt;
|border     = Black &lt;br /&gt;
|titleforeground = #ffe247&lt;br /&gt;
|titlebackground = #A9A9A9&lt;br /&gt;
|background = #FFFFFF&lt;br /&gt;
|foreground = black&lt;br /&gt;
}}&lt;br /&gt;
{{Lorem ipsum}}&lt;br /&gt;
{{Box-footer |Suggest • Archive }}&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;
}}&lt;br /&gt;
{{Lorem ipsum}}&lt;br /&gt;
{{Box-footer |Suggest • Archive }}&lt;br /&gt;
&lt;br /&gt;
To see a real time example, see [[Special:Whatlinkshere/Template:Random portal component with nominate]].&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Suggest&amp;#039;&amp;#039;&amp;#039;: a link to a nominate page that is located at &amp;#039;&amp;#039;&amp;#039;Portal:yourportal/Nominate/Subpage name&amp;#039;&amp;#039;&amp;#039; e.g. /Nominate/Selected picture.&lt;br /&gt;
I have found after attempting to get a portal featured that most people want to see a suggest link for all selected content. I loved the original random portal component but in order to add a second link to the bottom of a section you had to turn off the footer and create your own footers (for subpage and suggestions on each content page. So, instead of spending all that time to create links on subpages I thought my time would be better spent adding suggestions to the component itself. &lt;br /&gt;
&lt;br /&gt;
If you have found this page but don&amp;#039;t want to add a suggest link to your section, the original Random portal component can be found at [[Template:Random portal component]].&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:Portal templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Deadfire</name></author>
	</entry>
</feed>