Module:WikidataIB/sandbox1: Difference between revisions

Content deleted Content added
set language for qualifiers
Remove getNormalValue
Line 955:
return p.getValue(frame)
end
 
 
-------------------------------------------------------------------------------
-- getNormalValue is used to get a value,
-- (or a comma separated list of them if multiple values exist).
-- If normal ranks are set, it will return those values, otherwise all values
-- now redundant to getValue with |rank=normal
-------------------------------------------------------------------------------
-- Dependencies: p.getValue(); setRanks(); parseInput(); _getvalue();
-- propertyvalueandquals(); assembleoutput();
-- parseParam(); sourced(); labelOrId(); i18n.latestdatequalifier(); format_Date();
-- makeOrdinal(); roundto(); decimalPrecision(); decimalToDMS();
-------------------------------------------------------------------------------
p.getNormalValue = function(frame)
frame.args.rank = "normal"
return p.getValue(frame)
end
 
 
-------------------------------------------------------------------------------