Jump to content

Module:Sandbox/A smart kitten

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by A smart kitten (talk | contribs) at 18:25, 15 December 2023 (debug - just get a hatnote and see if that works). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
--------------------------------------------------------------------------------
--                              Module:Hatnote-inline                         --
--                                                                            --
-- This module produces hatnote-style links, and links to related articles,	  --
-- but inside a <span>, instead of the <div> used by Module:Hatnote.  It      --
-- implements the {{hatnote-inline}} meta-template.                           --
--------------------------------------------------------------------------------

local mHatnote = require('Module:Hatnote')
local mArguments = require('Module:Arguments')
local yesno = require('Module:Yesno')
local p = {}

function p.hatnoteInline (frame)
	local hatnote = mHatnote._hatnote(args[1], {selfref=false})
	return hatnote
end

p.hatnote = p.hatnoteInline --alias

return p