Template:Brand entry: Difference between revisions

Create brand entry template with count subquery (via create-page on MediaWiki MCP Server)
 
Add Tailwind-inspired card styling to brand entries (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="break-inside: avoid; margin-bottom: 0.4em;">[[CRTs by {{{brand}}}|{{{brand}}}]] <span style="color: #72777d; font-size: 0.9em;">({{#ask:[[Category:CRT models]][[Has brand::{{{brand}}}]]|format=count}})</span></div></includeonly>
</noinclude><includeonly><div style="break-inside: avoid; margin-bottom: 0.75em;"><span style="display: inline-block; background: linear-gradient(135deg, #f8f9fa 0%, #eaecf0 100%); border: 1px solid #c8ccd1; border-radius: 8px; padding: 0.5em 0.9em; font-weight: 500; box-shadow: 0 1px 3px rgba(0,0,0,0.08); transition: all 0.2s ease;">[[CRTs by {{{brand}}}|{{{brand}}}]] <span style="color: #54595d; font-size: 0.85em; font-weight: 400; margin-left: 0.3em;">({{#ask:[[Category:CRT models]][[Has brand::{{{brand}}}]]|format=count}})</span></span></div></includeonly>
MediaWiki Appliance - Powered by TurnKey Linux