Difference between revisions of "Template:SeeMore"

From WikiCorporates
Jump to navigation Jump to search
Line 1: Line 1:
−
<div class="structure-small">
+
<div class="see-more">
 
{{{content}}}
 
{{{content}}}
 
</div><noinclude>{{doc2}}</noinclude>
 
</div><noinclude>{{doc2}}</noinclude>

Revision as of 16:06, 6 August 2019

{{{content}}}

[edit] Documentation

Usage

A very simple template to call a javascript function to collapse/expand Section elements, Company Structure in particular. Not sure if this will misbehave if used more than once in an article.

A template isn't really required, but used anyway so we can keep track of which article pages are using collapsible sections.

See BGL Group Ltd for a good working example.

See also MediaWiki:Common.js and MediaWiki:Common.css.
More complete documentation is in HowTos/mediawiki-using.howto