Module:Efn native lang
Appearance
Implements {{Efn native lang}}
local getArgs = require('Module:Arguments').getArgs
local p = {}
function p.main(frame)
local args = getArgs(frame)
if args[1] == "tw" then
return frame:expandTemplate{
title = "efn",
args = {
frame:expandTemplate{
title = "Unbulleted list",
args = {
args.t and "[[Chinese characters|Chinese script]]: " .. args.t,
args.p and "[[Taiwanese Mandarin|Mandarin]] [[Pinyin]]: " .. args.p,
args.m and "[[Taiwanese Hokkien|Minnan]]: " .. args.m,
args.s and "[[Sixian dialect|Sixian]] [[Taiwanese Hakka|Hakka]]: " .. args.s,
args.h and "[[Hailu dialect|Hailu]] [[Taiwanese Hakka|Hakka]]: " .. args.h,
args.d and "Dapu [[Taiwanese Hakka|Hakka]]: " .. args.d,
args.r and "[[Raoping dialect|Raoping]] [[Taiwanese Hakka|Hakka]]: " .. args.r,
args.z and "Zao'an [[Taiwanese Hakka|Hakka]]: " .. args.z,
args.a and "[[Amis language|Amis]]: " .. args.a
}
}
}
}
end
end
return p