Difference between revisions of "Template:SeeMore"

From WikiCorporates
Jump to navigation Jump to search
(Created page with "<div class="structure-small">{{{content}}}</div><noinclude>{{doc2}}</noinclude>")
 
Line 1: Line 1:
−
<div class="structure-small">{{{content}}}</div><noinclude>{{doc2}}</noinclude>
+
<div class="structure-small">
 +
{{{content}}}
 +
</div><noinclude>{{doc2}}</noinclude>

Revision as of 15:31, 18 July 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