Template:Wanya: Difference between revisions

From FrathWiki
Jump to navigationJump to search
No edit summary
(fixed syntax)
 
(2 intermediate revisions by the same user not shown)
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= ''[https://unifoundry.com/unifont/index.html Unifont CSUR]'' 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= ''[https://unifoundry.com/unifont/index.html Unifont CSUR]'' and ''Geneva'' fonts}} installed.</div>|<span style="font-family: 'Unifont CSUR', 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>

Latest revision as of 00:23, 25 March 2021

This page contains text in the Wanya alphabet and/or romanization. It renders best if you have the Unifont CSUR 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)