Difference between revisions of "Template:PageTreeListItem"
Jump to navigation
Jump to search
sc4e>Memo (New page: <noinclude> 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 ...) |
m (5 revisions imported) |
||
(4 intermediate revisions by one other user not shown) | |||
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> | + | </noinclude><includeonly><li>[[Namdoc:{{{parent}}}|{{{parent}}}]]{{#ifeq:{{{parent}}}|{{#titleparts:{{{path}}}|1|{{{level}}} }}|<ul>{{{children}}}</ul>|}}</li></includeonly> |
− | <includeonly> | ||
− | <li>[[{{{parent}}}]] | ||
− | |||
− | |||
− | |||
− | </li> | ||
− | </includeonly> |
Latest revision as of 14:57, 4 August 2019
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