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
Created page with "{{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. <nowiki>{{TreeChart |up=true |Combat |-Stats |--{{stat|dm|Damage}} |--{{stat|sh|Shield}} |--{{stat|cr|Critical Chance}} |-Units |--{{ItemLink|Deathpriest}} |Characters |-{{ItemLink|Merchant}} |-{{ItemLink|Witch}} }}</nowiki> {{TreeChart |up=true |Combat |-..."
 
wgg>Cadaei
doc fix
Line 19: Line 19:
|[[Combat]]
|[[Combat]]
|-[[Stats]]
|-[[Stats]]
|--{{stat|dm}}
|--{{stat|dm|Damage}}
|--{{stat|sh}}
|--{{stat|sh|Shield}}
|--{{stat|cr}}
|--{{stat|cr|Critical Chance}}
|-[[Units]]
|-[[Units]]
|--{{ItemLink|Deathpriest}}
|--{{ItemLink|Deathpriest}}

Revision as of 14:06, 3 November 2023

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}}
}}