If you want the same template as the english wikipedia, than you can have a look at their template page:
http://en.wikipedia.org/wiki/Template:Font
and download it, by switching to the "View source" tap in the top right:
http://en.wikipedia.org/w/index.php?title=Template:Font&action=edit
Just copy that code into your own wiki into a page called "Template:Font" and see what happens.