Board Thread:Support Requests - Getting Technical/@comment-5688002-20130803200348/@comment-12424413-20130803210637

There is something similar at http://metrovideogame.wikia.com/wiki/Template:Infobox_Facation

hopefully you can get ideas from its code.