Template:HandheldPage: Difference between revisions

From Handhelds Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 46: Line 46:


== Colors ==
== Colors ==
{{#tag:gallery|{{#invoke:ImageGallery|renderGallery|{{{|}}}}}|widths=300px|heights=300px|perrow=5}}
{{#if:{{{Colors|}}}
 
| <gallery widths="300px" heights="300px" perrow="5">
{{SectionStyleEnd}}{{SectionStyleStart}}
  {{#vardefine:colors|{{{Colors}}}}}
  {{#invoke:StringSplit|split|{{#var:colors}}|}}
</gallery>
}}


== More Images ==
== More Images ==
<gallery widths="300px" heights="300px" perrow="5">
{{#if:{{{MoreImages|}}}
{{#vardefine:imgs|{{{MoreImages|}}}}}
| <gallery widths="300px" heights="300px" perrow="5">
{{#explode:|{{#var:imgs}}|
  {{#vardefine:moreimgs|{{{MoreImages}}}}}
  {{#if:{{{1|}}}|[[File:{{{1}}}]]}}
  {{#invoke:StringSplit|split|{{#var:moreimgs}}|}}
</gallery>
}}
}}
</gallery>


{{SectionStyleEnd}}{{SectionStyleStart}}
{{SectionStyleEnd}}{{SectionStyleStart}}

Revision as of 06:42, 20 June 2025

This template is used by Form:Handheld to populate handheld device pages.