ഘടകം:Details

വിക്കിപീഡിയ, ഒരു സ്വതന്ത്ര വിജ്ഞാനകോശം.

ഈ ഘടകത്തിന്റെ വിവരണം ഘടകം:Details/വിവരണം എന്ന താളിൽ നിർമ്മിക്കാവുന്നതാണ്

--[[
-- 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',
			'ഫലകം:Details#Errors',
			args.category
		)
	end
	local options = {
		selfref = args.selfref,
	}
	return p._details(page, topic, options)
end

function p._details(page, topic, options)
	page = mHatnote._formatLink(page)
	topic = topic or 'this topic'
	local text = string.format('%s എന്ന വിഷയത്തെ സംബന്ധിച്ച കൂടുതൽ വിവരങ്ങൾക്ക്, ദയവായി %s കാണുക.', topic, page)
	options = options or {}
	return mHatnote._hatnote(text, options)
end

return p
"https://ml.wikipedia.org/w/index.php?title=ഘടകം:Details&oldid=2560558" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്