Add notes display (collapsible small text) (via update-page on MediaWiki MCP Server)
Add label display (bold, before signal info) (via update-page on MediaWiki MCP Server)
Line 1: Line 1:
<includeonly>{{#if:{{{count|}}}|{{{count}}}× }}{{{signal|}}} ({{{connector|}}}){{#if:{{{notes|}}}|<div style="font-size:0.85em; color:#666; margin-left:1em; margin-top:0.1em;">{{{notes}}}</div>}}<br/>
<includeonly>{{#if:{{{label|}}}|'''{{{label}}}''': }}{{#if:{{{count|}}}|{{{count}}}× }}{{{signal|}}} ({{{connector|}}}){{#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 output rows in the infobox.
Helper template used by [[Module:AVDevice]] to format output rows in the infobox.
Line 5: Line 5:
== Parameters ==
== Parameters ==
These are passed automatically by the semantic query:
These are passed automatically by the semantic query:
* label - Output label (e.g., "REF BB", "Monitor Out")
* count - Number of this output type
* count - Number of this output type
* signal - Signal format
* signal - Signal format
* connector - Connector type
* connector - Connector type
* notes - Additional notes about this output
* notes - Additional notes about this output
== Example outputs ==
* <code>'''REF BB''': Composite (CVBS) (BNC)</code>
* <code>2× Composite (RCA)</code>
* <code>S-Video (Mini-DIN-4)</code>


[[Category:AV device templates]]
[[Category:AV device templates]]
</noinclude>
</noinclude>

Revision as of 03:51, 7 February 2026

Helper template used by Module:AVDevice to format output rows in the infobox.

Parameters

These are passed automatically by the semantic query:

  • label - Output label (e.g., "REF BB", "Monitor Out")
  • count - Number of this output type
  • signal - Signal format
  • connector - Connector type
  • notes - Additional notes about this output

Example outputs

  • REF BB: Composite (CVBS) (BNC)
  • 2× Composite (RCA)
  • S-Video (Mini-DIN-4)
MediaWiki Appliance - Powered by TurnKey Linux