Template:Brand series row: Difference between revisions
Simplify - use #if on count result instead of #ifexpr comparison; fix whitespace issues (via update-page on MediaWiki MCP Server) |
Remove filtering temporarily to debug - output all rows (via update-page on MediaWiki MCP Server) |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{!}}- | ||
{{!}} [[{{{1}}}]] | {{!}} [[{{{1}}}]] | ||
{{!}} {{#ask:[[Category:CRT models]][[Has brand::{{{userparam}}}]][[Has series::{{{1}}}]]|format=count}} | {{!}} {{#ask:[[Category:CRT models]][[Has brand::{{{userparam}}}]][[Has series::{{{1}}}]]|format=count}} | ||
{{!}} {{#queryformlink:form=CRT query|query string=CRT query[brand]={{{userparam}}}&CRT query[series]={{{1}}}&_run|link text=Browse | {{!}} {{#queryformlink:form=CRT query|query string=CRT query[brand]={{{userparam}}}&CRT query[series]={{{1}}}&_run|link text=Browse}}</includeonly><noinclude> | ||
Helper template for [[Template:CRTs by brand]] to display series rows filtered by brand. | Helper template for [[Template:CRTs by brand]] to display series rows filtered by brand. | ||
This template outputs a table row | This template outputs a table row for each series showing count for the specified brand. | ||
== Parameters == | == Parameters == | ||