Template:Brand entry: Difference between revisions
Add optional link=advanced parameter to link to Advanced Search page (via update-page on MediaWiki MCP Server) |
Use cleaner /wiki/ URL format for Advanced Search links instead of index.php?title= (via update-page on MediaWiki MCP Server) |
||
| Line 9: | Line 9: | ||
Use <code>|link=advanced</code> to link to the Advanced Search page with the brand filter pre-set. | Use <code>|link=advanced</code> to link to the Advanced Search page with the brand filter pre-set. | ||
</noinclude><includeonly><templatestyles src="Template:BrandEntryStyles.css" /><div class="brand-entry">{{#ifeq:{{{link|}}}|advanced|[{{ | </noinclude><includeonly><templatestyles src="Template:BrandEntryStyles.css" /><div class="brand-entry">{{#ifeq:{{{link|}}}|advanced|[/wiki/Advanced_Search?brand={{urlencode:{{{brand}}}|WIKI}} <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> | ||