Jump to content

Module:Dialect

Ɛfi Wikipedia
Revision as of 11:30, 23 Ɔbɛnem 2019 by Amire80 (kasa | mmoa) (spelling)

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 "You must specify a valid dialect. The possible valid parameters are: Akuapem, Asante, Fante. [[Category:Nkrataa ahodoɔ a etwa sɛ yɛhyehyɛ wɔ kasa ahodoɔ mu]]"
end

return p