Template:Brand entry: Difference between revisions

Add Tailwind-inspired card styling to brand entries (via update-page on MediaWiki MCP Server)
Update search link: Advanced_Search → CRT_Search (via update-page on MediaWiki MCP Server)
 
(12 intermediate revisions by the same user not shown)
Line 5: Line 5:
<pre>
<pre>
{{Brand entry|brand=Sony}}
{{Brand entry|brand=Sony}}
{{Brand entry|brand=Sony|link=advanced}}
</pre>
</pre>
</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>
 
Use <code>|link=advanced</code> to link to the CRT Search page with the brand filter pre-set.
</noinclude><includeonly><templatestyles src="Template:BrandEntryStyles.css" /><div class="brand-entry">{{#ifeq:{{{link|}}}|advanced|[{{SERVER}}/wiki/CRT_Search?brand={{urlencode:{{{brand}}}}} <span class="brand-entry-link"></span>]|[[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>
MediaWiki Appliance - Powered by TurnKey Linux