Module:Redirect hatnote: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
check for non-existing data tables
(allow passing a custom title object to the p._redirect function)
(check for non-existing data tables)
Line 108:
checkType('_redirect', 2, data, 'table', true)
checkType('_redirect', 3, options, 'table', true)
optionsdata = optionsdata or {}
options = options or {}
 
-- Generate the text.
Line 121 ⟶ 123:
-- Generate the options to pass to [[Module:Hatnote]].
options = options or {}
local mhOptions = {}
mhOptions.selfref = options.selfref
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu