Diferencia entre revisiones de «Módulo:Ficha»

Sin resumen de edición
Etiqueta: Revertido
Sin resumen de edición
Etiqueta: Reversión manual
 
(No se muestran 17 ediciones intermedias del mismo usuario)
Línea 564: Línea 564:
    
    
     local enlacePagina = mw.title.getCurrentTitle().prefixedText  
     local enlacePagina = mw.title.getCurrentTitle().prefixedText  
     local etiquetaPagina = mw.ustring.gsub(enlacePagina,'%s%(.*%)','')  
     local etiquetaPagina = mw.ustring.gsub(enlacePagina,'%s%(.*%)','')
    local entidad = args.entidad or mw.wikibase.getEntityIdForCurrentPage()
local entidad = args.entidad or mw.wikibase.getEntityIdForCurrentPage()
     local textoPie = ""
     local textoPie = ""
     if  (args.child == 'si' or args.integrada == 'sí' or args.wikidata == 'no') or (mw.title.getCurrentTitle().namespace ~= 0 and mw.title.getCurrentTitle().namespace ~= 104 and not args.entidad) then
     if  (args.child == 'si' or args.integrada == 'sí' or args.wikidata == 'no') or (mw.title.getCurrentTitle().namespace ~= 0 and mw.title.getCurrentTitle().namespace ~= 104 and not args.entidad) then
         -- textoPie = ''
         textoPie = ''
        -- kimjin0 위코드 제거 후 아래코드 추가
        textoPie = '<div class="plainlinks" style="font-size: 0.85em">[[[d:' .. tostring(entidad) .. '|editar datos en Wikidata]]]</div>'
     elseif  entidad ~= "" and entidad ~= nil  then
     elseif  entidad ~= "" and entidad ~= nil  then
         textoPie = '<div class="plainlinks wikidata-link" style="font-size: 0.85em">&#x5B;[[d:' .. tostring(entidad) .. '|editar datos en Wikidata]]&#x5D;</div>'
         textoPie = '<div class="plainlinks wikidata-link" style="font-size: 0.85em">&#x5B;[[d:' .. tostring(entidad) .. '|editar datos en Wikidata]]&#x5D;</div>'