Module:Crafting: Difference between revisions

From Vintage Story Wiki
m
no edit summary
mNo edit summary
mNo edit summary
Line 10: Line 10:
if name:match(i18n.any .. '%s(.*)') then
if name:match(i18n.any .. '%s(.*)') then
split = name:match(i18n.any .. '%s(.*)')
split = name:match(i18n.any .. '%s(.*)')
out = i18n.any .. ' [[' .. langVars.link(split) .. ']]'
out = i18n.any .. ' [[' .. split .. '|' .. langVars.link(split) .. ']]'
end
end
if out == '' then
if out == '' then
out = '[[' .. langVars.link(name) .. ']]'
out = '[[' .. name .. '|' .. langVars.link(name) .. ']]'
end
end
Confirmedusers, Interface administrators
1,131

edits