Module:Flagg: Difference between revisions

Content deleted Content added
We should still be displaying the placeholder in cases where the country is blank, as Template:Country data is not a red link!
add l option
Line 185:
if mn == "*" and clink ~= flink then
text = text:sub(1, -3) .. "\226\128\175*]]" end
elseif mn=="l" then --display link target
text = flink=="" and name or "[["..flink..fsec.."|"..flink.."]]"
elseif mn=="b" then --both prefix/suffix and normal country link
local preflink = pref and (flink=="" and pref.." " or "[["..flink..fsec.."|"..pref.."]] ") or ""