Difference between revisions of "Module:Icon"

Jump to navigation Jump to search
333 bytes removed ,  20:01, 23 October 2021
no edit summary
Line 1: Line 1:
--<nowiki>
--<nowiki>
local p = {}
local p = {}
 
require('Module:Common')
require('Module:Icon/data')
require('Module:Icon/data')
local function trim(object)
if string.sub(object, 1, 1) == ' ' then
object = string.sub(object, 2)
end
if string.sub(object, string.len(object)) == ' ' then
object = string.sub(object, 1, string.len(object) - 1)
end
return object
end
function exists(object)
if object == nil or object == '' then
return false
else
return true
end
end


local function _requirements(resource, value, link, text)
local function _requirements(resource, value, link, text)

Navigation menu