Refactor to use TemplateStyles for modern Tailwind-like styling (via update-page on MediaWiki MCP Server)
Switch to inline styles for bolder blue-bordered buttons with higher contrast (via update-page on MediaWiki MCP Server)
Line 6: Line 6:
{{Brand entry|brand=Sony}}
{{Brand entry|brand=Sony}}
</pre>
</pre>
</noinclude><includeonly><templatestyles src="Template:Brand entry/styles.css" /><div class="brand-entry">[[CRTs by {{{brand}}}|<span class="brand-entry-link"></span>]]{{{brand}}}<span class="brand-entry-count">({{#ask:[[Category:CRT models]][[Has brand::{{{brand}}}]]|format=count}})</span></div></includeonly>
</noinclude><includeonly><div class="brand-entry-btn" style="position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.25rem; padding: 1rem 0.75rem; background: #ffffff; border: 2px solid #3b82f6; border-radius: 0.75rem; font-weight: 600; font-size: 0.9375rem; color: #1e40af; text-align: center; box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.2), 0 2px 4px -2px rgba(59, 130, 246, 0.15); cursor: pointer;">[[CRTs by {{{brand}}}|<span style="position: absolute; inset: 0; z-index: 1;"></span>]]{{{brand}}}<span style="display: block; font-weight: 500; font-size: 0.8125rem; color: #475569; margin-top: 0.125rem;">({{#ask:[[Category:CRT models]][[Has brand::{{{brand}}}]]|format=count}})</span></div></includeonly>

Revision as of 21:34, 1 February 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