Module:UIText

--Get Required Modules local getArgs = require('Module:Arguments').getArgs local string = require('Module:String') local table = require('Module:Table') local lu = require('Module:LibraryUtil') local yesno = require('Module:Yesno') local statAliases = require('Module:Statname/aliases') --Begin Exports local p = {}

local characters = { ['health'] = '❤', ['defense'] = '❈', ['strength'] = '❁', ['speed'] = '✦', ['crit chance'] = '☣', ['crit damage'] = '☠', ['intelligence'] = '✎', ['sea creature chance'] = '∞', ['magic find'] = '✯', ['pet luck'] = '♣', ['true defense'] = '❂', ['attack speed'] = '⚔', ['ferocity'] = '⫽', ['ability damage'] = '✹', ['mining speed'] = '⛏', ['mining fortune'] = '☘', ['farming fortune'] = '☘', ['foraging fortune'] = '☘', }

- -- Temlate: UIText -- -- Makes making UI's alot easier - function p.main(frame) local args = getArgs(frame) local val = args[1] or args["t"] or args["text"]

return string.pcall(p._main, val) end - -- Template: UIText Module access point - function p._main(val) checkType('_main', 1, val, 'string') return (string.unicodeConvert(val)		:gsub('/', '\\/')		:gsub('\n', '/')) end --Finish Module/Exports return p