Module:Param Parse: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 255:
return profession_valid..','..level_valid
end
parse.profession_a = {
name = 'profession_a',
func = parse.has_content
}
parse.profession_a_level = {
name = 'profession_a_level',
func = parse.has_content
}
parse.profession_b = {
name = 'profession_b',
func = parse.has_content
}
parse.profession_b_level = {
name = 'profession_b_level',
func = parse.has_content
}
parse.profession_bubble_a = {
name = 'profession_bubble_a',
func = {name = parse.profession_bubble_func, params = {Infobox.raw_param('profession_a'), Infobox.raw_param('profession_a_level')}},
smw_property = 'Profession Requirement A',
smw_func = {name = parse.profession_bubble_smw, params = {Infobox.raw_param('profession_a'), Infobox.raw_param('profession_a_level')}},
}
Line 280 ⟶ 264:
name = 'profession_bubble_b',
func = {name = parse.profession_bubble_func, params = {Infobox.raw_param('profession_b'), Infobox.raw_param('profession_b_level')}},
smw_property = 'Profession Requirement A',
smw_func = {name = parse.profession_bubble_smw, params = {Infobox.raw_param('profession_b'), Infobox.raw_param('profession_b_level')}},
}