Difference between revisions of "Template:CollapseBlock"

From AniDB
Jump to navigation Jump to search
m
m
 
Line 1: Line 1:
 
<includeonly><div class="toccolours mw-collapsible mw-collapsed">
 
<includeonly><div class="toccolours mw-collapsible mw-collapsed">
 
'''{{{title|{{{1|Collapsible content}}}}}}'''
 
'''{{{title|{{{1|Collapsible content}}}}}}'''
<div class="mw-collapsible-content" style="border-top:1px solid gray;padding:.5em 0;">{{{content|{{{2|}}}}}}</div>
+
<div class="mw-collapsible-content" style="border-top:1px solid gray;padding:.5em 0;">
</div>
+
{{{content|{{{2|}}}}}}</div></div>
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
Renders a block with that can be expanded or collapsed.
 
Renders a block with that can be expanded or collapsed.

Latest revision as of 20:26, 18 June 2019

Renders a block with that can be expanded or collapsed.

Usage

{{CollapseBlock|Block title|Block content}}

This results in:

Block title

Block content


Alternately, the parameters can be invoked with the names title and content.