Template:EveryCRT gallery
Universal gallery template for any EveryCRT content type (CRT models, AV devices, accessories, etc.). Use this when you want to position photos somewhere other than the default location — set suppress_gallery=yes in the content template, then place {{EveryCRT gallery}} wherever you want the photos to appear.
The template automatically reads the images= field from the page's own template invocation (e.g. {{CRT model}}, {{AV device}}, etc.) — no parameters are needed.
Uses Module:EveryCRTImages for rendering.
Parameters
All optional:
- mode — Gallery display mode (default:
nolines). Supported values:nolines— Clean grid with no borders or framing (default)packed— Auto-adjusts image widths to fill each row evenlytraditional— Classic MediaWiki grid with borders and paddingslideshow— Displays one image at a time with navigation controls
- heights — Thumbnail height in px (default:
160). Use smaller values like120for pages with many images. - images — Override: explicitly provide a comma-separated list of image filenames instead of auto-detecting from the page source
Usage
{{CRT model
|images=Photo1.jpg,Photo2.jpg
|suppress_gallery=yes
...
}}
== Some Section ==
Content here...
== Photos ==
{{EveryCRT gallery}}
Works identically with {{AV device}} or any other template that has an images= field:
{{AV device
|images=Photo1.jpg,Photo2.jpg
|suppress_gallery=yes
...
}}
== Variants ==
Content here...
== Photos ==
{{EveryCRT gallery|heights=120}}