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, |
||
parse.episode, |
parse.episode, |
||
{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.examine, |
|||
} |
} |
||
Line 45: | Line 40: | ||
{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"}, |
||
} |
|||
:add_row{ |
|||
{tag='th', content='[[Level]]', colspan="6"}, |
|||
{tag='td', content=Infobox.param('level'), colspan="14"} |
|||
} |
} |
||
:add_row{ |
:add_row{ |
||
{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{ |
||
{tag='th', content='[[Variant]] of', colspan="6"}, |
{tag='th', content='[[Variant]] of', colspan="6"}, |
||
{tag='td', content=Infobox.param('variant'), colspan="14"}, |
{tag='td', content=Infobox.param('variant'), colspan="14"}, |
||
} |
|||
:add_row{ |
|||
{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"}, |
|||
} |
|||
:add_row{ |
|||
{tag='th', content='Examine', colspan="6"}, |
|||
{tag='td', content=Infobox.param('examine'), colspan="14"} |
|||
} |
} |
||
:pad(20) |
:pad(20) |