Template:AV brand entry: Difference between revisions

Create AV brand entry template (via create-page on MediaWiki MCP Server)
 
Add |link=advanced support to link to AV Device Search page (via update-page on MediaWiki MCP Server)
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
<pre>
<pre>
{{AV brand entry|brand=Videonics}}
{{AV brand entry|brand=Videonics}}
{{AV brand entry|brand=Videonics|link=advanced}}
</pre>
</pre>
</noinclude><includeonly><templatestyles src="Template:AVBrandEntryStyles.css" /><div class="av-brand-entry">[[Category:{{{brand}}} AV devices|<span class="av-brand-entry-link"></span>]]{{{brand}}}<span class="av-brand-entry-count">({{#ask:[[Category:AV devices]][[Has brand::{{{brand}}}]]|format=count}})</span></div></includeonly>
 
Use <code>|link=advanced</code> to link to the AV Device Search page with the brand filter pre-set.
</noinclude><includeonly><templatestyles src="Template:AVBrandEntryStyles.css" /><div class="av-brand-entry">{{#ifeq:{{{link|}}}|advanced|[{{SERVER}}/wiki/AV_Device_Search?brand={{urlencode:{{{brand}}}}} <span class="av-brand-entry-link"></span>]|[[:Category:{{{brand}}} AV devices|<span class="av-brand-entry-link"></span>]]}}{{{brand}}}<span class="av-brand-entry-count">({{#ask:[[Category:AV devices]][[Has brand::{{{brand}}}]]|format=count}})</span></div></includeonly>
MediaWiki Appliance - Powered by TurnKey Linux