More actions
Created page with "<templatestyles src="Template:Tree/style.css"/> <div class="hierarchy-tree --item"> {{tree/item|icon={{{icon|}}}|content={{{content|}}}}} {{#if:{{{inner|}}}|<div class="--tree-indent">{{{inner}}}</div>}} </div><includeonly> == Documentation == Renders a tree-like structure. Work in progress. </includeonly>" Tag: 2017 source edit |
No edit summary Tag: 2017 source edit |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<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> | </div></includeonly><noinclude> | ||
{{tree|icon=BBGroup.png|content=root|inner= | |||
{{tree|icon=BBGroup.png|content=Head|inner= | |||
{{tree|icon=BBCube.png|content=Head}} | |||
}} | |||
}} | |||
== 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> |
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}}
}}
}}