Template:CRT model: Difference between revisions

Add automatic category for CRTs missing CRT type (via update-page on MediaWiki MCP Server)
Add automatic categorization by brand and CRT type for pre-computed indexing (via update-page on MediaWiki MCP Server)
Line 37: Line 37:


{{#invoke:EveryCRTImages|gallery|images={{{images}}}|mode=packed|heights=160}}
{{#invoke:EveryCRTImages|gallery|images={{{images}}}|mode=packed|heights=160}}
}}<includeonly>[[Category:CRT models]]{{#if:{{{screen_size_in|}}}||[[Category:CRT stubs]]}}{{#if:{{{image_main|}}}||[[Category:CRT models needing images]]}}{{#if:{{{crt_type|}}}||[[Category:CRTs missing type]]}}{{#ifeq:{{{form_factor|}}}|Console|[[Category:Console CRTs]]}}{{#ifeq:{{{form_factor|}}}|Portable|[[Category:Portable CRTs]]}}{{#ifeq:{{{form_factor|}}}|Wall-mount|[[Category:Wall-mount CRTs]]}}{{#if:{{#pos:{{{built_in_devices|}}}|VCR}}|[[Category:TV/VCR Combo CRTs]]}}{{#if:{{#pos:{{{built_in_devices|}}}|DVD}}|[[Category:TV/DVD Combo CRTs]]}}{{#if:{{#pos:{{{built_in_devices|}}}|AM/FM radio}}|[[Category:TV/Radio Combo CRTs]]}}{{#if:{{{series|}}}||[[Category:CRTs without series]]}}</includeonly>
}}<includeonly>[[Category:CRT models]]{{#if:{{{brand|}}}|[[Category:{{{brand}}} CRTs]]}}{{#if:{{{crt_type|}}}|[[Category:{{{crt_type}}}]]}}{{#if:{{{screen_size_in|}}}||[[Category:CRT stubs]]}}{{#if:{{{image_main|}}}||[[Category:CRT models needing images]]}}{{#if:{{{crt_type|}}}||[[Category:CRTs missing type]]}}{{#ifeq:{{{form_factor|}}}|Console|[[Category:Console CRTs]]}}{{#ifeq:{{{form_factor|}}}|Portable|[[Category:Portable CRTs]]}}{{#ifeq:{{{form_factor|}}}|Wall-mount|[[Category:Wall-mount CRTs]]}}{{#if:{{#pos:{{{built_in_devices|}}}|VCR}}|[[Category:TV/VCR Combo CRTs]]}}{{#if:{{#pos:{{{built_in_devices|}}}|DVD}}|[[Category:TV/DVD Combo CRTs]]}}{{#if:{{#pos:{{{built_in_devices|}}}|AM/FM radio}}|[[Category:TV/Radio Combo CRTs]]}}{{#if:{{{series|}}}||[[Category:CRTs without series]]}}</includeonly>
MediaWiki Appliance - Powered by TurnKey Linux