Modul:Partai politik: Perbedaan antara revisi

Tidak ada perubahan ukuran ,  2 tahun yang lalu
tidak ada ringkasan suntingan
Tidak ada ringkasan suntingan
Tidak ada ringkasan suntingan
Baris 49: Baris 49:
-- end
-- end
if out_type == 'colour' then
if out_type == 'colour' then
out_type = 'warna'
out_type = 'color'
end
end
local index = getFirstLetter(party)
local index = getFirstLetter(party)
Baris 77: Baris 77:
if not party_info then
if not party_info then
-- if out_type == 'color' then
-- if out_type == 'color' then
if out_type == 'warna' then
if out_type == 'color' then
return args.error or default_color
return args.error or default_color
else
else
Baris 86: Baris 86:
if return_value == "" then
if return_value == "" then
-- if out_type == 'color' then
-- if out_type == 'color' then
if out_type == 'warna' then
if out_type == 'color' then
return args.error or create_error("Value not in template. Please request that it be added.")
return args.error or create_error("Value not in template. Please request that it be added.")
elseif out_type == 'abbrev' then
elseif out_type == 'abbrev' then