Module:ScriptItem: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 906: Line 906:
if args.type == 'variable' or args.type == 'function' then
if args.type == 'variable' or args.type == 'function' then
for i=1,(#parts)-1,1 do
for i=1,(#parts)-1,1 do
rows[i] = { "<span style=\"font-family: 'Source Code Pro', monospace;\">"..parts[i].."</span>", "Namespace"..(i == 1 and " (Global)" or " (Nested)") }
rows[i] = { "<span style=\"font-family: 'Source Code Pro', monospace; color: "..p.getNameRgb()..";\">"..parts[i].."</span>", "Namespace"..(i == 1 and " (Global)" or " (Nested)") }
end
end
rows[#parts] = { "<span style=\"font-family: 'Source Code Pro', monospace;\">"..parts[#parts].."</span>", p.properCase(args.type) }
rows[#parts] = { "<span style=\"font-family: 'Source Code Pro', monospace; color: "..p.getNameRgb()..";\">"..parts[#parts].."</span>", p.properCase(args.type) }
elseif args.type == 'property' or args.type == 'method' then
elseif args.type == 'property' or args.type == 'method' then
local text1
local text1
6,834

edits

Navigation menu