Editing Module:Infobox Scenery
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 9: | Line 9: | ||
local config = { |
local config = { |
||
infobox_name = 'Scenery', |
infobox_name = 'Scenery', |
||
class = {Infobox.smw_param('episode')}, |
|||
} |
} |
||
local params = { |
local params = { |
||
parse.actions, |
|||
parse.name, |
parse.name, |
||
parse.image, |
parse.image, |
||
Line 19: | Line 17: | ||
parse.premium, |
parse.premium, |
||
parse.episode, |
parse.episode, |
||
parse. |
parse.examine, |
||
} |
} |
||
Line 42: | Line 40: | ||
{tag='td', content=Infobox.param('premium'), colspan="14"}, |
{tag='td', content=Infobox.param('premium'), colspan="14"}, |
||
} |
} |
||
if infobox:is_param_defined(Infobox.param('actions')) > 0 then |
|||
infobox:add_row{ |
|||
{tag='th', content='Actions', colspan="6"}, |
|||
{tag='td', content=Infobox.param('actions'), colspan="14"} |
|||
} |
|||
end |
|||
infobox |
|||
:add_row{ |
:add_row{ |
||
{tag='th', content=' |
{tag='th', content='Examine', colspan="6"}, |
||
{tag='td', content=Infobox.param(' |
{tag='td', content=Infobox.param('examine'), colspan="14"} |
||
} |
} |
||
:pad(20) |
:pad(20) |