Khác biệt giữa bản sửa đổi của “Mô đun:Infobox mapframe”
n Đã nhập 1 phiên bản |
Không có tóm lược sửa đổi |
||
| Dòng 183: | Dòng 183: | ||
-- Require wikidata item, or specified coords | -- Require wikidata item, or specified coords | ||
local wikidataId = config.id | |||
if not wikidataId and mw.wikibase then | |||
wikidataId = mw.wikibase.getEntityIdForCurrentPage() | |||
end if not(wikidataId) and not(config.coord) then | |||
return '' | return '' | ||
end | end | ||