Template:Main-media

Usage
Place the template on the desired page and it will link to the corresponding media list page or auto-generate a redlink if the page doesn't exist. Update  as needed. By default, it will always follow  where the blank will be the article name.

Override
If there is a reason to link elsewhere and not create a new page or an identifier is present, the auto-generated link can be overridden.