Template:ModelGallery

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


ModelGallery - Displays a model profile card using Module:ModelGallery.

This template creates an individual model card with image, name, and birth info. Cards automatically adapt to dark/light themes and are responsive.

Usage

Basic (Positional parameters)

{{ModelGallery|Name|Image.jpg|Birth date/year}}

Advanced (Named parameters)

{{ModelGallery
| name = Model Name
| image = Image.jpg
| born = 1990
| link = Custom Link Target
| altname = Alternative Name
}}

Parameters

  • name (or 1) - Model name (optional, will display altname if empty)
  • image (or 2) - Image filename without "File:" prefix (optional)
  • born (or 3) - Birth date or year (optional)
  • link - Custom link target for image click (optional, defaults to name page)
  • altname / alt-name - Alternative name to display if name is empty (optional)
{{ModelGalleryBox}}
{{ModelGallery|Jane Doe|Example1.jpg|1985}}
{{ModelGallery|John Smith|Example2.jpg|1990}}
{{ModelGallery
| name = Alice Johnson
| image = Example3.jpg
| born = 1988
| link = Alice_Johnson_(model)
}}
{{EndBox}}

Features

  • Dark/light theme support via TemplateStyles
  • Responsive design with flexbox
  • Image auto-sizing (max 180px height)
  • Text overflow ellipsis for long names
  • Customizable click targets

Technical Details

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