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>")
 
m (GrayanOne moved page Template:Structure-Small to Template:SeeMore without leaving a redirect)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
−
<div class="structure-small">{{{content}}}</div><noinclude>{{doc2}}</noinclude>
+
<div class="see-more">
 +
{{{content}}}
 +
</div><noinclude>{{doc2}}</noinclude>

Latest revision as of 16:07, 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