Module:Toolbar: Difference between revisions
Content deleted Content added
m ? |
does it work? |
||
Line 36: | Line 36: | ||
function p.makeToolbarItems(args) |
function p.makeToolbarItems(args) |
||
local nums = mTableTools.numKeys(args) |
local nums = mTableTools.numKeys(args) |
||
local sep = ' |
local sep = '{{int:' .. (args.separator or 'pipe') .. '-separator}}' |
||
if sep == '{{int:dot-separator}}' then |
|||
sep = ' · ' |
|||
end |
|||
local ret = {} |
local ret = {} |
||
for i, v in ipairs(nums) do |
for i, v in ipairs(nums) do |