Module:GameSkills: Difference between revisions
From SpiritVale Wiki
More actions
No edit summary |
No edit summary |
||
| Line 1,934: | Line 1,934: | ||
end | end | ||
local | local out = {} | ||
for _, rec in ipairs(matches) do | for _, rec in ipairs(matches) do | ||
local | local title = rec["External Name"] or rec.Name or rec["Internal Name"] or "Unknown Skill" | ||
-- List mode: emit a raw H3 heading before each standalone card so TOC/anchors work. | |||
table.insert(out, string.format("=== %s ===", title)) | |||
-- List mode cards are independent (no single wrapper container). | |||
table.insert(out, buildInfobox(rec, { showUsers = false, inList = true })) | |||
end | end | ||
return | return table.concat(out, "\n") | ||
end | end | ||