Module:QuestDetails: Difference between revisions

42 bytes removed ,  Wednesday at 02:32
no edit summary
No edit summary
No edit summary
Line 5:
 
function p.details(frame)
local _argsargs = frame:getParent().args
local config = {
infobox_name = 'Quest DetailsQuestDetails',
class = 'questdetails'
}
Line 14:
local params = {
{ name = 'start_point' },
{ name = 'requirements' }
}
local ret = Infobox.new(config, params, _args)
ret:attr { cellspacing = '3' }
 
local ret = Infoboxinfobox.new(config, params, _argsargs)
local auto_width = { ["max-width"] = "85%", ["width"] = "auto" }
ret:addRow {
{ tag = 'th', class = "questdetails-header", content = 'Start pointPoint' },
{ tag = 'argd', class = "questdetails-info", content=infobox.param('namestart_point'), css = auto_width }
}
 
515

edits