Template:CRT model: Difference between revisions
Created page with "<!-- Template:CRT model --> {| class="wikitable" style="float:right; margin:0 0 1em 1em; width: 320px;" |+ CRT model |- ! Brand | [[{{{brand|}}}]] |- ! Model code | {{{model_code|}}} |- ! Screen size (in) | {{{screen_size_in|}}} |- ! TVL | {{{tvl|}}} |- ! Chassis | [[{{{chassis|}}}]] |- ! Inputs | {{{inputs|}}} |- ! Standards | {{{standards|}}} |} {{#set: Has brand={{{brand|}}} |Has OEM manufacturer={{{oem|}}} |Has model code={{{model_code|}}} |Has aliases={{{aliases|}..." Tag: visualeditor-wikitext |
Store Height/Width/Depth as SMW properties (form already annotates them; template never #set them) |
||
| (108 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
__NOCACHE__{{#default_form:CRT model}}{{#invoke:CRTModel|infobox}}{{#set: | |||
{ | |||
{{#set: | |||
Has brand={{{brand|}}} | Has brand={{{brand|}}} | ||
|Has OEM manufacturer={{{oem|}}} | |Has OEM manufacturer={{{oem|}}} | ||
|Has model code={{{model_code|}}} | |Has model code={{{model_code|}}} | ||
|Has | |Has series={{{series|}}} | ||
|Has CRT type={{{crt_type|}}} | |||
|Has form factor={{{form_factor|}}} | |||
|Has built-in devices={{{built_in_devices|}}}|+sep=, | |||
|Has screen size inches={{{screen_size_in|}}} | |Has screen size inches={{{screen_size_in|}}} | ||
|Has aspect ratio={{{aspect_ratio|}}} | |Has aspect ratio={{{aspect_ratio|}}} | ||
|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 remote control={{{remote_control|}}} | |||
|Has accessory={{{remote_control|}}} | |||
|Has variants={{{variants|}}} | |||
|Has market={{{market|}}}|+sep=, | |||
|Height={{{height|}}} | |||
|Width={{{width|}}} | |||
|Depth={{{depth|}}} | |||
|Weight={{{weight|}}} | |||
|Has tube={{{tube|}}} | |Has tube={{{tube|}}} | ||
|Has service manual URL={{{service_manual_urls|}}} | |Has service manual URL={{{service_manual_urls|}}} | ||
}} | |Frequency={{{frequency|}}}|+sep=, | ||
|Power average={{{power_avg|}}} | |||
|Power max={{{power_max|}}} | |||
|AV system={{{av_system|}}}|+sep=, | |||
|Tuner system={{{tuner_system|}}}|+sep=, | |||
|Horizontal scan min={{{h_scan_min|}}} | |||
|Horizontal scan max={{{h_scan_max|}}} | |||
|Vertical scan min={{{v_scan_min|}}} | |||
|Vertical scan max={{{v_scan_max|}}} | |||
|Has speaker type={{{speaker_type|}}} | |||
|Has speaker watts={{{speaker_watts|}}} | |||
|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:{{{suppress_gallery|}}}||{{#if:{{{images|}}}| | |||
== Photos == | |||
[[Category:CRT models]] | {{#invoke:EveryCRTImages|gallery|images={{{images}}}|mode=packed|heights=160}} | ||
}}}}<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> | |||