Content deleted Content added
New auto and autocaption functions to make this easier to use in infoboxes |
fix picking up unprefixed args |
||
Line 118:
if fixedName then
fixedArgs[fixedName] = val
-- allow coord, coordinates,
elseif name == "coordinates" or name == "coord" or name == "
fixedArgs
-- allow id, qid to be unprefixed, map to id (if not already present)
elseif name == "id" or name == "qid" and not fixedArgs.id then
fixedArgs.id = val
end
|