Jump to content

Module:Dialect

Ɛfi Wikipedia

Documentation for this module may be created at Module:Dialect/doc

-- NOTICE NOTICE NOTICE! --
--
-- IF YOU CHANGE THIS TEMPLATE, PLEASE UPDATE IT
-- IN BOTH ak.wikipedia.org AND tw.wikipedia.org!

-- Used in [[Template:Dialect]] to tag pages according to the Akan dialect.

local p = {}

function p.dialect(frame)
	dialect = frame.args[1]

	if (dialect == "Akuapem") then
		return "Wɔakyerɛw nsɛm yi wɔ '''Akuapem''' kasa mu [[Category:Akuapem Twi kasa]]"
	end

	if (dialect == 'Asante') then
		return "Wɔatwerɛ nsɛm wei ɛwɔ '''Asante''' kasa mu [[Category:Asante Twi kasa]]"
	end

	if (dialect == 'Fante') then
		return "W'akyerew nsɛm yi wɔ '''Fante''' kasa mu [[Category:Fante kasa]]"
	end

	return "Kyerɛ Twi kasa a atwerɛsɛm yi ɛwɔ mu. Kasa ahorow a wobɛtumi akyerɛ ɛne: Akuapem, Asante, Fante. [[Category:Nkrataa ahodoɔ a etwa sɛ yɛhyehyɛ wɔ kasa ahodoɔ mu]]"
end

return p