Template:CRTs by brand: Difference between revisions
Store brand in variable so helper template can access it; fix parameter name for named args (via update-page on MediaWiki MCP Server) |
Query Category:Series instead of CRT models to avoid duplicates; remove vardefine; use userparam (via update-page on MediaWiki MCP Server) |
||
| Line 10: | Line 10: | ||
__NOCACHE__ | __NOCACHE__ | ||
{{#if:{{{brand|}}}| | {{#if:{{{brand|}}}| | ||
<div style="margin-bottom: 1em;">Showing all CRT models from '''{{{brand}}}''' in the database. [[CRTs by Brand|← Back to all brands]]</div> | <div style="margin-bottom: 1em;">Showing all CRT models from '''{{{brand}}}''' in the database. [[CRTs by Brand|← Back to all brands]]</div> | ||
| Line 27: | Line 26: | ||
! Series !! Count !! Browse | ! Series !! Count !! Browse | ||
{{#ask: | {{#ask: | ||
[[Category: | [[Category:Series]] | ||
|format=template | |format=template | ||
|template=Brand series row | |template=Brand series row | ||
|link=none | |link=none | ||
|sort= | |sort= | ||
|order=asc | |order=asc | ||
|limit= | |limit=100 | ||
|searchlabel= | |searchlabel= | ||
|userparam={{{brand}}} | |||
}} | }} | ||
{{!}}} | {{!}}} | ||
Revision as of 14:50, 17 January 2026
This template creates a page listing all CRTs for a specific brand.
Usage
Create a page named "CRTs by [Brand]" with:
{{CRTs by brand|brand=Sony}}