Template:Person gallery modern
Purpose
This template generates a styled, modern-look gallery of people's photos for a specified list of names. Unlike Template:Person gallery, captions are just the person's linked name — no organization or position title is shown.
Usage
This template should be added where you need a visually polished photo grid of people (e.g. a team or contributors page) without the extra caption detail that Template:Person gallery shows.
Syntax
{{Person gallery modern|names=<comma-separated list of full names>|perrow=<number>}}
Parameters
names— comma-separated list of full names to look up (matched againstFull_namein thePersontable, falling back toPerson_extra).perrow— images per row. Defaults to6.
Captions always show the person's name as a link to their page; the gallery always shows all captions (not hover-only).
Handling errors
If no names are provided, the template displays an error message in the gallery area.
Developer notes
The template relies on Module:Person's get_person_gallery_modern function, which queries the Person table (falling back to Person_extra for names not found there) and renders through Module:Gallery's build_modern_gallery.