<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.sasgaming.net/index.php?action=history&amp;feed=atom&amp;title=Template%3AMC%2FLoadBox%2Fdoc</id>
	<title>Template:MC/LoadBox/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.sasgaming.net/index.php?action=history&amp;feed=atom&amp;title=Template%3AMC%2FLoadBox%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Template:MC/LoadBox/doc&amp;action=history"/>
	<updated>2026-04-09T22:07:36Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.sasgaming.net/index.php?title=Template:MC/LoadBox/doc&amp;diff=43962&amp;oldid=prev</id>
		<title>imported&gt;Wilf233 at 13:09, 27 June 2025</title>
		<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Template:MC/LoadBox/doc&amp;diff=43962&amp;oldid=prev"/>
		<updated>2025-06-27T13:09:46Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation header}}&lt;br /&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;
== 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;
&lt;br /&gt;
[[cs:Šablona:LoadBox]]&lt;br /&gt;
[[es:Plantilla:LoadBox]]&lt;br /&gt;
[[fr:Modèle:LoadBox]]&lt;br /&gt;
[[it:Template:LoadBox]]&lt;br /&gt;
[[ja:テンプレート:LoadBox]]&lt;br /&gt;
[[ko:틀:LoadBox]]&lt;br /&gt;
[[lzh:模板:LoadBox]]&lt;br /&gt;
[[nl:Sjabloon:LoadBox]]&lt;br /&gt;
[[pl:Szablon:LoadBox]]&lt;br /&gt;
[[pt:Predefinição:LoadBox]]&lt;br /&gt;
[[ru:Шаблон:ЗагрузкаБлок]]&lt;br /&gt;
[[th:แม่แบบ:LoadBox]]&lt;br /&gt;
[[uk:Шаблон:LoadBox]]&lt;br /&gt;
[[zh:Template:LoadBox]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[cs:Šablona:LoadBox/doc]]&lt;br /&gt;
[[es:Plantilla:LoadBox/doc]]&lt;br /&gt;
[[fr:Modèle:LoadBox/doc]]&lt;br /&gt;
[[it:Template:LoadBox/doc]]&lt;br /&gt;
[[ja:テンプレート:LoadBox/doc]]&lt;br /&gt;
[[ko:틀:LoadBox/doc]]&lt;br /&gt;
[[lzh:模板:LoadBox/doc]]&lt;br /&gt;
[[nl:Sjabloon:LoadBox/doc]]&lt;br /&gt;
[[pl:Szablon:LoadBox/opis]]&lt;br /&gt;
[[pt:Predefinição:LoadBox/doc]]&lt;br /&gt;
[[ru:Шаблон:ЗагрузкаБлок/док]]&lt;br /&gt;
[[th:แม่แบบ:LoadBox/doc]]&lt;br /&gt;
[[uk:Шаблон:LoadBox/док]]&lt;br /&gt;
[[zh:Template:LoadBox/doc]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Wilf233</name></author>
	</entry>
</feed>