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: | |#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]] | 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| }} (default setting) | #{{Wanya| }} (default setting) | ||
#{{Wanya|Γus | #{{Wanya|Γus ompfoy gəδə Mau ꝛa oy}} (romanization only) | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 12: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
- (default setting)
- Γus ompfoy gəδə Mau ꝛa oy (romanization only)