Module:BTD6 stats: Difference between revisions

mNo edit summary
mNo edit summary
Line 576: Line 576:
if base_data[vv] ~= nil then
if base_data[vv] ~= nil then
local crosspath = parse_tower(frame, base_data[vv], my_data, "<h4>%s</h4>", false)
local crosspath = parse_tower(frame, base_data[vv], my_data, "<h4>%s</h4>", false)
if crosspath ~= "" then
if mw.text.trim(crosspath) ~= [[
]] then
tinsert(ret, sformat("<h3>%s-%s-%s</h3>", ssub(vv, 2, 2), ssub(vv, 3, 3), ssub(vv, 4, 4)))
tinsert(ret, sformat("<h3>%s-%s-%s</h3>", ssub(vv, 2, 2), ssub(vv, 3, 3), ssub(vv, 4, 4)))
tinsert(ret, crosspath)
tinsert(ret, crosspath)