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.

Module:TreeChart: Revision history

From Super Fantasy Kingdom Official Wiki

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

21 October 2025

3 November 2023

  • curprev 13:5413:54, 3 November 2023 wgg>Cadaei 1,466 bytes +1,466 Created page with "local p = {} function p.treeChart(f) return p.create(f:getParent().args) end function p.create(args) if args[1] == nil then return '' end local list = {} -- node content level is indicated by dashes before the content local currentLevel = 0 for _,node in ipairs(args) do -- separate level indicator and content local nodeLevel, nodeContent = string.match(node, '^%s*(%-*)%s*(.-)%s*$') nodeLevel = string.len(nodeLevel) if nodeLevel > currentLevel then..."