Template:CRT model: Difference between revisions
Adding Has chassis family semantic property (via update-page on MediaWiki MCP Server) |
Store Height/Width/Depth as SMW properties (form already annotates them; template never #set them) |
||
| (13 intermediate revisions by the same user not shown) | |||
| Line 11: | Line 11: | ||
|Has TVL={{{tvl|}}} | |Has TVL={{{tvl|}}} | ||
|Has tube type={{{tube_type|}}} | |Has tube type={{{tube_type|}}} | ||
|Mask type={{{mask_type|}}} | |||
|Pitch={{{pitch|}}} | |||
|Phosphor type={{{phosphor_type|}}} | |||
|Gun type={{{gun_type|}}} | |||
|Deflection angle={{{deflection_angle|}}} | |||
|Neck diameter={{{neck_diameter|}}} | |||
|Visible width={{{visible_w|}}} | |||
|Visible height={{{visible_h|}}} | |||
|Visible diagonal={{{visible_diag|}}} | |||
|Has chassis={{{chassis|}}} | |Has chassis={{{chassis|}}} | ||
|Has chassis family={{{chassis_family|}}} | |Has chassis family={{{chassis_family|}}} | ||
|Has remote control={{{remote_control|}}} | |Has remote control={{{remote_control|}}} | ||
|Has accessory={{{remote_control|}}} | |||
|Has variants={{{variants|}}} | |Has variants={{{variants|}}} | ||
|Has market={{{market|}}}|+sep=, | |||
|Height={{{height|}}} | |||
|Width={{{width|}}} | |||
|Depth={{{depth|}}} | |||
|Weight={{{weight|}}} | |Weight={{{weight|}}} | ||
|Has tube={{{tube|}}} | |Has tube={{{tube|}}} | ||
| Line 30: | Line 44: | ||
|Has speaker watts={{{speaker_watts|}}} | |Has speaker watts={{{speaker_watts|}}} | ||
|Has subwoofer={{{subwoofer|}}} | |Has subwoofer={{{subwoofer|}}} | ||
|Release year={{{release_year|}}} | |||
|MSRP={{{msrp|}}} | |||
}}{{#if:{{{image_main|}}}|{{#set:Has image=File:{{#replace:{{{image_main}}}|File:|}}}}}}{{#if:{{{images|}}}|{{#invoke:EveryCRTImages|annotate|images={{{images}}}|prop=Has images}}}} | }}{{#if:{{{image_main|}}}|{{#set:Has image=File:{{#replace:{{{image_main}}}|File:|}}}}}}{{#if:{{{images|}}}|{{#invoke:EveryCRTImages|annotate|images={{{images}}}|prop=Has images}}}} | ||
{{#if:{{{images|}}}| | {{#if:{{{suppress_gallery|}}}||{{#if:{{{images|}}}| | ||
== Photos == | == Photos == | ||
{{#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]]}}{{#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]]}}</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> | ||