Template:Hidden: Difference between revisions
From FrathWiki
Jump to navigationJump to search
(Created page with "<includeonly><div class="NavFrame collapsed" style="border:1px solid black"><div class="NavHead" style="font-weight:bold; background:transparent; text-align:center">{{{header|{{{...") |
(edits for functionality) |
||
Line 1: | Line 1: | ||
<includeonly><div class=" | <includeonly><div class="toccolours mw-collapsible mw-collapsed" style="border:1px solid black"><div style="font-weight:bold; background:transparent; text-align:center">{{{header|{{{1}}}}}}</div> | ||
<div class=" | <div class="mw-collapsible-content" style="font-weight:normal; background-color:transparent; text-align:left">{{{content|{{{contents|{{{2}}}}}}}}}</div></div></includeonly><noinclude> | ||
This template makes a box with a header and | This template makes a box with a header and an ''expand/collapse'' button, which shows the contents (e.g. a text). | ||
==Example== | ==Example== |
Revision as of 15:29, 29 September 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.