Module:IPA: Difference between revisions

m 1 revision imported
m remove key link
 
Line 204: Line 204:
-- Brackets
-- Brackets
s = (not isGeneric and langData.format or '[%s]'):format(s)
s = (not isGeneric and langData.format or '[%s]'):format(s)
-- Link to key
local key = not isGeneric and langData.key or data.defaultKey
s = string.format('[[%s|%s]]', key, s)
else
else
-- Basic mode
-- Basic mode