Diferencia entre revisiones de «Módulo:Ficha»

Sin resumen de edición
Sin resumen de edición
Línea 577: Línea 577:
     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 = nil
     local entidad = mw.wikibase and mw.wikibase.getEntity and mw.wikibase.getEntity() or nil
 
     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