Module:Sandbox/TheGoldenPatrik1

--

local checkType = require('libraryUtil').checkType local i18n = require('Dev:I18n').loadMessages('Sandbox/TheGoldenPatrik1') return function (message, ...) checkType('Dev:User error', 1, message, 'string') local element = mw.html.create('strong') :addClass('error') :wikitext(i18n:msg('error') .. ' ' .. message .. '.') for i = 1, select('#', ...) do       local category = select(i, ...) checkType('Dev:User error', i + 1, category, 'string') if category ~= '' then element:wikitext('') end end return tostring(element) end