Diferencia entre revisiones de «Módulo:Wikidata»

Sin resumen de edición
Sin resumen de edición
Línea 159: Línea 159:
     marco = frame
     marco = frame
     local args = frame.args
     local args = frame.args
    local valorwikidata = formatStatements( frame.args )
     --If a value if already set, use it
     if args.prioridad ~= 'sí' then
     if args.value and args.value ~= '' then
        if args.value and args.value ~= '' then
            return args.value
        end
     elseif valorwikidata ~= '' and args.value and args.value ~= '' then
         return args.value
         return args.value
    end
  else
 
     return valorwikidata
     return formatStatements( frame.args )
  end 
   
end
end


return p
return p