Module:Policy: Difference between revisions

Content deleted Content added
m Testing with two colons
m Changed character
 
(5 intermediate revisions by the same user not shown)
Line 7:
local reasons = HF.explode(';', frame.args[1])
for i, reason in ipairs(reasons) do
local specifics = HF.explode('::#', reason)
output = output .. '* ' .. HF.trim(specifics[1]) .. '\n'
for i, specific in ipairs(specifics) do
outputif i ~= output .. ':# ' .. HF.trim(specific) ..1 '\n'then
output = output .. ':# ' .. HF.trim(specific) .. '\n'
end
end
end