Pembicaraan Modul:Adjacent stations
Permintaan penyuntingan halaman dilindungi pada 19 September 2024
Diskusi di bawah ini telah ditutup. Terima kasih atas partisipasi Anda. Mohon untuk tidak menyunting halaman ini lagi. Komentar selanjutnya dapat diberikan di halaman pembicaraan atau dengan membuat subbagian baru.
Permintaan suntingan ini telah dijawab. Atur parameter |answered= atau |ans= menjadi no untuk mengaktifkan kembali permintaan Anda. |
Mohon ubah modul dan kode ini agar dapat membuat lin lingkar di mana keterangan terminus kiri dan kanan tidak ditampilkan kecuali sengaja dituliskan di halaman masing-masing stasiun, mengikuti circular Wikipedia Bahasa Inggris.
| − | if Type then
if Type['color'] then
-- line color is used as background if there is no background color in the line type table
background_color = Type['background color'] or line['color']
color = Type['color']
elseif Type['background color'] then
background_color = Type['background color']
color = line['color'] or default['color'] or ''
else
background_color = line['background color']
color = line['color'] or default['color'] or ''
end
else
background_color = line['background color']
color = line['color'] or default['color'] or ''
end | + | if Type then
if Type['color'] then
-- line color is used as background if there is no background color in the line type table
background_color = Type['background color'] or line['color']
color = Type['color']
elseif Type['background color'] then
background_color = Type['background color']
color = line['color'] or default['color'] or ''
else
background_color = line['background color']
color = line['color'] or default['color'] or ''
end
if Type['circular'] then
circular = Type['circular']
end
else
background_color = line['background color']
color = line['color'] or default['color'] or ''
circular = line['circular']
end |
| − | local color, background_color
local Type = line['types'] and line['types'][typeN] -- get the line type table | + | local color, background_color
local Type = line['types'] and line['types'][typeN] -- get the line type table
if Type then
if Type['color'] then
-- line color is used as background if there is no background color in the line type table
background_color = Type['background color'] or line['color']
color = Type['color']
elseif Type['background color'] then
background_color = Type['background color']
color = line['color'] or default['color'] or ''
else
background_color = line['background color']
color = line['color'] or default['color'] or ''
end
else
background_color = line['background color']
color = line['color'] or default['color'] or ''
end |
Kode ini belum lengkap, mohon bantuannya untuk melengkapi dengan referensi kode bahasa Inggris.Mtlh01p (bicara) 19 September 2024 06.49 (UTC)
Selesai sudah disunting sejak Okt. 2024. RaFaDa20631 (bicara) 27 April 2025 04.51 (UTC)
Permintaan penyuntingan halaman dilindungi pada 10 Desember 2025
Permintaan suntingan ini telah dijawab. Atur parameter |answered= atau |ans= menjadi no untuk mengaktifkan kembali permintaan Anda. |
MRT Jakarta NS Line: Ubah "Lebak Bulus" menjadi "Lebak Bulus Bank Syariah Indonesia"Mtlh01p (bicara) 10 Desember 2025 18.49 (UTC)
Konten ini disalin dari wikipedia, mohon digunakan dengan bijak.


