Template:AV brand entry: Difference between revisions
Create AV brand entry template (via create-page on MediaWiki MCP Server) |
Fix: Use [[:Category:]] link syntax instead of [[Category:]] to prevent adding transcluding pages to categories (via update-page on MediaWiki MCP Server) |
||
| Line 6: | Line 6: | ||
{{AV brand entry|brand=Videonics}} | {{AV brand entry|brand=Videonics}} | ||
</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> | </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> | ||
Revision as of 18:05, 4 February 2026
This template displays an AV device brand entry with an automatic count of devices.
Usage
{{AV brand entry|brand=Videonics}}