The wiki has recently been updated. Please contact me by talk page or email if you encounter any issues.

Template:Wanya: Difference between revisions

From FrathWiki
Jump to navigationJump to search
No edit summary
(added links, updated description)
Line 1: Line 1:
{{ #ifeq:{{{1|?}}}|?|<div style="float: right; border: 1px solid #aaa; background-color: #f9f9f9; padding: 5px; margin: 5px; max-width: 150px;">This page contains text in the [[Wanya]] {{ #switch:{{{2|any}}}
{{ #ifeq:{{{1|?}}}|?|<div style="float: right; border: 1px solid #aaa; background-color: #f9f9f9; padding: 5px; margin: 5px; max-width: 150px;">This page contains text in the [[Wanya]] {{ #switch:{{{2|any}}}
|rom= romanization
|rom= [[Wanya/Orthography#Unicode romanization|romanization]]
|alpha= alphabet
|alpha= [[Wanya/Orthography#Wanya alphabet|alphabet]]
|both= alphabet and romanization
|both= [[Wanya/Orthography#Wanya alphabet|alphabet]] and [[Wanya/Orthography#Unicode romanization|romanization]]
|#default= alphabet and/or romanization}}. It renders best if you have the {{ #switch:{{{2|any}}}
|#default= [[Wanya/Orthography#Wanya alphabet|alphabet]] and/or [[Wanya/Orthography#Unicode romanization|romanization]]}}. It renders best if you have the {{ #switch:{{{2|any}}}
|rom= ''Geneva'' font
|rom= ''Geneva'' font
|alpha= ''Wanya'' font
|alpha= ''[[Wanya/Font|Wanya]]'' font
|#default= ''[[Wanya/Font|Wanya]]'' and ''Geneva'' fonts}} installed.</div>|<span style="font-family: {{ #ifeq:{{{2|}}}|rom||Wanya,}} Geneva, sans-serif">{{{1|[[Wanya]]}}}</span>}}<noinclude>
|#default= ''[[Wanya/Font|Wanya]]'' and ''Geneva'' fonts}} installed.</div>|<span style="font-family: 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/Orthography|Wanya text]].


==Usage==
==Usage==
Line 15: Line 15:


*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.
*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.
**You can then set the second parameter to any of '''rom''', '''alpha''', or '''both''' 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 another text as the first parameter, you get that text in the Wanya or Geneva font. (The Geneva font includes all characters that appear in Wanya's Unicode romanization.)
**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==
==Examples==


#{{Wanya|     }} (default setting)
#{{Wanya|     }} (default setting)
#{{Wanya|Γus ompf gəδə Mau ꝛuko oy|rom}} (romanization only)
#{{Wanya|Γus ompfoy gəδə Mau ꝛa oy}} (romanization only)


[[Category:Templates]]
[[Category:Templates]]


</noinclude>
</noinclude>

Revision as of 13:27, 16 June 2012

This page contains text in the Wanya alphabet and/or romanization. It renders best if you have the Wanya 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, or both to customize the displayed text.
  • If you use another text as the first parameter, you get that text in the Wanya or Geneva font. (The Geneva font includes all characters that appear in Wanya's Unicode romanization.)

Examples

  1.       (default setting)
  2. Γus ompfoy gəδə Mau ꝛa oy (romanization only)