User:Arclight/CRT Search: Difference between revisions
Create faceted search page for CRT models using Semantic MediaWiki (via create-page on MediaWiki MCP Server) |
Reorganize search page with RunQuery form link and better structure (via update-page on MediaWiki MCP Server) |
||
| Line 1: | Line 1: | ||
__NOTOC__ | |||
'''CRT Search''' allows you to filter and browse all CRT models in the database. | '''CRT Search''' allows you to filter and browse all CRT models in the database. | ||
== Search == | == Advanced Search == | ||
Use the '''[[Special:RunQuery/CRT query|Advanced Search Form]]''' to filter by multiple criteria including brand, type, screen size, series, and aspect ratio. | |||
== Quick Search == | |||
Find a specific CRT by name or model code: | |||
{{#forminput: | |||
form=CRT model | |||
|button text=Go to CRT | |||
|placeholder=e.g. Sony KV-27S42 | |||
|autocomplete on category=CRT models | |||
}} | |||
== Browse All CRTs == | |||
{{#ask: | {{#ask: | ||
[[Category:CRT models]] | [[Category:CRT models]] | ||
|?Has image# | |?Has image#80px;x80px=Photo | ||
|?Has brand=Brand | |?Has brand=Brand | ||
|?Has model code=Model | |?Has model code=Model | ||
| Line 15: | Line 31: | ||
|?Has chassis=Chassis | |?Has chassis=Chassis | ||
|format=filtered | |format=filtered | ||
| | |filter on=Brand,Type,Size,Series | ||
|views=table | |views=table | ||
|mainlabel=CRT model | |mainlabel=CRT model | ||
|class=wikitable sortable | |class=wikitable sortable | ||
| Line 22: | Line 38: | ||
}} | }} | ||
{{#tag:html|<small>If filters don't appear above, use the [[Special:RunQuery/CRT query|Advanced Search Form]] instead.</small>}} | |||
== | == Quick Filters == | ||
=== By Brand === | |||
== | {| class="wikitable" style="width:100%" | ||
|- | |||
! Brand !! CRTs !! | |||
{{#ask: | {{#ask: | ||
[[Category:Manufacturers]] | [[Category:Manufacturers]] | ||
|format= | |format=template | ||
|link= | |template=Brand row | ||
|limit= | |link=none | ||
|limit=100 | |||
}} | }} | ||
|} | |||
=== By Type === | === By Type === | ||
{| class="wikitable" | |||
|- | |||
! Type !! Count !! Browse | |||
|- | |||
| TV || {{#ask:[[Category:CRT models]][[Has CRT type::TV]]|format=count}} || [[Special:RunQuery/CRT query?CRT query[crt_type]=TV|Browse TVs]] | |||
|- | |||
| Monitor || {{#ask:[[Category:CRT models]][[Has CRT type::Monitor]]|format=count}} || [[Special:RunQuery/CRT query?CRT query[crt_type]=Monitor|Browse Monitors]] | |||
|- | |||
| PVM || {{#ask:[[Category:CRT models]][[Has CRT type::PVM]]|format=count}} || [[Special:RunQuery/CRT query?CRT query[crt_type]=PVM|Browse PVMs]] | |||
|- | |||
| BVM || {{#ask:[[Category:CRT models]][[Has CRT type::BVM]]|format=count}} || [[Special:RunQuery/CRT query?CRT query[crt_type]=BVM|Browse BVMs]] | |||
|- | |||
| Computer monitor || {{#ask:[[Category:CRT models]][[Has CRT type::Computer monitor]]|format=count}} || [[Special:RunQuery/CRT query?CRT query[crt_type]=Computer monitor|Browse Computer Monitors]] | |||
|} | |||
=== By Screen Size === | === By Screen Size === | ||
{| class="wikitable" | |||
|- | |||
! Size Range !! Count !! Browse | |||
|- | |||
| Under 14" || {{#ask:[[Category:CRT models]][[Has screen size inches::<14]]|format=count}} || [[Special:RunQuery/CRT query?CRT query[screen_max]=13|Browse]] | |||
|- | |||
| 14-19" || {{#ask:[[Category:CRT models]][[Has screen size inches::≥14]][[Has screen size inches::<20]]|format=count}} || [[Special:RunQuery/CRT query?CRT query[screen_min]=14&CRT query[screen_max]=19|Browse]] | |||
|- | |||
| 20-24" || {{#ask:[[Category:CRT models]][[Has screen size inches::≥20]][[Has screen size inches::<25]]|format=count}} || [[Special:RunQuery/CRT query?CRT query[screen_min]=20&CRT query[screen_max]=25|Browse]] | |||
|- | |||
| 25-29" || {{#ask:[[Category:CRT models]][[Has screen size inches::≥25]][[Has screen size inches::<30]]|format=count}} || [[Special:RunQuery/CRT query?CRT query[screen_min]=25&CRT query[screen_max]=29|Browse]] | |||
|- | |||
| 30"+ || {{#ask:[[Category:CRT models]][[Has screen size inches::≥30]]|format=count}} || [[Special:RunQuery/CRT query?CRT query[screen_min]=30|Browse]] | |||
|} | |||
=== By Series === | === By Series === | ||
{| class="wikitable" | |||
|- | |||
! Series !! Count | |||
{{#ask: | {{#ask: | ||
[[Category:Series]] | [[Category:Series]] | ||
|format= | |format=template | ||
|link= | |template=Series row | ||
|link=none | |||
|limit=50 | |limit=50 | ||
}} | }} | ||
|} | |||
[[Category:Special pages]] | [[Category:Special pages]] | ||