"साचा:TemplateBox" च्या विविध आवृत्यांमधील फरक
Content deleted Content added
छो this should do the trick |
छो Preserve whitespace in front of new lines |
||
ओळ २६:
function p.usagesample( frame )
local pargs = ( frame:getParent() or {} ).args or {}
local
local sepEnd = multiline and '\n' or ''
local sep = sepEnd
local args, argName, result = {}
sep = sep .. '
for i, arg in pairs( pargs ) do
Line ४६ ⟶ ४७:
sepEnd = ''
end
if multiline then
-- Preserve whitespace in front of new lines
result = frame:callParserFunction{ name = '#tag', args = { 'poem', result } }
end
return result
end
|