Module:MOS modes: Difference between revisions
Initial creation and testing of mos modes module; for future use with a mos mode template |
Added todo to code |
||
| Line 48: | Line 48: | ||
-- Test function that produces the modes of a mos as a table | -- Test function that produces the modes of a mos as a table | ||
-- | -- TODO: | ||
-- | -- - Allow for mos to be extracted from the page's title for use as a template | ||
-- - Add UDP listing as a column | |||
-- - Allow for input of mode names | |||
function p.modes_table(frame) | function p.modes_table(frame) | ||
-- Mos is entered as "xL ys" since mos module can parse that format | |||
local mosstring = "3L 4s" | local mosstring = "3L 4s" | ||
local input_mos = mos.parse(mosstring) | local input_mos = mos.parse(mosstring) | ||