Module:Infobox Monster: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(Reverting to what was working before this requirements parsing test)
(Add support for unlock_level param)
Line 40: Line 40:
parse.premium,
parse.premium,
parse.episode,
parse.episode,
parse.unlock_level,
{name = 'level', func = parse.number},
{name = 'hp', func = parse.number}, -- TODO - move to Module:Param Parse once more details are available, and create smw_property
{name = 'hp', func = parse.number}, -- TODO - move to Module:Param Parse once more details are available, and create smw_property
{name = 'xp', func = parse.number}, -- TODO - same as above
{name = 'xp', func = parse.number}, -- TODO - same as above
Line 80: Line 80:
}
}
:add_row{
:add_row{
{tag='th', content='Level', colspan="7"},
{tag='th', content='Unlocked at', colspan="7"},
{tag='td', content=Infobox.param('level'), colspan="13"},
{tag='td', content=Infobox.param('unlock_level'), colspan="13"},
}
}
:add_row{
:add_row{