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= '' | |alpha= ''[https://unifoundry.com/unifont/index.html Unifont CSUR]'' font | ||
|#default= ''[ | |#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]] | 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 | **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 | *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== | ==Examples== | ||
#{{Wanya| | #{{Wanya| }} (default setting) | ||
#{{Wanya|Γus | #{{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
- (default setting)
- Γus ompfoy gəδə Mau ꝛa oy (romanization only)