Editing Module:Infobox NPC
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 13: | Line 13: | ||
local params = { |
local params = { |
||
⚫ | |||
parse.name, |
parse.name, |
||
parse.image, |
parse.image, |
||
Line 19: | Line 18: | ||
parse.premium, |
parse.premium, |
||
parse.episode, |
parse.episode, |
||
⚫ | |||
{name = 'shop', func = parse.has_content, smw_property = 'Shop'}, -- TODO - move to Module:Param Parse once more details are available, and create property page |
{name = 'shop', func = parse.has_content, smw_property = 'Shop'}, -- TODO - move to Module:Param Parse once more details are available, and create property page |
||
parse. |
parse.examine, |
||
} |
} |
||
Line 42: | Line 42: | ||
{tag='th', content='[[Premium Pass|Premium]]', colspan="6"}, |
{tag='th', content='[[Premium Pass|Premium]]', colspan="6"}, |
||
{tag='td', content=Infobox.param('premium'), colspan="14"}, |
{tag='td', content=Infobox.param('premium'), colspan="14"}, |
||
} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
} |
} |
||
if infobox:is_param_defined(Infobox.param('shop')) > 0 then |
if infobox:is_param_defined(Infobox.param('shop')) > 0 then |
||
Line 50: | Line 54: | ||
end |
end |
||
infobox:add_row{ |
infobox: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) |