Create remote control template similar to Chassis template (via create-page on MediaWiki MCP Server)
 
Update to use Lua infobox, rename manufacturer to brand, add model_code and photos (via update-page on MediaWiki MCP Server)
Line 1: Line 1:
<includeonly>
<includeonly>{{#invoke:RemoteControl|infobox}}
'''{{PAGENAME}}''' is a remote control manufactured by {{{manufacturer|}}}.
 
== CRT models using this remote control ==
== CRT models using this remote control ==
{{#ask:
{{#ask:
Line 17: Line 15:


{{#set:
{{#set:
Has manufacturer={{{manufacturer|}}}
Has brand={{{brand|}}}
|Has model code={{{model_code|}}}
}}{{#if:{{{image_main|}}}|{{#set:Has image=File:{{#replace:{{{image_main}}}|File:|}}}}}}{{#if:{{{images|}}}|{{#invoke:EveryCRTImages|annotate|images={{{images}}}|prop=Has images}}}}
{{#if:{{{images|}}}|
== Photos ==
 
{{#invoke:EveryCRTImages|gallery|images={{{images}}}|mode=packed|heights=160}}
}}
}}
[[Category:Remote controls]]
[[Category:Remote controls]]
</includeonly><noinclude>
</includeonly><noinclude>
{{Remote control
{{Remote control
|manufacturer=Sony
|brand=Sony
|model_code=RM-Y195
}}
}}
This template defines a remote control page. It is used via [[Form:Remote control]].
This template defines a remote control page. It is used via [[Form:Remote control]].


== Parameters ==
== Parameters ==
* '''manufacturer''' – The manufacturer of this remote control (required)
* '''brand''' – The brand of this remote control (required)
* '''model_code''' – The model code/number (required)
* '''image_main''' – Main photo of the remote
* '''images''' – Additional photos


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 00:13, 28 December 2025

Sony RM-Y195
Overview
Brand
Model
RM-Y195
Type
Remote
ECID
Contribute

CRT models using this remote control

This template defines a remote control page. It is used via Form:Remote control.

Parameters

  • brand – The brand of this remote control (required)
  • model_code – The model code/number (required)
  • image_main – Main photo of the remote
  • images – Additional photos
MediaWiki Appliance - Powered by TurnKey Linux