Difference between revisions of "Template:Collapsible"

From Venlo Samenwerkingswijzer
(Created page with "<noinclude> <pre>{{Collapsible |Header=Header here |Icon=Glyphicon, image or {{Fa}} template (Optional, default is chevron) |Content=Content here }}</pre> {{Collapsible |Head...")
 
 
Line 4: Line 4:
 
|Icon=Glyphicon, image or {{Fa}} template (Optional, default is chevron)
 
|Icon=Glyphicon, image or {{Fa}} template (Optional, default is chevron)
 
|Content=Content here
 
|Content=Content here
 +
|Expanded=Yes 
 
}}</pre>
 
}}</pre>
  
Line 10: Line 11:
 
|Icon=
 
|Icon=
 
|Content=Content here
 
|Content=Content here
 +
|Expanded=Yes
 
}}
 
}}
 
...
 
...
  
</noinclude><includeonly><div id="collapse-pre-one" class="mw-collapsible mw-collapsed" style="float: none;"><!--
+
</noinclude><includeonly><div id="collapse-pre-one" class="mw-collapsible {{{#ifeq:{{{Expanded|}}}|Yes||mw-collapsed}}" style="float: none;"><!--
 
--><div class="mw-collapsible-toggle toccolours" style="float: none;">
 
--><div class="mw-collapsible-toggle toccolours" style="float: none;">
 
   <div class="mw-collapsible-toggle-row">
 
   <div class="mw-collapsible-toggle-row">

Latest revision as of 15:33, 16 November 2016

{{Collapsible
|Header=Header here
|Icon=Glyphicon, image or {{Fa}} template (Optional, default is chevron)
|Content=Content here
|Expanded=Yes  
}}
Header here

Content here

...