Jump to content

Module:Lua banner: Difference between revisions

m 1 revision imported
Dat Hack3r (talk | contribs)
m Fixed link.
 
(One intermediate revision by one other user not shown)
Line 47: Line 47:
boxArgs.text = 'This module depends on the following other modules:' .. moduleList
boxArgs.text = 'This module depends on the following other modules:' .. moduleList
else
else
boxArgs.text = 'This template  uses [[Wikipedia:Lua|Lua]]:\n' .. moduleList
boxArgs.text = 'This template  uses [[MW:Extension:Scribunto/Lua reference manual|Lua]]:\n' .. moduleList
end
end
end
end
Line 85: Line 85:
['Module:Math'] = 'Templates based on the Math Lua module',
['Module:Math'] = 'Templates based on the Math Lua module',
['Module:BaseConvert'] = 'Templates based on the BaseConvert Lua module',
['Module:BaseConvert'] = 'Templates based on the BaseConvert Lua module',
['Module:Citation'] = 'Templates based on the Citation/CS1 Lua module'
['Module:Citation/CS1'] = 'Templates based on the Citation/CS1 Lua module'
}
}
categories['Module:Citation/CS1'] = categories['Module:Citation']
category = modules[1] and categories[modules[1]]
category = modules[1] and categories[modules[1]]
category = category or 'Lua-based templates'
category = category or 'Lua-based templates'