Module:Uses TemplateStyles: Difference between revisions

From The FunKey Wiki
(i18n using Module:TNT and a /config subpage, so that folks copying it to other wikis have better chances to get it translated)
 
wc>Tacsipacsi
Line 5:
local mMessageBox = require('Module:Message box')
local TNT = require('Module:TNT')
local lang = mw.getCurrentFrame():preprocess('{{int:lang}}')
 
local p = {}
 
local function format(msg, ...)
return TNT.formatformatInLanguage(lang, 'I18n/Uses TemplateStyles', msg, ...)
end
 
Line 28 ⟶ 29:
end
 
function p._main(args, cfg)
local tStyles = mTableTools.compressSparseArray(args)
local box = p.renderBox(tStyles)
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.