Mòdul:Wikidades/proves: diferència entre les revisions

Contingut suprimit Contingut afegit
corr.
getParentValues: labelicon separat en dos
Línia 1.504:
propertyLink,
labelShow,
labelicon0,
labelicon,
lableicon1,
upto_number,
upto_label,
Linha 1.537 ⟶ 1.538:
local link, label, labelwicon, linktext, _id, _link
for _, propertySup in pairs(propertySups) do
_id, _link = getPropertyValue(id, propertySup, prop_format, languages, labeliconlabelicon1, grammatical_case)
if _id and _link then id = _id; link = _link break end
end
Linha 1.551 ⟶ 1.552:
_, label = getPropertyValue(id, propertyLabel, label_format, languages, false, "infoboxlabel")
if labeliconlabelicon0 then
_, labelwicon = getPropertyValue(id, propertyLabel, label_format, languages, labeliconlabelicon0, "infoboxlabel")
else
labelwicon = label
Linha 1.650 ⟶ 1.651:
local rowformat = args.rowformat; if not isSet(rowformat) then rowformat = "$0 = $1" end
local labelicon0, labelicon1 = labelicon, labelicon
if string.find(label_format, '{{.*$0.*}}') or (string.find(rowformat, '{{.*$0.*}}') and label_format ~= 'raw') then
labeliconlabelicon0 = false
end
Linha 1.662 ⟶ 1.664:
propertyLink,
labelShow,
labeliconlabelicon0,
labelicon1,
upto_number,
upto_label,