Difference between revisions of "Template:PageTreeListItem"
Jump to navigation
Jump to search
sc4e>Memo m |
sc4e>Memo m (adds pipe trick) |
||
Line 5: | Line 5: | ||
* level=level of expansion to parent (1,2,…) | * level=level of expansion to parent (1,2,…) | ||
* children=text of html list items containing children | * children=text of html list items containing children | ||
− | </noinclude><includeonly><li>[[{{{parent}}}]]{{#ifeq:{{{parent}}}|{{#titleparts:{{{path}}}|1|{{{level}}} }}|<ul>{{{children}}}</ul>|}}</li></includeonly> | + | </noinclude><includeonly><li>[[{{{parent}}}|]]{{#ifeq:{{{parent}}}|{{#titleparts:{{{path}}}|1|{{{level}}} }}|<ul>{{{children}}}</ul>|}}</li></includeonly> |
Revision as of 06:06, 17 August 2015
List item in page tree with conditional expansion. Parameters:
- parent=name of parent list item
- path=path to expanded item in page tree
- level=level of expansion to parent (1,2,…)
- children=text of html list items containing children