More actions
No edit summary Tag: 2017 source edit |
No edit summary Tag: 2017 source edit |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><templatestyles src="Template:Tree/style.css"/> | <includeonly><templatestyles src="Template:Tree/style.css"/> | ||
<div class="hierarchy-tree | <div class="hierarchy-tree"> | ||
{{tree/item|icon={{{icon|}}}|content={{{content|}}}}} | {{tree/item|icon={{{icon|}}}|content={{{content|}}}}} | ||
{{#if:{{{inner|}}}|<div class=" | {{#if:{{{inner|}}}|<div class="-tree-indent">{{{inner}}}</div>}} | ||
</div></includeonly><noinclude> | </div></includeonly><noinclude> | ||
{{tree|icon=BBGroup.png|content=root|inner= | {{tree|icon=BBGroup.png|content=root|inner= | ||
Line 11: | Line 11: | ||
== Documentation == | == Documentation == | ||
Renders a tree-like structure. | Renders a tree-like structure. Nest using the <code>inner</code> parameter. | ||
<syntaxhighlight lang="wikitext"> | |||
{{tree|icon=BBGroup.png|content=root|inner= | |||
{{tree|icon=BBGroup.png|content=Head|inner= | |||
{{tree|icon=BBCube.png|content=Head}} | |||
}} | |||
}} | |||
</syntaxhighlight> | |||
</noinclude> | </noinclude> |
Latest revision as of 03:17, 14 December 2024
root
Head
Head
Documentation
Renders a tree-like structure. Nest using the inner
parameter.
{{tree|icon=BBGroup.png|content=root|inner=
{{tree|icon=BBGroup.png|content=Head|inner=
{{tree|icon=BBCube.png|content=Head}}
}}
}}