Diferencia entre revisiones de «Módulo:Wikidata»

NO error "entity-not-found"
Sin resumen de edición
Línea 113: Línea 113:
     local label = mw.wikibase.label( entityId )
     local label = mw.wikibase.label( entityId )
     local link = mw.wikibase.sitelink( entityId )
     local link = mw.wikibase.sitelink( entityId )
     if link then
     if link and  args.link ~=  'no' then
         if label then
         if label then
             return '[[' .. link .. '|' .. label .. ']]'
             return '[[' .. link .. '|' .. label .. ']]'