Module:Param Parse: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 255: Line 255:
return profession_valid..','..level_valid
return profession_valid..','..level_valid
end
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 = {
parse.profession_bubble_a = {
name = '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')}},
func = {name = parse.profession_bubble_func, params = {Infobox.raw_param('profession_a'), Infobox.raw_param('profession_a_level')}},
smw_property = 'Profession Requirement A',
smw_property = 'Profession Requirement',
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')}},
}
}
Line 280: Line 264:
name = 'profession_bubble_b',
name = 'profession_bubble_b',
func = {name = parse.profession_bubble_func, params = {Infobox.raw_param('profession_b'), Infobox.raw_param('profession_b_level')}},
func = {name = parse.profession_bubble_func, params = {Infobox.raw_param('profession_b'), Infobox.raw_param('profession_b_level')}},
smw_property = 'Profession Requirement A',
smw_property = 'Profession Requirement',
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')}},
}
}