Template:Person gallery
Purpose
This template dynamically generates a gallery of images and associated details (like organization and position titles) for a specified list of people.
Usage
This template should be added where you need to display a gallery of people with their names, images, and associated professional information. It uses Cargo to fetch data from the Person table in the database.
Syntax
{{Person gallery|names=<comma-separated list of full names>|gallery_mode=<mode>}}
Handling errors
If no images are available for the provided names, the template will display an error message in the gallery area.
Developer notes
The template relies on Lua scripting in the backend to process input and query the database using Cargo. Ensure the Cargo table and fields (Full_name, Image, Organizations, Position_titles) are properly configured and standardized across the wiki. Changes to database schema or Cargo configuration may require updates to the Lua script to maintain functionality.