Module:Sandbox/Nano

local args = require ('Module:Arguments').getArgs local loader = require('Module:Loader') local string, table, yesno, uitext, cache = loader.require('String', 'Table', 'Yesno', 'UIText', 'Cache') function translatelink(linktype, link) linktype = args['1'] link = args['2'] if linktype == 'template' then tp = 'https://hypixel-skyblock.fandom.com/Template:' .. link elseif linktype == 'module' then tp = 'https://hypixel-skyblock.fandom.com/Module:' .. link elseif linktype == 'media' or 'mediawiki' then tp = 'https://hypixel-skyblock.fandom.com/Mediawiki:' .. link else tp = 'https://hypixel-skyblock.fandom.com/' .. link end end

return translatelink(linktype, link)