From Fedora Project Wiki

(fix template for removal of navframes in mw 1.18 (hey, better late than never))
(tweak the template so it works when viewed as itself)
 
Line 1: Line 1:
 
<div class="mw-collapsible mw-collapsed" style="border:none; {{{style|{{{css|}}}}}}"><div  
 
<div class="mw-collapsible mw-collapsed" style="border:none; {{{style|{{{css|}}}}}}"><div  
 
style="font-weight:{{{fw1|bold}}}; background:{{{bg1|transparent}}};  
 
style="font-weight:{{{fw1|bold}}}; background:{{{bg1|transparent}}};  
text-align:{{{ta1|center}}}; {{{headercss|{{{headerstyle|}}}}}}">{{{header|{{{1}}}}}}</div>
+
text-align:{{{ta1|center}}}; {{{headercss|{{{headerstyle|}}}}}}">{{{header|{{{1|Example header}}}}}}</div>
 
<div class="mw-collapsible-content" style="font-weight:{{{fw2|normal}}};  
 
<div class="mw-collapsible-content" style="font-weight:{{{fw2|normal}}};  
 
background-color:{{{bg2|transparent}}}; text-align:{{{ta2|left}}};  
 
background-color:{{{bg2|transparent}}}; text-align:{{{ta2|left}}};  
 
{{{contentcss|{{{contentstyle|}}}}}}">
 
{{{contentcss|{{{contentstyle|}}}}}}">
{{{content|{{{contents|{{{2}}}}}}}}}
+
{{{content|{{{contents|{{{2|Here is the example expandable text. Oh, such lovely text this is! Who would ever want to hide it? For shame.}}}}}}}}}
 
</div></div><noinclude>{{tempdoc}}</noinclude>
 
</div></div><noinclude>{{tempdoc}}</noinclude>

Latest revision as of 01:49, 31 August 2019

Example header

Here is the example expandable text. Oh, such lovely text this is! Who would ever want to hide it? For shame.

Template documentation [edit]
This documentation is transcluded from Template:Hidden/doc. It will not be transcluded on pages that use this template.

Produces an expandable block of text that is hidden by default, with a header that is always visible, using mw-collapsible syntax.