Module:Param Parse: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 515: Line 515:


-- Variant type
-- Variant type
parse.variant_type = {
name = 'variant_type',
func = {name=parse.variant_type_func, params = {Infobox.raw_param('variant_type')}},
smw_func = parse.has_content,
smw_property = 'Variant type',
category_incomplete = 'Needs variant type'
}

local valid_variant_types = {
local valid_variant_types = {
['item'] = 'Item',
['item'] = 'Item',
Line 537: Line 529:
return nil
return nil
end
end

parse.variant_type = {
name = 'variant_type',
func = parse.variant_type_func,
smw_func = parse.has_content,
smw_property = 'Variant type',
category_incomplete = 'Needs variant type'
}


parse.passive = {
parse.passive = {