Module:ScriptItem2: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 430: Line 430:
..'('..(#argsText == 0 and 'void' or table.concat(argsText, ', '))..')'
..'('..(#argsText == 0 and 'void' or table.concat(argsText, ', '))..')'
})
})
elseif type == 'property' or type == 'variable' then
elseif args.type == 'property' or args.type == 'variable' then
return p.loadTemplate(frame, 'CodeSyntax', {
return p.loadTemplate(frame, 'CodeSyntax', {
returnType..' '..p.getDisplayedName(frame)
returnType..' '..p.getDisplayedName(frame)
6,833

edits