From SMW+ 1.5.6
[edit] Sandbox for the TreeView extension
- Building a static tree
To obtain a tree which is composed of static elements which never change you use the wikitext syntax for bullet lists (i.e. *).
The above tree is generated by this wikitext:
{{#tree:id=statictree|root=Static tree|
*This is examplaric content of the tree view
**Read here how to adjust it to your needs: [http://smwforum.ontoprise.com/smwforum/index.php/Help:TreeView_Extension]
*You can adjust the contents of this tree in this article:
** [[MediaWiki:NavTree]]
}}
- Generating a tree from the dynamic data in the Wiki
You can instruct the tree view to automatically compose a tree from elements which are interconnected by a relation:
The above tree is generated by this wikitext:
{{#tree:id=dynamictree|root=Dynamic tree|
{{#generateTree:property=Points to tree element
|category=Tree element}}
}}
- Placing the tree in the Wiki
You can display trees in wiki articles. Or, if you use Ontoskin3 (the default skin of SMW+), then just copy and paste your tree view-wikitext into this article:
[[MediaWiki:NavTree]]
Your tree will then open if you click on the arrow at the right hand side of the skin.
- More information can be found here
| Static facts | Derived facts | ||||||||
Facts about Treeview SandboxRDF feed
| |||||||||

Edit