Module:Location map: திருத்தங்களுக்கு இடையிலான வேறுபாடு
உள்ளடக்கம் நீக்கப்பட்டது உள்ளடக்கம் சேர்க்கப்பட்டது
imported>Sukanthi சி 1 திருத்தம் இறக்குமதி செய்யப்பட்டன |
imported>Thiagalingam No edit summary |
||
வரிசை 291:
end
local function markOuterDiv(x, y, imageDiv, labelDiv, label_size)
return mw.html.create('div')
:addClass('od')
:addClass('notheme')
:cssText('top:' .. round(y, 3) .. '%;left:' .. round(x, 3) .. '%;font-size:' .. label_size .. '%')
:node(imageDiv)
:node(labelDiv)
வரிசை 324:
end
local builder = mw.html.create('div')
:cssText('
local distance = round(marksize / 2 + 1)
if position == 'top' then -- specified top
வரிசை 494:
local marksize = tonumber(args.marksize) or tonumber(map('marksize')) or 8
local imageDiv = markImageDiv(mark, marksize, args.label or mw.title.getCurrentTitle().text, args.link or '', args.alt, args[2])
local label_size = args.label_size or 91
local labelDiv
if args.label and args.position ~= 'none' then
labelDiv = markLabelDiv(args.label,
end
return builder:node(markOuterDiv(x, y, imageDiv, labelDiv, label_size))
end
| |||