<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.xmbforum2.com/index.php?action=history&amp;feed=atom&amp;title=Template%3AScroll_box</id>
	<title>Template:Scroll box - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://docs.xmbforum2.com/index.php?action=history&amp;feed=atom&amp;title=Template%3AScroll_box"/>
	<link rel="alternate" type="text/html" href="https://docs.xmbforum2.com/index.php?title=Template:Scroll_box&amp;action=history"/>
	<updated>2026-09-05T13:14:01Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://docs.xmbforum2.com/index.php?title=Template:Scroll_box&amp;diff=9&amp;oldid=prev</id>
		<title>Miqrogroove: Get rid of IF block.</title>
		<link rel="alternate" type="text/html" href="https://docs.xmbforum2.com/index.php?title=Template:Scroll_box&amp;diff=9&amp;oldid=prev"/>
		<updated>2017-12-26T22:04:40Z</updated>

		<summary type="html">&lt;p&gt;Get rid of IF block.&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:04, 26 December 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l22&quot;&gt;Line 22:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 22:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:The text that should be displayed inside this frame. Note that the scroll bar will appear only if the text is long enough to overflow the given height. (&amp;#039;&amp;#039;&amp;#039;required field&amp;#039;&amp;#039;&amp;#039;, no default value)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:The text that should be displayed inside this frame. Note that the scroll bar will appear only if the text is long enough to overflow the given height. (&amp;#039;&amp;#039;&amp;#039;required field&amp;#039;&amp;#039;&amp;#039;, no default value)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/noinclude&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/noinclude&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{#if: {{NAMESPACE}} |&lt;/del&gt;&amp;lt;table style=&quot;clear: both; width: {{{width|100%}}}; margin: 3px 0px;&quot; border=&quot;0&quot;&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td style=&quot;background:{{{background|transparent}}};&quot;&amp;gt;&amp;lt;div style=&quot;overflow: auto; width: 100%; height: {{{height|230px}}}; border: 1px solid #AAA; padding-left: 0.5em; background: {{{background|transparent}}};&quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;&amp;lt;table style=&quot;clear: both; width: {{{width|100%}}}; margin: 3px 0px;&quot; border=&quot;0&quot;&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td style=&quot;background:{{{background|transparent}}};&quot;&amp;gt;&amp;lt;div style=&quot;overflow: auto; width: 100%; height: {{{height|230px}}}; border: 1px solid #AAA; padding-left: 0.5em; background: {{{background|transparent}}};&quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{{text|{{{1}}}}}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{{text|{{{1}}}}}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td style=&quot;width: 8px;&quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td style=&quot;width: 8px;&quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&amp;lt;/includeonly&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{{text|{{{1}}}}}}&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}}&lt;/del&gt;&amp;lt;/includeonly&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Miqrogroove</name></author>
	</entry>
	<entry>
		<id>https://docs.xmbforum2.com/index.php?title=Template:Scroll_box&amp;diff=8&amp;oldid=prev</id>
		<title>Miqrogroove: Trying to add a template from Wikipedia</title>
		<link rel="alternate" type="text/html" href="https://docs.xmbforum2.com/index.php?title=Template:Scroll_box&amp;diff=8&amp;oldid=prev"/>
		<updated>2017-12-26T21:59:27Z</updated>

		<summary type="html">&lt;p&gt;Trying to add a template from Wikipedia&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;noinclude&amp;gt;== Description ==&lt;br /&gt;
This template creates a scroll-box within a page that allows for large content to be limited to a given number of pixels on the page.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px #ccc solid; padding:1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;amp;#123;&amp;amp;#123;scroll box&amp;#039;&amp;#039;&amp;#039;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;|width=&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;width (in pixel or in percent)&amp;lt;/span&amp;gt;&amp;#039;&amp;#039;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;|height=&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;height (in pixel)&amp;lt;/span&amp;gt;&amp;#039;&amp;#039;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;|text=&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;contents&amp;lt;/span&amp;gt;&amp;#039;&amp;#039;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;amp;#125;&amp;amp;#125;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The colored text should be properly replaced as here described:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;width&amp;lt;/span&amp;gt;&lt;br /&gt;
:The width of the box, expressed in pixel or in percent. (&amp;#039;&amp;#039;&amp;#039;default=100%&amp;#039;&amp;#039;&amp;#039;)&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;height&amp;lt;/span&amp;gt;&lt;br /&gt;
:The height of the box, you should express this value exclusively in pixel. (&amp;#039;&amp;#039;&amp;#039;default=230px&amp;#039;&amp;#039;&amp;#039;)&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;contents&amp;lt;/span&amp;gt;&lt;br /&gt;
:The text that should be displayed inside this frame. Note that the scroll bar will appear only if the text is long enough to overflow the given height. (&amp;#039;&amp;#039;&amp;#039;required field&amp;#039;&amp;#039;&amp;#039;, no default value)&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{#if: {{NAMESPACE}} |&amp;lt;table style=&amp;quot;clear: both; width: {{{width|100%}}}; margin: 3px 0px;&amp;quot; border=&amp;quot;0&amp;quot;&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td style=&amp;quot;background:{{{background|transparent}}};&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;overflow: auto; width: 100%; height: {{{height|230px}}}; border: 1px solid #AAA; padding-left: 0.5em; background: {{{background|transparent}}};&amp;quot;&amp;gt;&lt;br /&gt;
{{{text|{{{1}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td style=&amp;quot;width: 8px;&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;|&lt;br /&gt;
{{{text|{{{1}}}}}}&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Miqrogroove</name></author>
	</entry>
</feed>