Diferencia entre revisiones de «Módulo:Wikidata»

m Agregando opción de lista no ordenada sin bullet
mSin resumen de edición
Línea 318: Línea 318:
-- Añadir en su caso un lápiz
-- Añadir en su caso un lápiz
if opciones.linkback == 'sí' then
if opciones.linkback == 'sí' then
return '<ul style="list-style-type: none;padding-left:0;"><li>' .. p.addLinkback(mw.text.listToText( formatoDeclaraciones, '</li><li>','</li><li>' ), opciones.entityId, opciones.propiedad) .. '</li></ul>'
return '<ul style="list-style-type:none;list-style-image:none;margin-left:0;"><li>' .. p.addLinkback(mw.text.listToText( formatoDeclaraciones, '</li><li>','</li><li>' ), opciones.entityId, opciones.propiedad) .. '</li></ul>'
else
else
return '<ul style="list-style-type: none;padding-left:0;"><li>' .. mw.text.listToText( formatoDeclaraciones, '</li><li>','</li><li>' ) .. '</li></ul>'
return '<ul style="list-style-type:none;list-style-image:none;margin-left:0;"><li>' .. mw.text.listToText( formatoDeclaraciones, '</li><li>','</li><li>' ) .. '</li></ul>'
end
end
else
else