Anonimo

Modulo:FunzioniGeneriche: differenze tra le versioni

Da Wikitrek.
Check for LI
(First version of ParameterToSemantic to process UL)
(Check for LI)
Riga 248: Riga 248:
     end
     end
for Item in string.gmatch(TestString, "<li>(.-)</li>") do
if string.find(ParaString, "<li>") ~= nil then
table.insert(FinalArray, Item)
--Process UL or OL
for Item in string.gmatch(TestString, "<li>(.-)</li>") do
table.insert(FinalArray, Item)
end
return mw.text.nowiki(table.concat(FinalArray, Separator) .. SepDeclaration)
else
return ParaString
end
end
return mw.text.nowiki(table.concat(FinalArray, Separator) .. SepDeclaration)
end
end
function p.ParameterToSemanticTest(frame)
function p.ParameterToSemanticTest(frame)