Template:Wanya: Difference between revisions
From FrathWiki
Jump to navigationJump to search
m (corrected syntax error) |
No edit summary |
||
Line 6: | Line 6: | ||
|rom= ''Geneva'' font | |rom= ''Geneva'' font | ||
|alpha= ''Wanya'' font | |alpha= ''Wanya'' font | ||
|#default= ''Wanya'' and ''Geneva'' fonts}} installed.</div>|<span style="font-family: {{ #ifeq:{{{2|}}}|rom||Wanya,}} Geneva, sans-serif">{{{1|[[Wanya]]}}}</span>}}<noinclude> | |#default= ''[[File:Wanya.ttf|Wanya]]'' and ''Geneva'' fonts}} installed.</div>|<span style="font-family: {{ #ifeq:{{{2|}}}|rom||Wanya,}} Geneva, sans-serif">{{{1|[[Wanya]]}}}</span>}}<noinclude> | ||
This template can be used in pages that display [[Wanya]] text. | This template can be used in pages that display [[Wanya]] text. | ||
Line 21: | Line 21: | ||
==Examples== | ==Examples== | ||
#{{Wanya| | #{{Wanya| }} (default setting) | ||
#{{Wanya|Γus ompf gəδə Mau ꝛuko oy|rom}} (romanization only) | #{{Wanya|Γus ompf gəδə Mau ꝛuko oy|rom}} (romanization only) | ||
Revision as of 21:33, 27 March 2012
This page contains text in the Wanya alphabet and/or romanization. It renders best if you have the File:Wanya.ttf and Geneva fonts installed.
This template can be used in pages that display Wanya text.
Usage
This template serves two purposes:
- If you use it with a question mark as the first parameter (or without any parameters), you get a box like the one on the right.
- You can then set the second parameter to any of rom, alpha, both or any to customize the displayed text.
- If you use another text as the first parameter, you get that text in the Wanya alphabet, or if the viewer doesn't have the Wanya font, in Geneva. (see 1st example)
- If you use rom as the second parameter (see 2nd example), you always get Geneva. Now you might be wondering why you need a template for this. The answer is simple: the Geneva font includes all characters that appear in Wanya's Unicode romanization.
Examples
- (default setting)
- Γus ompf gəδə Mau ꝛuko oy (romanization only)