Diferencia entre revisiones de «Módulo:Wikibase»
Sin resumen de edición |
|||
| Línea 8: | Línea 8: | ||
end | end | ||
entity = mw.wikibase. | entity = mw.wikibase.getEntity() | ||
if entity == nil then | if entity == nil then | ||
| Línea 20: | Línea 20: | ||
function p.etiqueta(frame) | function p.etiqueta(frame) | ||
if frame.args[1] == nil then | if frame.args[1] == nil then | ||
entity = mw.wikibase. | entity = mw.wikibase.getEntity() | ||
if not entity then return nil end | if not entity then return nil end | ||
| Línea 34: | Línea 34: | ||
function p.enlace(frame) | function p.enlace(frame) | ||
if frame.args[1] == nil then | if frame.args[1] == nil then | ||
entity = mw.wikibase. | entity = mw.wikibase.getEntity() | ||
if not entity then return nil end | if not entity then return nil end | ||