MediaPortal Wiki > Wiki Help > Contribute to Wiki > Collapsible Lists/Trees

Collapsible Lists/Trees

Was this page helpful?
    Table of contents
    1. 1. Collapsible List
      1. 1.1. Example
    2. 2. Collapsible Tree
      1. 2.1. Example

    You can make any numbered or bulleted list collapsible, which means that each level will contain a + symbol to expand the level or a - symbol to collapse it.

    See Wiki  > Help for an example of a collapsible tree.

    To create a collapsible list or tree, you call the Collapsible Tree template.

    Collapsible List

    If you insert the template before an unordered (bulleted) list, the list will automatically become collapsbile.

    {{ collapsibletree() }}
    

    Note: This does not work on ordered (i.e. numbered) lists.

    Example

    • This is item one
      • Second Level
    • This is item two
      • Second Level Item Two
        • Third level Item Two
    • This is item three

    Collapsible Tree

    {{ collapsibletree( wiki.tree("Wiki_Help") , 3, true ) }}
    
    • wiki.tree invokes the wiki tree extension.
    • "Wiki_Help" is the name of the page or section you wish to display as a tree.
    • 3 is the levels of the tree you wish to display.
    • true means you wish the tree to slide up and down (preferred).

    In the future, we hope to add Collapsible tree to the insert menu or the extensions list to make it easier to enter.

    Note: This does not work on wiki.toc (page Table of Contents).

    Example

    Collapsible tree of MediaPortal 1 > Extensions.




    Tag page (Edit tags)
    • No tags
    Go to top
    Powered by MindTouch
    Running the latest version?
    V1.2.3 - released April 2012
    Releasenews | Download
    Changelog
     | Requirements
    opensource-logoTeam-MediaPortal 
    About
    Contact |  Press
    Partners