Diferencia entre revisiones de «Módulo:Wikidata»

Sin resumen de edición
Sin resumen de edición
Línea 135: Línea 135:
     return formatStatements( frame.args )
     return formatStatements( frame.args )
end
end
function p.formatplantilla( frame )
    local args = frame.args
    if args.value and args.value ~= '' then
        return args.value
    end
    return frame:preprocess(formatStatements( frame.args ))
end
return p
return p