Editing Module:Infobox Item
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.actions, |
|||
parse.name, |
parse.name, |
||
parse.rarity_from_name, |
parse.rarity_from_name, |
||
Line 23: | Line 22: | ||
parse.quest, |
parse.quest, |
||
parse.value, |
parse.value, |
||
parse. |
parse.examine, |
||
parse.variant, |
parse.variant, |
||
parse.profession_bubble_a, |
parse.profession_bubble_a, |
||
Line 57: | Line 56: | ||
{tag='td', content=Infobox.param('additional_episode'), colspan="14"}, |
{tag='td', content=Infobox.param('additional_episode'), colspan="14"}, |
||
} |
} |
||
additional_episode_class = 'infobox-'..infobox:get_param(Infobox.smw_param('additional_episode'), 0)..'-additional' |
|||
additional_episode_class = mw.ustring.gsub(additional_episode_class, '%s', '_') |
additional_episode_class = mw.ustring.gsub(additional_episode_class, '%s', '_') |
||
infobox:addClass(additional_episode_class) |
infobox:addClass(additional_episode_class) |
||
Line 82: | Line 81: | ||
infobox:addClass('infobox-questitem') |
infobox:addClass('infobox-questitem') |
||
end |
end |
||
⚫ | |||
if infobox:is_param_defined(Infobox.param('actions')) > 0 then |
|||
⚫ | |||
infobox:add_row{ |
|||
{tag=' |
{tag='td', content=Infobox.param('examine'), colspan="14"} |
||
{tag='td', content=Infobox.param('actions'), colspan="14"} |
|||
} |
} |
||
end |
|||
⚫ | |||
⚫ | |||
{tag='td', content=Infobox.param('description'), colspan="14"} |
|||
} |
|||
if infobox:is_param_defined(Infobox.param('variant')) > 0 and infobox:get_param(Infobox.param('variant'), 0) ~= 'N/A' then |
if infobox:is_param_defined(Infobox.param('variant')) > 0 and infobox:get_param(Infobox.param('variant'), 0) ~= 'N/A' then |
||
infobox:add_row{ |
infobox:add_row{ |