Difference between revisions of "TAChart User Guide"
m |
m |
||
Line 1: | Line 1: | ||
! Updating in progress ! | ! Updating in progress ! | ||
+ | <br> | ||
+ | = Test suite for mw-collapsible = | ||
+ | __NOTOC__ | ||
+ | |||
+ | <big>''' Collapsible div '''</big> | ||
+ | ---- | ||
+ | <div class="mw-collapsible" data-collapsetext="You may collapse me by clicking here" data-expandtext="Let me back out !"> | ||
+ | {{User:Krinkle/Lorem}} | ||
+ | </div> | ||
+ | |||
+ | <div style="clear:both"></div> | ||
+ | |||
+ | <big>''' Collapsible div (collapsed by default) '''</big> | ||
+ | ---- | ||
+ | <div class="mw-collapsible mw-collapsed"> | ||
+ | {{User:Krinkle/Lorem}} | ||
+ | </div> | ||
+ | |||
+ | <div style="clear:both"></div> | ||
+ | |||
+ | <big id="head-colapsible_div_nested_in_collapsed_div">''' Collapsible div nested in collapsed div '''</big> | ||
+ | ---- | ||
+ | |||
<br> | <br> | ||
=== Collapsible tables === | === Collapsible tables === |
Revision as of 22:58, 27 January 2014
! Updating in progress !
Test suite for mw-collapsible
Collapsible div
Collapsible div (collapsed by default)
Collapsible div nested in collapsed div
Collapsible tables
Classes can also be used to collapse tables, so they are hidden by default. Use the style 'collapsible' to enable collapsing behaviour. By default, a collapsible table will begin expanded. To change this, include the additional class 'collapsed' or 'autocollapse' (i.e. only collapse if 3 other collapsible tables are present). You must include a header row, where the 'hide' option will be displayed. Example:
{| class="wikitable collapsible collapsed" |- ! Header |- | Content which starts hidden |- | more hidden content |}
Gives:
Header |
---|
Content which starts hidden |
more hidden content |
Using class mw-collapsible
Another way (worked in mediawiki 1.19rc1)testwiki:User:Krinkle/CollapsingTestpageMw
{| class="wikitable sortable mw-collapsible"
Header |
---|
Content which starts visible |
more visible content |
{| class="wikitable sortable mw-collapsible mw-collapsed"
Header |
---|
Content which starts hidden |
more hidden content |
All TAChart information on the Wiki can be linked to this catalog as a means of easy access to everything.
How to contribute information to this guide.
Understanding the Chart |
---|
Blah 1 |
Blah 2 |
- Introduction
- Understanding the Chart
- Working with Series
- Managing Axes
- The Component Suite
- Tutorials & Demos
- Forum
- Gallery
- Glossary
- Index
- Reference
Chapters with Code Examples: a few lines of code or codelisting to exemplify the use of what was just described