Template:Brand entry: Difference between revisions
Add hover effects using inline JavaScript handlers (via update-page on MediaWiki MCP Server) |
Update search link: Advanced_Search → CRT_Search (via update-page on MediaWiki MCP Server) |
||
| (5 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 class="brand-entry | |||
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> | |||
Latest revision as of 02:56, 5 February 2026
This template displays a brand entry with an automatic count of CRT models.
Usage
{{Brand entry|brand=Sony}}
{{Brand entry|brand=Sony|link=advanced}}
Use |link=advanced to link to the CRT Search page with the brand filter pre-set.