Module:ScriptItem2: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 398: Line 398:
tokens[4] = tokens[4]:sub(1, tokens[4]:len() - 1)
tokens[4] = tokens[4]:sub(1, tokens[4]:len() - 1)
end
end
local defaultValue = isOptional and "<span style='font-family: \"Source Code Pro\", monospace;'>"..tokens[4].."</span>" or "n/a"
local defaultValue = isOptional and tokens[4] or "n/a"
if isOptional then
if isOptional then