<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://runecraftwiki.divinitystudios.net/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ALoadBox%2Fdoc</id>
	<title>Template:LoadBox/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://runecraftwiki.divinitystudios.net/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ALoadBox%2Fdoc"/>
	<link rel="alternate" type="text/html" href="http://runecraftwiki.divinitystudios.net/mediawiki/index.php?title=Template:LoadBox/doc&amp;action=history"/>
	<updated>2026-04-21T01:26:31Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.1</generator>
	<entry>
		<id>http://runecraftwiki.divinitystudios.net/mediawiki/index.php?title=Template:LoadBox/doc&amp;diff=168&amp;oldid=prev</id>
		<title>Rivkiin: Created page with &quot;{{LoadBox |page=Template:LoadBox/example |title=LoadBox Example }} This template creates a box able to load content from another page.  {{-}} == Usage ==   &lt;nowiki&gt;{{LoadBox |page=&lt;page&gt; |title=&lt;title&gt; |link=&lt;link&gt; |float=&lt;float&gt; |class=&lt;class&gt; |style=&lt;style&gt; |titlestyle=&lt;titlestyle&gt; |contentstyle=&lt;contentstyle&gt; }}&lt;/nowiki&gt;  ;page : Specifies the wiki link text of the content to be loaded (e.g., &lt;code&gt;page=Namespace:Article/subpage&lt;/code&gt;).  ;title : Specifies the identi...&quot;</title>
		<link rel="alternate" type="text/html" href="http://runecraftwiki.divinitystudios.net/mediawiki/index.php?title=Template:LoadBox/doc&amp;diff=168&amp;oldid=prev"/>
		<updated>2024-05-10T09:49:30Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{LoadBox |page=Template:LoadBox/example |title=LoadBox Example }} This template creates a box able to load content from another page.  {{-}} == Usage ==   &amp;lt;nowiki&amp;gt;{{LoadBox |page=&amp;lt;page&amp;gt; |title=&amp;lt;title&amp;gt; |link=&amp;lt;link&amp;gt; |float=&amp;lt;float&amp;gt; |class=&amp;lt;class&amp;gt; |style=&amp;lt;style&amp;gt; |titlestyle=&amp;lt;titlestyle&amp;gt; |contentstyle=&amp;lt;contentstyle&amp;gt; }}&amp;lt;/nowiki&amp;gt;  ;page : Specifies the wiki link text of the content to be loaded (e.g., &amp;lt;code&amp;gt;page=Namespace:Article/subpage&amp;lt;/code&amp;gt;).  ;title : Specifies the identi...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{LoadBox&lt;br /&gt;
|page=Template:LoadBox/example&lt;br /&gt;
|title=LoadBox Example&lt;br /&gt;
}}&lt;br /&gt;
This template creates a box able to load content from another page.&lt;br /&gt;
&lt;br /&gt;
{{-}}&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{LoadBox&lt;br /&gt;
|page=&amp;lt;page&amp;gt;&lt;br /&gt;
|title=&amp;lt;title&amp;gt;&lt;br /&gt;
|link=&amp;lt;link&amp;gt;&lt;br /&gt;
|float=&amp;lt;float&amp;gt;&lt;br /&gt;
|class=&amp;lt;class&amp;gt;&lt;br /&gt;
|style=&amp;lt;style&amp;gt;&lt;br /&gt;
|titlestyle=&amp;lt;titlestyle&amp;gt;&lt;br /&gt;
|contentstyle=&amp;lt;contentstyle&amp;gt;&lt;br /&gt;
}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;page&lt;br /&gt;
: Specifies the wiki link text of the content to be loaded (e.g., &amp;lt;code&amp;gt;page=Namespace:Article/subpage&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
;title&lt;br /&gt;
: Specifies the identifying text to be displayed in the box, and its link target string (e.g., &amp;lt;code&amp;gt;title=Loaded Content Title&amp;lt;/code&amp;gt;). Leaving &amp;#039;&amp;#039;title&amp;#039;&amp;#039; unspecified will generate an error message and should be corrected.&lt;br /&gt;
&lt;br /&gt;
;link&lt;br /&gt;
: Specifies the page that the edit button links to. Defaults to &amp;#039;&amp;#039;&amp;#039;page&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
;float&lt;br /&gt;
: Optional. Specifies how the box should be positioned. The only two valid values are &amp;lt;code&amp;gt;left&amp;lt;/code&amp;gt;, which creates a left-floated box, and &amp;lt;code&amp;gt;none&amp;lt;/code&amp;gt;, which creates an un-floated box spanning the available width. If &amp;#039;&amp;#039;float&amp;#039;&amp;#039; is not specified, or an invalid value provided, LoadBox creates a right-floated box. Can also be overridden with the style parameter (below).&lt;br /&gt;
&lt;br /&gt;
;class&lt;br /&gt;
: Optional. Specifies one or more css classes to add to the outer box.&lt;br /&gt;
&lt;br /&gt;
;style&lt;br /&gt;
: Optional. Specifies additional styling code for the entire box. Its value should be a [[wikipedia:css|css]] declaration or declaration group with no surrounding braces or quotes (e.g., &amp;lt;code&amp;gt;style=background-color: yellow;&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
;titlestyle&lt;br /&gt;
: Optional. Specifies additional styling code for the title. Its value should be a [[wikipedia:css|css]] declaration or declaration group with no surrounding braces or quotes (e.g., &amp;lt;code&amp;gt;titlestyle=background-color: yellow;&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
;contentstyle&lt;br /&gt;
: Optional. Specifies additional styling code for the loaded content. Its value should be a [[wikipedia:css|css]] declaration or declaration group with no surrounding braces or quotes (e.g., &amp;lt;code&amp;gt;contentstyle=background-color: yellow;&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
=== Considerations ===&lt;br /&gt;
&lt;br /&gt;
The generated box will change its size when its content is loaded by the reader. Consider using {{tl|-}} to ensure that the box doesn&amp;#039;t overlap or push aside other content on the page inappropriately (for example, the Usage heading above has a {{tl|-}} before it so that the example won&amp;#039;t overlap it when its content is loaded). Don&amp;#039;t necessarily put {{tl|-}} directly after LoadBox -- it may be better to put it below the content the LoadBox accompanies.&lt;br /&gt;
&lt;br /&gt;
=== Alternatives ===&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;preferred method&amp;#039;&amp;#039;&amp;#039; for initially hiding content that won&amp;#039;t significantly impact server load times is a table with &amp;lt;code&amp;gt;class=&amp;quot;collapsible&amp;quot;&amp;lt;/code&amp;gt;, because it keeps all of an article&amp;#039;s content in one place.&lt;br /&gt;
&lt;br /&gt;
LoadBox is intended for &amp;#039;&amp;#039;small&amp;#039;&amp;#039; article fragments which could impact server load times if placed in the article directly. For &amp;#039;&amp;#039;large&amp;#039;&amp;#039; article fragments, which could actually constitute article sections, consider {{tl|LoadPage}}.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
[[Category:JavaScript-based templates]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rivkiin</name></author>
	</entry>
</feed>