Template:Hidden: Difference between revisions

From FrathWiki
Jump to navigationJump to search
(edits for functionality)
m (cat)
 
Line 15: Line 15:
{{Hidden|Title|This is the text that appears when the box is opened.}}
{{Hidden|Title|This is the text that appears when the box is opened.}}


[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 01:10, 5 October 2014


This template makes a box with a header and an expand/collapse button, which shows the contents (e.g. a text).

Example

{{Hidden|Title|This is the text that appears when the box is opened.}}
{{Hidden|header=Title|content=This is the text that appears when the box is opened.}}

Both lines generate this:

Title
This is the text that appears when the box is opened.