Template:Brand entry: Difference between revisions

Improve mobile styling - better touch targets, cleaner appearance (via update-page on MediaWiki MCP Server)
Update search link: Advanced_Search → CRT_Search (via update-page on MediaWiki MCP Server)
 
(11 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="display: inline-block; background: #ffffff; border: 1px solid #a2a9b1; border-radius: 10px; padding: 0.7em 1em; box-shadow: 0 2px 4px rgba(0,0,0,0.06); min-width: 5em; text-align: center;"><div style="font-weight: 600; font-size: 1em; color: #3366cc;">[[CRTs by {{{brand}}}|{{{brand}}}]]</div><div style="color: #72777d; font-size: 0.8em; margin-top: 0.2em;">({{#ask:[[Category:CRT models]][[Has brand::{{{brand}}}]]|format=count}})</div></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