Module:Teste: Difference between revisions
From determinar.ia.br - Determine suas informações
Created page with "local p = {} function p.ola() return "Scribunto funcionando" end return p" |
No edit summary |
||
| Line 1: | Line 1: | ||
local p = {} | local p = {} | ||
function p. | function p.testarItem() | ||
local entity = mw.wikibase.getEntity('Q1') | |||
end | if entity then | ||
return p | return "Entidade encontrada! Label: " .. (entity.labels.pt and entity.labels.pt.value or "sem label pt") | ||
else | |||
return "Entidade NÃO encontrada — self-client não está funcionando" | |||
end | |||
end | |||
return p | |||
Revision as of 11:01, 1 August 2026
Documentation for this module may be created at Module:Teste/doc
