Please note that some information on this wiki is still based on the demo version.
If you notice any errors, feel free to correct them.

Template:TreeChart/doc: Difference between revisions

From Super Fantasy Kingdom Official Wiki
wgg>Cadaei
doc fix
m 4 revisions imported
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{doc/start}}
Displays a tree chart. If the chart should go upwards use <code>up=true</code> and enter the nodes in reverse order. Each node level is indicated by a dash at the start of the entry.
Displays a tree chart. If the chart should go upwards use <code>up=true</code> and enter the nodes in reverse order. Each node level is indicated by a dash at the start of the entry.


Line 28: Line 27:
|-{{ItemLink|Witch}}
|-{{ItemLink|Witch}}
}}
}}
{{doc/end}}
<noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 23:46, 21 October 2025

Displays a tree chart. If the chart should go upwards use up=true and enter the nodes in reverse order. Each node level is indicated by a dash at the start of the entry.

{{TreeChart
|up=true
|[[Combat]]
|-[[Stats]]
|--{{stat|dm|Damage}}
|--{{stat|sh|Shield}}
|--{{stat|cr|Critical Chance}}
|-[[Units]]
|--{{ItemLink|Deathpriest}}
|[[Characters]]
|-{{ItemLink|Merchant}}
|-{{ItemLink|Witch}}
}}