Template:PhotographyListGallery

From Porn Base Central, the free encyclopedia of gay porn
Jump to navigation Jump to search


PhotographyListGallery - Displays a photography card using Module:PhotographyListGallery.

This template creates an individual photography card with image, name, and "as" field (pseudonym/alternative name). Cards automatically adapt to dark/light themes and are responsive.

Usage

Basic (Positional parameters)

{{PhotographyListGallery|Name|Image.jpg|As/Pseudonym}}

Advanced (Named parameters)

{{PhotographyListGallery
| name = Photographer Name
| image = Image.jpg
| as = Alternative Name/Pseudonym
| altname = Display Name if name is empty
}}

Parameters

  • name (or 1) - Photographer/subject name (optional, will display altname if empty)
  • image (or 2) - Image filename without "File:" prefix (required)
  • as (or 3) - Alternative name, pseudonym, or "as" field (optional)
  • altname / alt-name - Alternative name to display if name is empty (optional)
{{PhotographyListGalleryBox}}
{{PhotographyListGallery|John Photographer|Photo1.jpg|John P.}}
{{PhotographyListGallery|Jane Artist|Photo2.jpg|J. Artist}}
{{PhotographyListGallery
| name = Robert Smith
| image = Photo3.jpg
| as = R. Smith Photography
}}
{{EndBox}}

Features

  • Dark/light theme support via TemplateStyles
  • Responsive design with flexbox
  • Image auto-sizing (max 200px height)
  • Text overflow ellipsis for long names
  • Larger image display compared to ModelGallery (200px vs 180px)

Technical Details

  • Powered by Module:PhotographyListGallery
  • Styles: Module:PhotographyListGallery/styles.css
  • Compatible with MediaWiki 1.44+