<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.mrmc.tv/index.php?action=history&amp;feed=atom&amp;title=Template%3AHidden%2Fdoc</id>
	<title>Template:Hidden/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.mrmc.tv/index.php?action=history&amp;feed=atom&amp;title=Template%3AHidden%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.mrmc.tv/index.php?title=Template:Hidden/doc&amp;action=history"/>
	<updated>2026-04-23T15:07:27Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.11</generator>
	<entry>
		<id>https://wiki.mrmc.tv/index.php?title=Template:Hidden/doc&amp;diff=1845&amp;oldid=prev</id>
		<title>NedScott: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.mrmc.tv/index.php?title=Template:Hidden/doc&amp;diff=1845&amp;oldid=prev"/>
		<updated>2016-06-29T04:54:04Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This template creates a [[w:Wikipedia:NavFrame|dynamic navigation box]] using style sheet declarations in [[MediaWiki:Common.css]] and Javascript code in [[MediaWiki:Common.js]]. It displays the first parameter (the heading) with a [show] link on the right.  If [show] is clicked by the user, the second parameter (the body) is displayed below the heading and the [show] link becomes [hide].  Clicking on [hide] then hides the body again and the [hide] link becomes [show] again.&lt;br /&gt;
&lt;br /&gt;
The template does '''not''' provide an argument to designate the initial state of the show/hide control.  In the nested case, show/hide controls in hidden content retain their state.  There is no facility for ''collapse all'' or ''reveal all''.  &lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
===Syntax===&lt;br /&gt;
&amp;lt;pre style=&amp;quot;overflow:auto;&amp;quot;&amp;gt;&lt;br /&gt;
{{Hidden&lt;br /&gt;
|header=&lt;br /&gt;
|content=&lt;br /&gt;
|style=&lt;br /&gt;
|headerstyle=&lt;br /&gt;
|contentstyle=&lt;br /&gt;
|fw1=&lt;br /&gt;
|fw2=&lt;br /&gt;
|bg1=&lt;br /&gt;
|bg2=&lt;br /&gt;
|ta1=&lt;br /&gt;
|ta2=&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Parameters===&lt;br /&gt;
Only two parameters are required for this template:&lt;br /&gt;
;header : text for header (or title); alternative to using unnamed parameter &amp;lt;nowiki&amp;gt;{{{1}}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
;content : text for content (or body); alternative to using unnamed parameter &amp;lt;nowiki&amp;gt;{{{2}}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Optional====&lt;br /&gt;
;style : add [[w:Cascading Style Sheets|CSS]] to the main div.&lt;br /&gt;
;headerstyle : add [[w:Cascading Style Sheets|CSS]] to the header.&lt;br /&gt;
;contentstyle : add [[w:Cascading Style Sheets|CSS]] to the content box.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br/&amp;gt;'''Note:''' This template will not respect the user preference &amp;quot;justify paragraphs&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
===Basic===&lt;br /&gt;
In this example only the two required parameters are specified.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
| style=&amp;quot;background: #ececec; color: black; font-weight: bold; vertical-align: middle; text-align: left&amp;quot; class=&amp;quot;table-rh&amp;quot; | Code&lt;br /&gt;
| &amp;lt;pre&amp;gt;{{hidden|Title text here|Body text line 1&amp;lt;br/&amp;gt;Body text line 2}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background: #ececec; color: black; font-weight: bold; vertical-align: middle; text-align: left&amp;quot; class=&amp;quot;table-rh&amp;quot; | Result&lt;br /&gt;
| {{hidden|Title text here|Body text line 1&amp;lt;br/&amp;gt;Body text line 2}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Header background===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
| style=&amp;quot;background: #ececec; color: black; font-weight: bold; vertical-align: middle; text-align: left&amp;quot; class=&amp;quot;table-rh&amp;quot; | Code&lt;br /&gt;
| &amp;lt;pre style=&amp;quot;overflow:auto;&amp;quot;&amp;gt;&lt;br /&gt;
{{hidden&lt;br /&gt;
|Title text here&lt;br /&gt;
|Body text line 1&amp;lt;br/&amp;gt;Body text line 2&lt;br /&gt;
|headerstyle=background:#ccccff&lt;br /&gt;
|style=text-align:center;&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background: #ececec; color: black; font-weight: bold; vertical-align: middle; text-align: left&amp;quot; class=&amp;quot;table-rh&amp;quot; | Result&lt;br /&gt;
| {{hidden|Title text here|Body text line 1&amp;lt;br/&amp;gt;Body text line 2|headerstyle=background:#ccccff|style=text-align:center;}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===CSS===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
| style=&amp;quot;background: #ececec; color: black; font-weight: bold; vertical-align: middle; text-align: left&amp;quot; class=&amp;quot;table-rh&amp;quot; | Code&lt;br /&gt;
| &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{hidden&lt;br /&gt;
| style = border:1px dashed red; width: 50%;&lt;br /&gt;
| headerstyle = background: #ccccff; font-size: 110%;&lt;br /&gt;
| contentstyle = text-align: center; color:green;&lt;br /&gt;
| header = Title text here&lt;br /&gt;
| content = Body text line 1&amp;lt;br /&amp;gt;Body text line 2&amp;lt;br /&amp;gt;Body text line 3&lt;br /&gt;
}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background: #ececec; color: black; font-weight: bold; vertical-align: middle; text-align: left&amp;quot; class=&amp;quot;table-rh&amp;quot; | Result&lt;br /&gt;
| &lt;br /&gt;
{{hidden&lt;br /&gt;
| style = border:1px dashed red; width: 50%;&lt;br /&gt;
| headerstyle = background: #ccccff; font-size: 110%;&lt;br /&gt;
| contentstyle = text-align: center; color:green;&lt;br /&gt;
| header = Title text here&lt;br /&gt;
| content = Body text line 1&amp;lt;br /&amp;gt;Body text line 2&amp;lt;br /&amp;gt;Body text line 3&lt;br /&gt;
}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Template:Collapse top]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
[[Category:Formatting templates]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>NedScott</name></author>
	</entry>
</feed>