Template:AV device input row: Difference between revisions
Added line break after each input row for proper separation (via update-page on MediaWiki MCP Server) |
Add notes display (collapsible small text) (via update-page on MediaWiki MCP Server) |
||
| Line 1: | Line 1: | ||
<includeonly>{{#if:{{{count|}}}|{{{count}}}× }}{{{signal|}}} ({{{connector|}}}{{#if:{{{audio|}}}|{{#ifeq:{{{audio}}}|None||, {{{audio}}} audio{{#if:{{{audio_connector|}}}| via {{{audio_connector}}}}}}}}}{{#if:{{{audio_shared|}}}|, audio shared w/ {{{audio_shared}}}}})<br/> | <includeonly>{{#if:{{{count|}}}|{{{count}}}× }}{{{signal|}}} ({{{connector|}}}{{#if:{{{audio|}}}|{{#ifeq:{{{audio}}}|None||, {{{audio}}} audio{{#if:{{{audio_connector|}}}| via {{{audio_connector}}}}}}}}}{{#if:{{{audio_shared|}}}|, audio shared w/ {{{audio_shared}}}}}){{#if:{{{notes|}}}|<div style="font-size:0.85em; color:#666; margin-left:1em; margin-top:0.1em;">{{{notes}}}</div>}}<br/> | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
Helper template used by [[Module:AVDevice]] to format input rows in the infobox. | Helper template used by [[Module:AVDevice]] to format input rows in the infobox. | ||
| Line 11: | Line 11: | ||
* audio_connector - Audio connector type | * audio_connector - Audio connector type | ||
* audio_shared - Label of input this shares audio with | * audio_shared - Label of input this shares audio with | ||
* notes - Additional notes about this input | |||
== Example outputs == | == Example outputs == | ||
Revision as of 03:43, 7 February 2026
Helper template used by Module:AVDevice to format input rows in the infobox.
Parameters
These are passed automatically by the semantic query:
- count - Number of this input type
- signal - Video signal format
- connector - Connector type
- audio - Audio type (None, Mono, Stereo)
- audio_connector - Audio connector type
- audio_shared - Label of input this shares audio with
- notes - Additional notes about this input
Example outputs
1× Composite (RCA, Stereo audio via RCA)S-Video (Mini-DIN-4, audio shared w/ Front)RF (Belling-Lee)