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) |
Fix inconsistent text sizing on mobile: wrap each entry in a div to prevent MediaWiki parser from creating spurious p tags around entries without notes (via update-page on MediaWiki MCP Server) |
||
| 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>}}< | <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. | ||