మాడ్యూల్:Labelled list hatnote: కూర్పుల మధ్య తేడాలు

Content deleted Content added
Pull extraclasses and selfref from the right frame(s)
Moved some stuff to defaults
పంక్తి 14:
-- Defaults global to this module
local defaults = {
label = 'See also', --Final fallback for label argument
labelForm = '%s: %s',
template = 'Module:Labelled list hatnote'
}
 
Line 65 ⟶ 67:
return mHatnote.makeWikitextError(
'no page names specified',
(options.template or 'Module:Labelled list hatnote'defaults.template) .. '#Errors',
options.category
)
end
label = (#pages == 1 and labels[1] or labels[2]) or defaults.label
local text = string.format('%s: %s', label, mHatlist.andList(pages, true))
options.labelForm or defaults.labelForm,
label,
mHatlist.andList(pages, true)
)
local hnOptions = {
extraclasses = options.extraclasses,
"https://te.wikipedia.org/wiki/మాడ్యూల్:Labelled_list_hatnote" నుండి వెలికితీశారు