Module:Transliterator: Difference between revisions

From Linguifex
Jump to navigation Jump to search
(Testing.)
(Unfinished.)
Line 1: Line 1:
local p = {}
local p = {}
function p.main( frame )
function p.main( frame )
local word = tonumber( frame.args[1] )
local word = frame.args[1]  
local a
local aa
local b
local sh
local h
local i
local ii
local j
local k
local l
local m
local n
local o
local oo
local p
local q
local r
local t
local u
local x
local images = {
local images = {
["a"] = "[[File:Aurebesh-AE.svg|18px]]",
["a"] = "[[File:Aurebesh-AE.svg|18px]]",
["ā"] = "[[File:Aurebesh-A.svg|22px]]",
["ā"] = "[[File:Aurebesh-A.svg|22px]]",
["b"] = "[[File:Aurebesh-B.svg|21px]]",
["b"] = "[[File:Aurebesh-B.svg|21px]]",
["sh"] = "[[File:Aurebesh-SH.svg|24px]]",
["h"] = "[[File:Aurebesh-H.svg|21px]]",
["h"] = "[[File:Aurebesh-H.svg|21px]]",
["i"] = "[[File:Aurebesh-E.svg|20px]]",
["i"] = "[[File:Aurebesh-E.svg|20px]]",
Line 19: Line 40:
["q"] = "[[File:Aurebesh-Q.svg|17px]]",
["q"] = "[[File:Aurebesh-Q.svg|17px]]",
["r"] = "[[File:Aurebesh-R.svg|16px]]",
["r"] = "[[File:Aurebesh-R.svg|16px]]",
["sh"] = "[[File:Aurebesh-SH.svg|24px]]",
["t"] = "[[File:Aurebesh-T.svg|21px]]",
["t"] = "[[File:Aurebesh-T.svg|21px]]",
["u"] = "[[File:Aurebesh-U.svg|19px]]",
["u"] = "[[File:Aurebesh-U.svg|19px]]",

Revision as of 15:51, 13 February 2019



local p = {}
function p.main( frame )
	local word = frame.args[1] 
	local a 
	local aa
	local b
	local sh
	local h
	local i
	local ii
	local j
	local k
	local l
	local m
	local n
	local o
	local oo
	local p
	local q
	local r
	local t
	local u
	local x
	local images = {
		["a"] = "[[File:Aurebesh-AE.svg|18px]]",
		["ā"] = "[[File:Aurebesh-A.svg|22px]]",
		["b"] = "[[File:Aurebesh-B.svg|21px]]",
		["sh"] = "[[File:Aurebesh-SH.svg|24px]]",
		["h"] = "[[File:Aurebesh-H.svg|21px]]",
		["i"] = "[[File:Aurebesh-E.svg|20px]]",
		["ī"] = "[[File:Aurebesh-I.svg|8px]]",
		["j"] = "[[File:Aurebesh-J.svg|19px]]",
		["k"] = "[[File:Aurebesh-K.svg|20px]]",
		["l"] = "[[File:Aurebesh-L.svg|13px]]",
		["m"] = "[[File:Aurebesh-M.svg|12px]]",
		["n"] = "[[File:Aurebesh-N.svg|21px]]",
		["o"] = "[[File:Aurebesh-O.svg|19px]]",
		["ō"] = "[[File:Aurebesh-EO.svg|21px]]",
		["p"] = "[[File:Aurebesh-P.svg|13px]]",
		["q"] = "[[File:Aurebesh-Q.svg|17px]]",
		["r"] = "[[File:Aurebesh-R.svg|16px]]",
		["t"] = "[[File:Aurebesh-T.svg|21px]]",
		["u"] = "[[File:Aurebesh-U.svg|19px]]",
		["x"] = "[[File:Aurebesh-X.svg|17px]]",
		
	}
	return word
	end
return p