Jump to content

Module:IPAc-en and Module:IPAc-en/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
Content deleted Content added
rv per talk
 
apparently the rest of the module relies on the padding being added, so how about padding with the empty string?
 
Line 1: Line 1:
-- This module implements [[Template:IPAc-en]].
-- This module implements [[Template:IPAc-en]].


local data = mw.loadData('Module:IPAc-en/data')
local data = mw.loadData('Module:IPAc-en/data/sandbox')
local p = {}
local p = {}


Line 78: Line 78:
if pronItem then
if pronItem then
pron[#pron + 1] = pronItem
pron[#pron + 1] = pronItem
pron[#pron + 1] = ' '
if pronItem ~= '' then
pron[#pron + 1] = ' '
else
pron[#pron + 1] = ''
end
else
else
break
break