Template:GalleryList

Example usage
will produce:

NOTE: The  template must be used in place of the   (pipe) character, so as to not break the code (excluding the initial pipe to initiate the template).