if linked then
symbol = string.format ('[[Wikipedia:%s|%s]]', properties[code].page, properties[code].symbol); -- make wikilink of page and symbol
else
symbol = properties[code].symbol;
else
if not is_set (plural) then
return string.format ('[[Wikipedia:%s]]', page);
elseif 's' == plural then -- if the simple plural form
return string.format ('[[Wikipedia:%s]]s', page);
else
return string.format ('[[Wikipedia:%s|%s]]', page, plural); -- must be the complex plural form (pounds sterling v. dollars)
end
end