Fandom

Vocaloid Wiki

Module:User:Umbreon126/detone

7,912pages on
this wiki
Add New Page
Talk0

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

local export = {}
local replace = mw.ustring.gsub
 
--[=[
 
see [[User:Umbreon126/detone]] for usage
 
]=]--
 
function export.show(frame)
	text = mw.text.unstripNoWiki(frame.args[1])
	text = replace(text, '[ĀÁǍÀ]', 'A')
	text = replace(text, '[ĒÉĚÈ]', 'E')
	text = replace(text, '[ĪÍǏÌ]', 'I')
	text = replace(text, '[ŌÓǑÒ]', 'O')
	text = replace(text, '[ŪÚǓÙ]', 'U')
	text = replace(text, '[ǕǗǙǛ]', 'Ü')
	text = replace(text, '[āáǎà]', 'a')
	text = replace(text, '[ēéěè]', 'e')
	text = replace(text, '[īíǐì]', 'i')
	text = replace(text, '[ōóǒò]', 'o')
	text = replace(text, '[ūúǔù]', 'u')
	text = replace(text, '[ǖǘǚǜ]', 'ü')
	return frame:preprocess('<pre><nowiki>' .. text .. '</nowiki></pre>')
end
 
return export

Also on Fandom

Random Wiki