Module:AVDevice: Difference between revisions
Add notes property to input/output queries for infobox display (via update-page on MediaWiki MCP Server) |
Add label property to input/output queries for infobox display (via update-page on MediaWiki MCP Server) |
||
| Line 108: | Line 108: | ||
local connectorProp = ioType == 'input' and 'Has connector type' or 'Has output connector' | local connectorProp = ioType == 'input' and 'Has connector type' or 'Has output connector' | ||
local notesProp = ioType == 'input' and 'Has input notes' or 'Has output notes' | local notesProp = ioType == 'input' and 'Has input notes' or 'Has output notes' | ||
local labelProp = ioType == 'input' and 'Has input label' or 'Has output label' | |||
local templateName = ioType == 'input' and 'AV device input row' or 'AV device output row' | local templateName = ioType == 'input' and 'AV device input row' or 'AV device output row' | ||
| Line 126: | Line 127: | ||
' |?' .. signalProp .. '=signal\n' .. | ' |?' .. signalProp .. '=signal\n' .. | ||
' |?' .. connectorProp .. '=connector\n' .. | ' |?' .. connectorProp .. '=connector\n' .. | ||
' |?' .. labelProp .. '=label\n' .. | |||
' |?' .. notesProp .. '=notes\n' .. | ' |?' .. notesProp .. '=notes\n' .. | ||
audioProps .. | audioProps .. | ||