Expand Template: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
=Template=
=Template=
<div class="toccolours mw-collapsible mw-collapsed" style="width:100%;">
<div class="toccolours mw-collapsible mw-collapsed" style="width:100%;">
'''Metal rolling, rod+wire production, alloying, any metal chemistry.'''
'''Content Heading'''
<div class="mw-collapsible-content">
<div class="mw-collapsible-content">


Line 11: Line 11:
</div>
</div>
</div>
</div>
=Mediawiki Template=
See <nowiki>{{Template:Expand}}</nowiki>.
You can use mw-expanded or mw-collapsed for expanded or collapsed views in the template.

Latest revision as of 23:39, 11 April 2020

Example

See template below by clicking edit to see how you can include expandability.

Template

Content Heading

  • Content

Mediawiki Template

See {{Template:Expand}}.

You can use mw-expanded or mw-collapsed for expanded or collapsed views in the template.