Module:QuestDetails: Difference between revisions
no edit summary
No edit summary |
No edit summary |
||
Line 3:
function p.details(frame)
local args = frame.args
local mw = require('mw')
if args.start_point then
params['requirements'] = 'value2'▼
})
end
▲ mw.smw.set(params)
mw.smw.set({
["requirements"] = args.requirements,
})
end
if args.recommended then
mw.smw.set({
["recommended"] = args.recommended,
})
end
if args.enemies then
mw.smw.set({
["enemies"] = args.enemies,
})
end
local requirements;
if (args
requirements = args
else
requirements = 'None'
Line 51 ⟶ 67:
:done()
if (args
table
:tag( 'tr' )
Line 62 ⟶ 78:
:tag( 'td' )
:tag('p')
:wikitext( args
:done()
:attr('style', 'max-width:85%; width:auto; padding-left: 1em; padding-right: 2em;')
Line 69 ⟶ 85:
end
if (args
table
:tag( 'tr' )
Line 80 ⟶ 96:
:tag( 'td' )
:tag('p')
:wikitext( args
:done()
:attr('style', 'max-width:85%; width:auto; padding-left: 1em; padding-right: 2em;')
|