Editing Module:Infobox Monster
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 = 'Monster', |
infobox_name = 'Monster', |
||
class = {Infobox.smw_param('episode')}, |
|||
} |
} |
||
local params = { |
local params = { |
||
parse.name, |
parse.name, |
||
parse. |
parse.image, |
||
parse.release, |
parse.release, |
||
parse.premium, |
parse.premium, |
||
Line 20: | Line 19: | ||
{name = 'level', func = parse.number}, -- TODO - same as below |
{name = 'level', func = parse.number}, -- TODO - same as below |
||
{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 |
|||
parse.variant, |
parse.variant, |
||
parse.passive, |
parse.passive, |
||
parse.examine, |
|||
} |
} |
||
Line 53: | Line 50: | ||
{tag='th', content='[[Health]]', colspan="6"}, |
{tag='th', content='[[Health]]', colspan="6"}, |
||
{tag='td', content=Infobox.param('hp'), colspan="14"}, |
{tag='td', content=Infobox.param('hp'), colspan="14"}, |
||
} |
|||
:add_row{ |
|||
{tag='th', content='Experience', colspan="6"}, |
|||
{tag='td', content=Infobox.param('xp'), colspan="14"}, |
|||
} |
} |
||
:add_row{ |
:add_row{ |
||
Line 65: | Line 58: | ||
{tag='th', content='[[File:Passive activity icon.png|14px|link=Passive activity]] [[Passive activity|Passive]]', colspan="6"}, |
{tag='th', content='[[File:Passive activity icon.png|14px|link=Passive activity]] [[Passive activity|Passive]]', colspan="6"}, |
||
{tag='td', content=Infobox.param('passive'), colspan="14"}, |
{tag='td', content=Infobox.param('passive'), colspan="14"}, |
||
} |
|||
:add_row{ |
|||
{tag='th', content='Examine', colspan="6"}, |
|||
{tag='td', content=Infobox.param('examine'), colspan="14"} |
|||
} |
} |
||
:pad(20) |
:pad(20) |