Template:CollapseBlock: Difference between revisions
Jump to navigation
Jump to search
Soulweaver (talk | contribs) (Created page with "<includeonly><div class="toccolours mw-collapsible mw-collapsed"> '''{{{1|Collapsible content}}}''' <div class="mw-collapsible-content" style="border-top:1px solid gray;paddin...") |
Soulweaver (talk | contribs) mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div class="toccolours mw-collapsible mw-collapsed"> | <includeonly><div class="toccolours mw-collapsible mw-collapsed"> | ||
'''{{{1|Collapsible content}}}''' | '''{{{title|{{{1|Collapsible content}}}}}}''' | ||
<div class="mw-collapsible-content" style="border-top:1px solid gray;padding:.5em 0;">{{{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. | ||
Line 12: | Line 12: | ||
{{CollapseBlock|Block title|Block content}} | {{CollapseBlock|Block title|Block content}} | ||
Alternately, the parameters can be invoked with the names <tt>title</tt> and <tt>content</tt>. | |||
[[Category:Template]] | |||
</noinclude> | </noinclude> |
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.