Module:QuestDetails: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
m (Undo revision 48908 by Drekryan (talk))
Tag: Undo
No edit summary
Line 7: Line 7:
local args = frame:getParent().args
local args = frame:getParent().args
local requirements = (args.requirements and '\n'..args.requirements) or 'None'

mw.smw.set({
mw.smw.set({
start_point = args.start_point,
start_point = args.start_point,
required_for = args.required_for,
required_for = args.required_for,
next_quest = args.next_quest,
next_quest = args.next_quest,
requirements = requirements,
requirements = args.requirements,
items = args.items and '\n'..args.items,
items = args.items and '\n'..args.items,
recommended = args.recommended and '\n'..args.recommended,
recommended = args.recommended and '\n'..args.recommended,
Line 93: Line 91:
:addClass('lighttable checklist')
:addClass('lighttable checklist')
:newline()
:newline()
:wikitext(requirements)
:wikitext(args.requirements or 'None')
:newline()
:newline()
:done()
:done()