Template:Brand entry: Difference between revisions

Use adaptive colors for light/dark mode compatibility (via update-page on MediaWiki MCP Server)
Update search link: Advanced_Search → CRT_Search (via update-page on MediaWiki MCP Server)
 
(9 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="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>
 
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