Template:AV device TBC row: Difference between revisions
Helper template for displaying TBC capabilities in the AV device infobox (via create-page on MediaWiki MCP Server) |
Improve TBC row styling with CSS classes for theme support (via update-page on MediaWiki MCP Server) |
||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
Helper template used by Module:AVDevice to display TBC capability rows in the infobox. Called via SMW's format=template. | Helper template used by Module:AVDevice to display TBC capability rows in the infobox. Called via SMW's format=template. | ||
== Parameters == | |||
* '''type''' — TBC type (e.g., "Line TBC", "Frame synchronizer") | |||
* '''buffer''' — Buffer/memory size (e.g., "16 lines", "1 MB (full frame)") | |||
* '''notes''' — Additional notes about the TBC capability | |||
[[Category:AV device templates]] | [[Category:AV device templates]] | ||
</noinclude><includeonly><div | </noinclude><includeonly><div class="infobox-tbc-entry">{{#if:{{{type|}}}|<div class="infobox-tbc-type">{{{type}}}</div>}}{{#if:{{{buffer|}}}|<div class="infobox-tbc-detail">'''Buffer:''' {{{buffer}}}</div>}}{{#if:{{{notes|}}}|<div class="infobox-tbc-notes">{{{notes}}}</div>}}</div></includeonly> | ||