Template:CRTs by brand: Difference between revisions
Query Category:Series instead of CRT models to avoid duplicates; remove vardefine; use userparam (via update-page on MediaWiki MCP Server) |
Try using introtemplate/outrotemplate for table structure (via update-page on MediaWiki MCP Server) |
||
| Line 22: | Line 22: | ||
== By Series == | == By Series == | ||
{{#ask: | {{#ask: | ||
[[Category: | [[Category:CRT models]] | ||
|format= | [[Has brand::{{{brand}}}]] | ||
| | [[Has series::+]] | ||
| | |?Has series=Series | ||
| | |format=table | ||
| | |class=wikitable | ||
|limit= | |mainlabel=- | ||
|headers=plain | |||
|link=all | |||
|sort=Has series | |||
|limit=200 | |||
|searchlabel= | |searchlabel= | ||
| | |default=''No series-assigned models found.'' | ||
}} | }} | ||
<div style="margin-top:0.5em; color:#666; font-style:italic;">Plus {{#ask:[[Category:CRT models]][[Has brand::{{{brand}}}]][[Has series::!+]]|format=count}} models with no series assigned.</div> | <div style="margin-top:0.5em; color:#666; font-style:italic;">Plus {{#ask:[[Category:CRT models]][[Has brand::{{{brand}}}]][[Has series::!+]]|format=count}} models with no series assigned.</div> | ||
Revision as of 15:03, 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}}