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 9: | Line 9: | ||
local config = { |
local config = { |
||
infobox_name = 'Item', |
infobox_name = 'Item', |
||
class = {Infobox.smw_param('episode')}, |
|||
} |
} |
||
Line 18: | Line 17: | ||
parse.premium, |
parse.premium, |
||
parse.episode, |
parse.episode, |
||
{name = 'profession', func = parse.has_content, category_incomplete = 'Items needing profession', smw_func = 'Profession'}, -- TODO - move to Module:Param Parse once more details are available |
|||
parse.profession, |
|||
{name = 'value', func = parse.number, category_incomplete = 'Items needing value', |
{name = 'value', func = parse.number, category_incomplete = 'Items needing value', smw_func = 'Value'}, -- TODO - move to Module:Param Parse once more details are available |
||
parse.examine, |
|||
} |
} |
||
Line 50: | Line 48: | ||
{tag='th', content='Value', colspan="6"}, |
{tag='th', content='Value', colspan="6"}, |
||
{tag='td', content=Infobox.param('value'), colspan="14"}, |
{tag='td', content=Infobox.param('value'), colspan="14"}, |
||
} |
|||
:add_row{ |
|||
{tag='th', content='Examine', colspan="6"}, |
|||
{tag='td', content=Infobox.param('examine'), colspan="14"} |
|||
} |
} |
||
:pad(20) |
:pad(20) |