Module:Param Parse: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(smw for profession bubbles) |
(smw properties for profession bubbles) |
||
Line 249: | Line 249: | ||
smw_property = 'Profession Requirement A', |
smw_property = 'Profession Requirement A', |
||
smw_func = {name = parse.profession_bubble_smw, params = {Infobox.raw_param('profession_a'), Infobox.raw_param('profession_a_level')}}, |
smw_func = {name = parse.profession_bubble_smw, params = {Infobox.raw_param('profession_a'), Infobox.raw_param('profession_a_level')}}, |
||
} |
|||
parse.profession_a_smw = { |
|||
name = 'profession_a', |
|||
func = parse.has_content, |
|||
smw_property = 'Profession A', |
|||
} |
|||
parse.profession_a_level_smw = { |
|||
name = 'profession_a_level', |
|||
func = parse.number, |
|||
smw_property = 'Profession Level A', |
|||
} |
} |
||
parse.profession_bubble_b = { |
parse.profession_bubble_b = { |
||
Line 255: | Line 265: | ||
smw_property = 'Profession Requirement B', |
smw_property = 'Profession Requirement B', |
||
smw_func = {name = parse.profession_bubble_smw, params = {Infobox.raw_param('profession_b'), Infobox.raw_param('profession_b_level')}}, |
smw_func = {name = parse.profession_bubble_smw, params = {Infobox.raw_param('profession_b'), Infobox.raw_param('profession_b_level')}}, |
||
} |
|||
parse.profession_b_smw = { |
|||
name = 'profession_b', |
|||
func = parse.has_content, |
|||
smw_property = 'Profession B', |
|||
} |
|||
parse.profession_b_level_smw = { |
|||
name = 'profession_a_level', |
|||
func = parse.number, |
|||
smw_property = 'Profession Level A', |
|||
} |
} |
||