Thread:Aaronbill3/@comment-32998527-20170902110106/@comment-24922135-20170902194232

The simple answer is look at how templates like that are made, copy the code, and reverse engineer it to fit your needs.

Ideally you should use a navbox (that's the name of that type of template) that no one will complain if you steal from, like the navboxes at the bottom of alien pages on this wiki.