Template:AV device output row: Difference between revisions

Move label to its own line above signal/connector info for better scannability (via update-page on MediaWiki MCP Server)
Link signal formats and connectors to wiki pages (via update-page on MediaWiki MCP Server)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{label|}}}|<strong>{{{label}}}</strong><br/>}}{{#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><div style="margin-bottom:0.3em;">{{#if:{{{label|}}}|<strong>{{{label}}}</strong><br/>}}{{#if:{{{count|}}}|{{{count}}}× }}[[{{{signal|}}}]] ([[{{{connector|}}}]]){{#if:{{{notes|}}}|<div style="font-size:0.85em; color:#666; margin-left:1em; margin-top:0.1em;">{{{notes}}}</div>}}</div>
</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 7: Line 7:
* label - Output label (e.g., "REF BB", "Monitor Out") — displayed on its own line above signal info
* label - Output label (e.g., "REF BB", "Monitor Out") — displayed on its own line above signal info
* count - Number of this output type
* count - Number of this output type
* signal - Signal format
* signal - Signal format (linked to wiki page)
* connector - Connector type
* connector - Connector type (linked to wiki page)
* notes - Additional notes about this output
* notes - Additional notes about this output


MediaWiki Appliance - Powered by TurnKey Linux