మాడ్యూల్:Further: కూర్పుల మధ్య తేడాలు
Content deleted Content added
చి en:Module:Further నుండి 8 కూర్పులు |
rm . |
||
పంక్తి 1:
--[[
-- This module produces a "Further information
-- the {{further}} template.
--]]
పంక్తి 6:
local mHatnote = require('Module:Hatnote')
local mHatlist = require('Module:Hatnote list')
local mTableTools -- lazily initialise▼
local mArguments -- lazily initialise
▲local mTableTools -- lazily initialise
local p = {}
function p.further (frame)
mTableTools = require('Module:TableTools')▼
mArguments = require('Module:Arguments')
local args = mArguments.getArgs(frame, {parentOnly = true})
local
if #pages < 1 then▼
pages = mLabels.preprocessDisplays(args)
return mHatnote.makeWikitextError(
'no page names specified',
'Template:Further#Errors',
)
end
return p._further(pages, topic, options)▼
▲ selfref = args.selfref
▲ return p._further(pages, options)
end
function p._further (pages, topic, options)
topic = topic and (' on '..topic) or ''
local text = string.format('Further information%s: %s',
return mHatnote._hatnote(text, options)
end
|