Anonymous user
Module:Hatnote inline: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
changing function name
(Saving modified code of Module:Hatnote. Haven't read f-all about Lua yet, flying on intuition. Not sure how to reuse �p.findNamespaceId, etc., from orig. module yet.) |
(changing function name) |
||
Line 103:
--------------------------------------------------------------------------------
-- HatnoteInline
--
-- Produces standard hatnote-inline text. Implements the {{hatnote-inline}} template.
--------------------------------------------------------------------------------
function p.
local args = getArgs(frame)
local s = args[1]
Line 121:
options.extraclasses = args.extraclasses
options.selfref = args.selfref
return p.
end
function p.
checkType('
checkType('
local classes = {'hatnote-inline'}
local extraclasses = options.extraclasses
|