Use adaptive colors for light/dark mode compatibility (via update-page on MediaWiki MCP Server)
Make entire card clickable using absolute positioned link overlay (via update-page on MediaWiki MCP Server)
Line 6: Line 6:
{{Brand entry|brand=Sony}}
{{Brand entry|brand=Sony}}
</pre>
</pre>
</noinclude><includeonly><div style="background: rgba(128, 128, 128, 0.1); border: 1px solid rgba(128, 128, 128, 0.3); border-radius: 10px; padding: 0.7em 0.5em; text-align: center;"><div style="font-weight: 600; font-size: 1em;">[[CRTs by {{{brand}}}|{{{brand}}}]]</div><div style="opacity: 0.6; font-size: 0.8em; margin-top: 0.2em;">({{#ask:[[Category:CRT models]][[Has brand::{{{brand}}}]]|format=count}})</div></div></includeonly>
</noinclude><includeonly><div style="position: relative; background: rgba(128, 128, 128, 0.1); border: 1px solid rgba(128, 128, 128, 0.3); border-radius: 10px; padding: 0.7em 0.5em; text-align: center; cursor: pointer;">[[CRTs by {{{brand}}}|<span style="position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 1;"></span>]]<div style="font-weight: 600; font-size: 1em; color: #3366cc;">{{{brand}}}</div><div style="opacity: 0.6; font-size: 0.8em; margin-top: 0.2em;">({{#ask:[[Category:CRT models]][[Has brand::{{{brand}}}]]|format=count}})</div></div></includeonly>

Revision as of 14:04, 17 January 2026

This template displays a brand entry with an automatic count of CRT models.

Usage

{{Brand entry|brand=Sony}}
MediaWiki Appliance - Powered by TurnKey Linux