Create inline display template for control ports (via create-page on MediaWiki MCP Server)
 
Fix syntax errors in inline template (via update-page on MediaWiki MCP Server)
Line 1: Line 1:
<includeonly><li>{{#if:{{{label|}}}|'''{{{label}}}:''' }}[[{{{signal}}}]]{{#if:{{{connector|}}}|([[{{{connector}}}]])|}}}{{#if:{{{direction|}}}| <small>({{{direction}}})</small>}}{{#ifeq:{{{count|}}}|1||{{#if:{{{count|}}}|×{{{count}|}}}|}}}{{#if:{{{location|}}}| – {{{location|}}}|}}</li></includeonly><noinclude>
<includeonly><li>{{#if:{{{label|}}}|'''{{{label}}}:''' }}[[{{{signal}}}]]{{#if:{{{connector|}}}|([[{{{connector}}}]])}}{{#if:{{{direction|}}}| <small>({{{direction}}})</small>}}{{#ifeq:{{{count|}}}|1||{{#if:{{{count|}}}|×{{{count}}}}}}}{{#if:{{{location|}}}| – {{{location}}}}}</li></includeonly><noinclude>
This template formats control port entries for inline display in the CRT model infobox.
This template formats control port entries for inline display in the CRT model infobox.



Revision as of 06:14, 2 February 2026

This template formats control port entries for inline display in the CRT model infobox.

Parameters

  • signal - Control signal format (e.g., Control S, LANC)
  • connector - Connector type (e.g., 3.5mm TRS)
  • direction - Input, Output, or Bidirectional
  • count - Number of ports (only shown if > 1)
  • label - Port label as marked on device
  • location - Location on the unit (rear, front, side)
MediaWiki Appliance - Powered by TurnKey Linux