Modul:Wikidata: Porovnání verzí

Smazaný obsah Přidaný obsah
m Zrušena verze 62607 od uživatele Matěj Suchánek (diskuse)
m úprava
Řádek 29:
 
function getSitelink(options)
iflocal notsite = options.site or not (options[1] or options.site) then
if not site or site == '' then
return formatError( 'param-not-provided', 'site' )
end
Řádek 41 ⟶ 42:
end
 
if entity.sitelinks[options.site] then
sitelink = entity.sitelinks[options.site].title
return formatFromPattern(sitelink, options)
else