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 style="margin-bottom:0.5em; padding:0.4em 0.5em; border-radius:3px;" class="infobox-tbc-entry">{{#if:{{{type|}}}|<div style="font-weight:bold;">{{{type}}}</div>}}{{#if:{{{buffer|}}}|<div style="font-size:0.92em;">'''Buffer:''' {{{buffer}}}</div>}}{{#if:{{{notes|}}}|<div style="font-size:0.85em; opacity:0.8; margin-top:0.15em;">{{{notes}}}</div>}}</div></includeonly>
</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>
MediaWiki Appliance - Powered by TurnKey Linux