6,834
edits
No edit summary |
No edit summary |
||
Line 569: | Line 569: | ||
local headers = nil--{ "Type", "Description" } | local headers = nil--{ "Type", "Description" } | ||
local rows = { { tokens[1], description } } | local rows = { { p.formatType(tokens[1], frame), description } } | ||
local widths = { 120, 400 } | local widths = { 120, 400 } | ||
return p.table(headers, rows, widths, 'wikitable-returns wikitable') | return p.table(headers, rows, widths, 'wikitable-returns wikitable') | ||
Line 916: | Line 916: | ||
function p.formatType(type, frame) | function p.formatType(type, frame) | ||
return | return "<span style='font-family: \"Source Code Pro\", monospace;'>"..type.."</span>" | ||
end | end | ||
edits