Module:User:DTLHS/passage encode

Hello, you have come here looking for the meaning of the word Module:User:DTLHS/passage encode. In DICTIOUS you will not only get to know all the dictionary meanings for the word Module:User:DTLHS/passage encode, but we will also tell you about its etymology, its characteristics and you will know how to say Module:User:DTLHS/passage encode in singular and plural. Everything you need to know about the word Module:User:DTLHS/passage encode you have here. The definition of the word Module:User:DTLHS/passage encode will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofModule:User:DTLHS/passage encode, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.


local export = {}

function export.show(frame)
	local format = frame.args
	local passage = frame.args
	
	local st = "'''"
	local en = "'''"

	if (format == "url") then
		st = "{{quoted term|"
		en = "}}"
	end
	
	local result = mw.ustring.gsub( passage, "@{@", st)
	result = mw.ustring.gsub(result, "@}@", en)
	return result
	
end

return export