<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.runerealm.org/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.runerealm.org/index.php?action=history&amp;feed=atom&amp;title=Template%3AHidden%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.runerealm.org/index.php?title=Template:Hidden/doc&amp;action=history"/>
	<updated>2026-05-13T12:25:52Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://wiki.runerealm.org/index.php?title=Template:Hidden/doc&amp;diff=36483&amp;oldid=prev</id>
		<title>Alex: Created page with &quot;{{Documentation}} This template 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.  ==Usage== ;Basic usage example : {{t|Hidden|header|content}}  Only two parameters are required for this template: ;header : text for header (or t...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.runerealm.org/index.php?title=Template:Hidden/doc&amp;diff=36483&amp;oldid=prev"/>
		<updated>2024-10-16T23:31:33Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Documentation}} This template 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.  ==Usage== ;Basic usage example : {{t|Hidden|header|content}}  Only two parameters are required for this template: ;header : text for header (or t...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation}}&lt;br /&gt;
This template 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;
==Usage==&lt;br /&gt;
;Basic usage example : {{t|Hidden|header|content}}&lt;br /&gt;
&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;
&amp;#039;&amp;#039;Note: if not defined, it will be blank with a show or hide.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
===Optional parameters===&lt;br /&gt;
====Header====&lt;br /&gt;
;bg1 : Add background colour to the header.&lt;br /&gt;
;tc1 : Add colour to the text of the header.&lt;br /&gt;
;fw1 : Add font weight of the header.&lt;br /&gt;
;ta1 : Add text alignment to the header.&lt;br /&gt;
&lt;br /&gt;
====Content====&lt;br /&gt;
;bg2 : Add background colour to the content.&lt;br /&gt;
;tc2 : Add colour to the text of the content.&lt;br /&gt;
;fw2 : Add font weight of the content.&lt;br /&gt;
;ta2 : Add text alignment to the content.&lt;br /&gt;
&lt;br /&gt;
====Collapsibility====&lt;br /&gt;
;show : Change the collapsibility of the template (&amp;quot;autocollapse&amp;quot; or &amp;quot;collapsed&amp;quot; only)&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
===Simple===&lt;br /&gt;
In this example only the two required parameters are specified.&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! 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;
! 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;
===Advanced===&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! 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|bg1=#ccccff|tc1=black}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! Result&lt;br /&gt;
| {{hidden|Title text here|Body text line 1&amp;lt;br&amp;gt;Body text line 2|bg1=#ccccff|tc1=black}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Expert===&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! 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|bg1=#ccccff|bg2=#454545|ta1=center|tc1=blue|tc2=gray|show=collapsed}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! Result&lt;br /&gt;
|&lt;br /&gt;
{{hidden|Title text here|Body text line 1&amp;lt;br&amp;gt;Body text line 2|bg1=#ccccff|bg2=#454545|ta1=center|tc1=blue|tc2=gray|show=collapsed}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Issues==&lt;br /&gt;
There is a current issue where if the template is in a table that has &amp;quot;wikitable&amp;quot; as a class, it will give it a border, a default background colour, and change the text alignment.&lt;/div&gt;</summary>
		<author><name>Alex</name></author>
	</entry>
</feed>