Template:Infobox typeface/link


 * Note : This template is still in progress and not ready for prime time.

Usage
This auxiliary template should be only used by the Infobox font template. Based on the type of style this template receives, it returns the correct "wikified" version of the text. Entries need not be case-sensitive as all values are converted to lowercase before the switch.

Valid arguments

 * Serif
 * Slab-serif
 * Sans-serif
 * Script
 * Blackletter
 * Display
 * Symbol

Unit test
If at any time the Expected and Obtained columns do not match, this template can be considered broken. This table makes the template automatically check itself. If a mark is seen, it means that self test worked fine. if there is a mark, it means the test failed. Whenever you make a modification to the template, please save the page, refresh, and check if all the self tests have passed. If you add a new type to the template, remember to add the type using this format:

Replace stylename with the new type style (i.e., Handwriting), and typereplace with the text that will appear as typeface style (in example,  Handwriting ).

Note: Sometimes the test may pass while previewing the page, but once saved the test would fail, no matter how many times the cache is cleared. In this case, please click to purge the cache. If that doesn't solve the problem, please post a note in the Talk page of the template and an editor will review the changes.