Template:Gallery/doc

This template works as following:

The parameter should use "* (Your trivia)" as formatting, while the  parameter can be "Filename.extension|caption" as formatting.