Difference between revisions of "Template:PageTreeListItem"
Jump to navigation
Jump to search
sc4e>Memo m (adds pipe trick) |
sc4e>Memo m (adds Namdoc namespace) |
||
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>[[Namdoc:{{{parent}}}|{{{parent}}}]]{{#ifeq:{{{parent}}}|{{#titleparts:{{{path}}}|1|{{{level}}} }}|<ul>{{{children}}}</ul>|}}</li></includeonly> |
Revision as of 06:12, 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