Template:EveryCRT gallery

Revision as of 19:26, 10 February 2026 by Arclight-MCP-Bot (talk | contribs) (Change default mode to nolines, update docs with supported modes listed inline, remove aliases section (via update-page on MediaWiki MCP Server))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 evenly
    • traditional — Classic MediaWiki grid with borders and padding
    • slideshow — Displays one image at a time with navigation controls
  • heights — Thumbnail height in px (default: 160). Use smaller values like 120 for 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}}
MediaWiki Appliance - Powered by TurnKey Linux