Jump to content

Module:Efn native lang

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Ythlev (talk | contribs) at 23:37, 18 November 2019 (Created page with 'local getArgs = require('Module:Arguments').getArgs local p = {} function p.main(frame) local args = getArgs(frame) return frame:expandTemplate{ title = "Un...'). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

local getArgs = require('Module:Arguments').getArgs
local p = {}

function p.main(frame)
	local args = getArgs(frame)
	return frame:expandTemplate{
		title = "Unbulleted list",
		args = {
			args.t and "[[Chinese characters|Chinese script]]: " .. args.t,
			args.p and "[[Taiwanese Mandarin|Mandarin]]: " .. 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

return p