2,788
edits
No edit summary |
No edit summary |
||
Line 20: | Line 20: | ||
local function format_coinage(name, alt_name, coined_in, coiner_nat, coiner_occ, coined_at) | local function format_coinage(name, alt_name, coined_in, coiner_nat, coiner_occ, coined_at) | ||
local out = name or alt_name or "" | local out = name or alt_name or "" | ||
if coined_at then out = out .. (#out > 0 and " " or "") .. "at " .. coined_at end | |||
if coined_in then out = out .. (#out > 0 and " " or "") .. "in " .. coined_in end | if coined_in then out = out .. (#out > 0 and " " or "") .. "in " .. coined_in end | ||
if coiner_occ then out = coiner_occ .. (#out > 0 and (" " .. out) or "") end | if coiner_occ then out = coiner_occ .. (#out > 0 and (" " .. out) or "") end | ||
if coiner_nat then out = coiner_nat .. (#out > 0 and (" " .. out) or "") end | if coiner_nat then out = coiner_nat .. (#out > 0 and (" " .. out) or "") end | ||
return out | return out | ||
end | end |