Module:Infobox interval: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 61: | Line 61: | ||
end | end | ||
-- TODO: Sound, xen-calc ( | -- TODO: xen-calc (colspan 2) | ||
local sound = frame.args['Sound'] | |||
if sound and #sound > 0 then | |||
table.insert(infobox_data, { | |||
'[[File:' .. sound .. '|270px]]<br/><small>[[:File:' .. sound .. '[sound info]]]</small>' | |||
}) | |||
end | |||
table.insert(infobox_data, { | |||
'<small>[https://www.yacavone.net/xen-calc/?q=' .. rat.as_ratio(ratio) .. ' open this interval in \'\'xen-calc\'\']</small>' | |||
}) | |||
local s = infobox.build( | local s = infobox.build( | ||