Module:Redirect hatnote: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(Added tracking for defaulting behaviour when a "use" parameter is empty but there's at least one associated "page" parameter) |
(Undid revision 718443304 by Nihiltres (talk): causing script errors everywhere, such as First Nations and Open sandwich) |
||
Line 91: | Line 91: | ||
local use |
local use |
||
if not (useTable.use or isFirst) then |
if not (useTable.use or isFirst) then |
||
⚫ | |||
if (not isFirst) and useTable.pages and #usetable.pages ~= 0 then |
|||
return '[[Category:Hatnote templates using unusual parameters]]' |
|||
else |
|||
⚫ | |||
end |
|||
end |
end |
||
use = useTable.use or 'other uses' |
use = useTable.use or 'other uses' |