Modul:Location map: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
Pierrewee (bicara | kontrib)
baris 50:Modul
Baris 252:
if map('skew') ~= '' or map('lat_skew') ~= '' or map('crosses180') ~= '' or map('type') ~= '' then
mw.log('Removed parameter used in map definition ' .. map())
local key = (map('skew') ~= '' and 'skew' or '') ..
(map('lat_skew') ~= '' and 'lat_skew' or '') ..
(map('crosses180') ~= '' and 'crosses180' or '') ..
(map('type') ~= '' and 'type' or '')
retval = retval .. '[[Category:Location maps with possible errors|Map using removed parameter]]'
end
Baris 385 ⟶ 389:
end
mw.logObject(args, 'args')
local key = (args.skew and 'skew' or '') ..
(args.lon_shift and 'lon_shift' or '') ..
(args.markhigh and 'markhigh' or '')
builder:wikitext('[[Category:Location maps with possible errors|Page using removed parameter]]')
end
Baris 404 ⟶ 411:
end
mw.logObject(args, 'args')
local key = frame:preprocess('{{FULLPAGENAME}}')
builder:wikitext('[[Category:Location maps with possiblemarks errors|Outsideoutside flagmap and outside parameter not set|' with.. markkey outside.. ' map]]')
end
local mark = args.mark or map('mark')