Template:Main-gallery

Usage
If the page name matches the Gallery name (e.g., Slime & Gallery:Slime),  is sufficient.

If they are different in any way, you must add the gallery title as a variable. The syntax is: