2,788
edits
No edit summary |
No edit summary |
||
Line 19: | Line 19: | ||
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 | local out = alt_name or name or "" | ||
if coined_at then out = out .. (#out > 0 and " " or "") .. "at " .. coined_at end | 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 |