Module:Redirect hatnote: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content deleted Content added
Updated with sandbox/testcases-tested behaviour that changes defaulting and adds tracking for a different wierd behaviour
Deleted unused, undocumented, strange behaviour
Line 94:
elseif not useTable.use then
return nil
elseif tonumber(useTable.use) == 1 then
--This is really strange behaviour, so it gets a category hack to see if it's actually being used.
use = 'other uses[[Category:Hatnote templates using unusual parameters]]'
else
use = useTable.use