Module:Redirect hatnote: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Removed early termination behaviour when first use is "other uses", and the tracking for it
m (Tweaked last edit: didn't mean to catch pages where there's termination but no early termination)
(Removed early termination behaviour when first use is "other uses", and the tracking for it)
Line 131:
text[#text + 1] = formatUseTable(data[1] or {}, true, redirect)
if data[1] and data[1].use then
iffor data[1].usei ~= 'other2, uses'#data thendo
text[#text + 1] = formatUseTable(data[i] or {}, false, redirect)
for i = 2, #data do
text[#text + 1] = formatUseTable(data[i] or {}, false, redirect)
end
elseif #data > 1 then
text[#text] = text[#text] .. '[[Category:Hatnote templates using unusual parameters]]'
end
end
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu