Modul:List: Perbedaan antara revisi

17 bita ditambahkan ,  2 tahun yang lalu
tidak ada ringkasan suntingan
dw>Izno
(add templatestyles for hlist)
 
dw>Nyilvoskt
Tidak ada ringkasan suntingan
Baris 162: Baris 162:
local ret = ''
local ret = ''
if isDeprecated then
if isDeprecated then
ret = ret .. '[[Category:List templates with deprecated parameters]]'
ret = ret .. '[[Kategori:Daftar templat dengan parameter yang tidak digunakan]]'
end
end
return ret
return ret
Baris 170: Baris 170:
if not listType or not listTypes[listType] then
if not listType or not listTypes[listType] then
error(string.format(
error(string.format(
"bad argument #1 to 'makeList' ('%s' is not a valid list type)",
"Argumen buruk #1 di 'makeList' ('%s' bukanlah tipe list yang valid)",
tostring(listType)
tostring(listType)
), 2)
), 2)
Pengguna anonim