Template:CRT input inline: Difference between revisions
No edit summary |
Add wiki links for signal and connector since query now uses link=none; hide count if 1 (via update-page on MediaWiki MCP Server) |
||
| Line 1: | Line 1: | ||
<includeonly><span>{{{signal}}}{{#if:{{{connector|}}}| ({{{connector}}})}}{{#if:{{{count|}}}| ×{{{count}}}}}{{#if:{{{location|}}}| – {{{location}}}}}</span></includeonly> | <includeonly><span>[[{{{signal}}}]]{{#if:{{{connector|}}}| ([[{{{connector}}}]])}}{{#ifeq:{{{count|}}}|1||{{#ifeq:{{{count|}}}|||{{#if:{{{count|}}}| ×{{{count}}}}}}}}}{{#if:{{{location|}}}| – {{{location}}}}}</span></includeonly><noinclude> | ||
This template formats input entries for inline display in the CRT model infobox. | |||
== Parameters == | |||
* '''signal''' - Signal format (e.g., Composite (CVBS), S-Video (Y/C)) | |||
* '''connector''' - Connector type (e.g., RCA (connector), Mini-DIN-4) | |||
* '''count''' - Number of inputs (only shown if > 1) | |||
* '''location''' - Location on the unit (rear, front, side) | |||
[[Category:CRT templates]] | |||
</noinclude> | |||