-- This module produces a "For more details on this topic" link. It implements
-- the {{details}} template.
local mHatnote = require('Module:Hatnote')
local mArguments -- lazily initialise
local p = {}
function p.details(frame)
	mArguments = require('Module:Arguments')
	local args = mArguments.getArgs(frame, {parentOnly = true})
	local page = args[1]
	local topic = args[2]
	if not page then
		return mHatnote.makeWikitextError(
			'no page name specified',
	local options = {
		selfref = args.selfref,
	return p._details(page, topic, options)
function p._details(page, topic, options)
	page = mHatnote._formatLink(page)
	topic = topic or 'this topic'
	local text = string.format('For more details on %s, see %s.', topic, page)
	options = options or {}
	options.extraclasses = 'boilerplate seealso'
	return mHatnote._hatnote(text, options)
return p

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.