Module:ScriptItem: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 371: Line 371:
local isOptional = tokens[3] == 'optional'
local isOptional = tokens[3] == 'optional'
local defaultValue = isOptional and p.formatSource(tokens[4], frame) or "n/a"
local defaultValue = isOptional and tokens[4] or "n/a"
local description = p.formatDescription(table.concat(tokens, ' ', isOptional and 5 or 3))
local description = p.formatDescription(table.concat(tokens, ' ', isOptional and 5 or 3))
6,834

edits