Template:CRT output inline: Difference between revisions
Fix expression error by making count comparison more defensive (via update-page on MediaWiki MCP Server) |
Add wiki links for signal and connector since query now uses link=none (via update-page on MediaWiki MCP Server) |
||
| Line 1: | Line 1: | ||
<includeonly><span>{{#if:{{{label|}}}|'''{{{label}}}:''' }}{{{signal}}}{{#if:{{{connector|}}}| ({{{connector}}})}}{{#ifeq:{{{count|}}}|1||{{#ifeq:{{{count|}}}|||{{#if:{{{count|}}}| ×{{{count}}}}}}}}}{{#if:{{{location|}}}| – {{{location}}}}}</span></includeonly><noinclude> | <includeonly><span>{{#if:{{{label|}}}|'''{{{label}}}:''' }}[[{{{signal}}}]]{{#if:{{{connector|}}}| ([[{{{connector}}}]])}}{{#ifeq:{{{count|}}}|1||{{#ifeq:{{{count|}}}|||{{#if:{{{count|}}}| ×{{{count}}}}}}}}}{{#if:{{{location|}}}| – {{{location}}}}}</span></includeonly><noinclude> | ||
This template formats output entries for inline display in the CRT model infobox. | This template formats output entries for inline display in the CRT model infobox. | ||
Revision as of 20:21, 15 January 2026
This template formats output entries for inline display in the CRT model infobox.
Parameters
- label - Output label (e.g., "Monitor Out")
- signal - Signal format (e.g., Composite, S/PDIF coaxial)
- connector - Connector type (e.g., RCA, TOSLINK)
- count - Number of outputs (only shown if > 1)
- location - Location on the unit (rear, front, side)