Modul:Lua banner: Razlika med redakcijama

Izbrisana vsebina Dodana vsebina
Nova stran z vsebino: -- This module implements the {{lua}} template. local yesno = require('Modul:Yesno') local mList = require('Modul:List') local mTableTools = require('Modul:TableTools') loc...
 
mBrez povzetka urejanja
Vrstica 30:
local boxArgs = {}
if #modules < 1 then
boxArgs.text = '<strong class="error">ErrorNapaka: noneopredeljen modules specifiedmodul</strong>'
else
local moduleLinks = {}
Vrstica 54:
-- Error category
if #modules < 1 then
cats[#cats + 1] = 'Lua templatespredloge withz errorsnapakami'
end
Vrstica 71:
if not category then
local categories = {
['Modul:StringNiz'] = 'Predloge, ki temeljijo na Lua String-basedNiz templatesmodulu',
['Modul:Math'] = 'TemplatesPredloge, basedki ontemeljijo the Mathna Lua moduleMath modulu',
['Modul:BaseConvert'] = 'TemplatesPredloge, basedki ontemeljijo the BaseConvertna Lua moduleBaseConvert modulu',
['Modue:Citation'] = 'Predloge, ki temeljijo na Lua-based citationCitation templatesmodulu'
}
categories['Modul:Citation/CS1'] = categories['Modul:Citation']
category = modules[1] and categories[modules[1]]
category = category or 'Lua-basedPredloge, templateski temeljijo na Lua'
end
cats[#cats + 1] = category