Module:Infobox interval: Difference between revisions

Plumtree (talk | contribs)
mNo edit summary
Plumtree (talk | contribs)
mNo edit summary
Line 282: Line 282:
if hz >= 20 and hz <= 20000 then
if hz >= 20 and hz <= 20000 then
table.insert(infobox_data, {
table.insert(infobox_data, {
'<div style="display: flex;">' ..
'<div style="display: flex;">'
frame:expandTemplate{
..
title = 'User:Plumtree/Interval Sound',
frame:expandTemplate{
args = { Frequency=tostring(hz), Timbre='violin', Right='yes', Width='135', Label='Audio (overtones)' }
title = 'User:Plumtree/Interval Sound',
} ..
args = { Frequency=tostring(hz), Timbre='violin', Right='yes', Width='135', Label='Harmonics' }
frame:expandTemplate{
}
title = 'User:Plumtree/Interval Sound',
..
args = { Frequency=tostring(hz), Timbre='semisine', Left='yes', Width='135', Label='Audio (clear)' }
frame:expandTemplate{
} ..
title = 'User:Plumtree/Interval Sound',
args = { Frequency=tostring(hz), Timbre='semisine', Left='yes', Width='135', Label='Clear audio' }
}
..
'</div>'
'</div>'
})
})