Module:CRTModel: Difference between revisions
Refactor Connectivity section: split into separate Inputs/Outputs/Control Ports sections with location (Front/Rear/Side) as row labels instead of sub-groups (via update-page on MediaWiki MCP Server) |
Remove infobox-label-top from I/O location labels so gray background stretches to full row height (via update-page on MediaWiki MCP Server) |
||
| Line 688: | Line 688: | ||
local labelDiv = container:tag('div') | local labelDiv = container:tag('div') | ||
labelDiv:addClass('infobox-label') | labelDiv:addClass('infobox-label') | ||
css(labelDiv, 'padding:0.2em 0.4em; font-weight:bold; text-align:left;') | css(labelDiv, 'padding:0.2em 0.4em; font-weight:bold; text-align:left;') | ||
labelDiv:wikitext(locationLabels[data.location]) | labelDiv:wikitext(locationLabels[data.location]) | ||