Template:Remote control: Difference between revisions

Update to use Lua infobox, rename manufacturer to brand, add model_code and photos (via update-page on MediaWiki MCP Server)
Add ECID parameter (via update-page on MediaWiki MCP Server)
Line 17: Line 17:
Has brand={{{brand|}}}
Has brand={{{brand|}}}
|Has model code={{{model_code|}}}
|Has model code={{{model_code|}}}
|Has ECID={{{ecid|}}}
}}{{#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:{{{images|}}}|
Line 34: Line 35:
* '''brand''' – The brand of this remote control (required)
* '''brand''' – The brand of this remote control (required)
* '''model_code''' – The model code/number (required)
* '''model_code''' – The model code/number (required)
* '''ecid''' – ECID code for this remote control
* '''image_main''' – Main photo of the remote
* '''image_main''' – Main photo of the remote
* '''images''' – Additional photos
* '''images''' – Additional photos
MediaWiki Appliance - Powered by TurnKey Linux