Module:SemanticAnnotations: Difference between revisions
// via Wikitext Extension for VSCode Tag: Manual revert |
// via Wikitext Extension for VSCode |
||
| Line 374: | Line 374: | ||
-- Complex mapping with multiple parameters | -- Complex mapping with multiple parameters | ||
processComplexMapping(properties, fullPropertyName, args, mapping.mappings, transform[property]) | processComplexMapping(properties, fullPropertyName, args, mapping.mappings, transform[property]) | ||
else | |||
-- Direct array of values: add each value as a property | |||
for _, value in ipairs(mapping) do | |||
processSimpleMapping(properties, fullPropertyName, value, transform[property], default[property]) | |||
end | |||
end | end | ||
end | end | ||