Module:QuestDetails: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
function p.details(frame) |
function p.details(frame) |
||
local |
local args = frame:getParent().args |
||
local config = { |
local config = { |
||
infobox_name = ' |
infobox_name = 'QuestDetails', |
||
class = 'questdetails' |
class = 'questdetails' |
||
} |
} |
||
Line 14: | Line 14: | ||
local params = { |
local params = { |
||
{ name = 'start_point' }, |
{ name = 'start_point' }, |
||
{ name = 'requirements' } |
|||
} |
} |
||
⚫ | |||
ret:attr { cellspacing = '3' } |
|||
⚫ | |||
local auto_width = { ["max-width"] = "85%", ["width"] = "auto" } |
local auto_width = { ["max-width"] = "85%", ["width"] = "auto" } |
||
ret:addRow { |
ret:addRow { |
||
{ tag = 'th', class = "questdetails-header", content = 'Start |
{ tag = 'th', class = "questdetails-header", content = 'Start Point' }, |
||
{ tag = 'argd', class = "questdetails-info", content=infobox.param(' |
{ tag = 'argd', class = "questdetails-info", content=infobox.param('start_point'), css = auto_width } |
||
} |
} |
||