Templates for using web fonts

From FrathWiki
Revision as of 04:44, 13 March 2014 by PeteBleackley (talk | contribs) (Templates for webfonts)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

To make a font available on a page, put Template:webfont at the top of the page. This is invoked as

{{webfont|name=MyFont|url=http://url.for.my.font}}

This will create the necessary CSS for using the font. I recommend uploading the font to this wiki and using that link as the url.

To write something in the font, use Template:conscript. This is invoked as

{{conscript|font=MyFont|text=Whatever you want to write|element=htmltag}}

element is optional and defaults to span.

--PeteBleackley (talk) 05:44, 13 March 2014 (PDT)