Modul:Location map/info: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
Tidak ada ringkasan suntingan
Nyilvoskt (bicara | kontrib)
Tidak ada ringkasan suntingan
Tag: Suntingan perangkat seluler Suntingan peramban seluler Suntingan seluler lanjutan
 
(2 revisi perantara oleh satu pengguna lainnya tidak ditampilkan)
Baris 7:
|+ Peta lokasi ]=] .. map.name .. '\n' .. [=[
|-
! nameNama
|colspan="3"| ]=] .. map.name .. [=[
 
Baris 14:
if map.top then
retval = retval ..
[=[!rowspan="4"|batasKoordinat<br/>koordinatmaksimum
|-
|colspan="3"| ]=] .. map.top .. '\n' .. [=[
Baris 28:
|colspan="3"| ]=] .. map.bottom .. '\n' .. [=[
|-
! pusatPusat peta
|colspan="4"| ]=]
local width = (map.right - map.left) % 360
Baris 57:
|colspan="4"|[[File:]=] .. map.image .. [=[|400x400px]]
|-]=]
local i = 0
if map.image1 then
while map['image' .. (i+1)] or map['image' .. (i+2)] do
retval = retval .. '\n' .. [=[
i = i + 1
! image1
if map['image' .image1. i] then
|colspan="3"| <code>[[:File:]=] .. map.image1 .. '|' .. map.image1 .. [=[]]</code>
retval = retval .. '\n' .. [=[
retval! image]=] retval.. i .. '\n' .. [=[
|colspan="3"| <code>[[:File:]=] .. map['image' ..image1 i] .. '|' .. map['image' .image1. i] .. [=[]]</code>
|-
|colspan="4"|[[File:]=] .. map['image' .image1. i] .. [=[|400x400px]]
|-]=]
end
if map.image2 then
retval = retval .. '\n' .. [=[
! image2
|colspan="3"| <code>[[:File:]=] .. map.image2 .. '|' .. map.image2 .. [=[]]</code>
|-
|colspan="4"|[[File:]=] .. map.image2 .. [=[|400x400px]]
|-]=]
end
if map.image3 then
retval = retval .. '\n' .. [=[
! image3
|colspan="3"| <code>[[:File:]=] .. map.image3 .. '|' .. map.image3 .. [=[]]</code>
|-
|colspan="4"|[[File:]=] .. map.image3 .. [=[|400x400px]]
|-]=]
end
if map.image4 then
retval = retval .. '\n' .. [=[
! image4
|colspan="3"| <code>[[:File:]=] .. map.image4 .. '|' .. map.image4 .. [=[]]</code>
|-
|colspan="4"|[[File:]=] .. map.image4 .. [=[|400x400px]]
|-]=]
end
end
if map.skew then