Content deleted Content added
mNo edit summary |
m →Non-Font: Use Template:Unichar |
||
(17 intermediate revisions by 9 users not shown) | |||
Line 1:
{{Documentation subpage}}
{{COinS safe|n}}
{{Uses TemplateStyles|Template:MongolUnicode/fonts.css}}
<!-- Categories and interwikis go at the bottom of this page. -->
Line 7 ⟶ 9:
*1st parameter is the Mongolian (Todo, Manchu, Sibe) text to display
*2nd parameter is optional; if it is 'h' then the text is laid out horizontally; if it is any other value (e.g. 'v'), or if it is omitted then the text is laid out vertically (if the browser supports vertical layout)
*<
*<
*In addition, you can override the defaults for <
If you have a long run of vertical Mongolian text (i.e. more than one or two words) embedded in a horizontal English paragraph, it will create a very large gap between lines, so it is best to break long vertical runs of Mongolian text into short word-lengthed chunks. This can be done by wrapping each Mongolian word in a separate MongolUnicode template, and separating each MongolUnicode template by a space character (if you omit the space character the Mongolian text will format correctly, but if a user copies the Mongolian text from the article the individual words will be concatenated into a single word). Do not use <nowiki><br/></nowiki> to break vertical Mongolian runs for unnecessary purpose as this causes problems with browsers which do not support vertical layout.
Line 22 ⟶ 24:
=== Issues ===
For MediaWiki issues regarding this: [[bugzilla:9436]]
==== Non-Font ====
When Daicing font set to be the EUDC,
*
*
*
==== Font issues ====
# Little issues are found in <code>MQT</code>;
# Final k/g ATR- rendering issues are found in all fonts except <code>MQT</code> and <code>MS</code>, but Erdenechimeg said her font was an early draft and does not met current Unicode standards;
# <code>MU</code> does not follow Unicode Standardized Variants (by ''ad hoc'' rendering FVS1~3) in many cases;
# <code>MB</code> 5.00 does not match Unicode Standard, please upgrade it to <code>MB</code> 5.01 (KB929763);
# Under certain situations {{MongolUnicode|valign=middle|ᠶ}} is incorrectly rendered as {{MongolUnicode|valign=middle|ᠢ}}<!--Middle form--> or {{MongolUnicode|valign=middle|ᠵ}}<!--Head form--> in <code>MB</code> 5.01 and <code>MU</code> 2.37;
# {{MongolUnicode|valign=middle|ᡓ}} is incorrectly rendered as {{MongolUnicode|valign=middle|ᠴ}} in <code>MU</code> 2.37;
# <code>MB</code> 5.01 does not render {{MongolUnicode|valign=middle|ᡯᡳ}} correctly (we may use {{MongolUnicode|valign=middle|ᡯᡳ᠌}} instead in <code>MB</code>).
==Template data==
{{Template data header}}
<templatedata>
{
"params": {
"1": {
"label": "Text",
"description": "The Mongolian text to display",
"type": "content",
"required": true
},
"2": {
"label": "Direction",
"description": "Whether to display the text horizontal (default) or vertical",
"type": "string",
"suggestedvalues": [
"h",
"v"
],
"default": "h",
"suggested": true
},
"lang": {
"aliases": [
"3"
],
"label": "Language",
"description": "The language of the text as a ISO 639 language code",
"example": "mn",
"type": "string",
"suggestedvalues": [
"mn",
"mnc",
"sjo",
"khk",
"mvf"
],
"suggested": true
},
"display": {
"deprecated": true
},
"font-weight": {},
"font-size": {},
"line-height": {},
"vertical-align": {
"aliases": [
"valign"
]
},
"style": {
"label": "CSS style",
"description": "Defines extended style of the text area, e.g. height:50px limits the height as 50px, if the length of text is over than 50px, the rest of contents will align at the next column(s).",
"type": "string"
}
},
"paramOrder": [
"1",
"2",
"lang",
"display",
"font-weight",
"font-size",
"line-height",
"vertical-align",
"style"
],
"description": "Intended for use with text written in the Unicode \"Mongolian\" script, to improve display of this text in browsers.",
"format": "inline"
}
</templatedata>
== See also ==
* [[Mongolian script#Unicode]]
* {{tl|ManchuSibeUnicode}}
<includeonly>{{Sandbox other||
[[Category:Mongolian language|Template]]
[[Category:Script–font templates|MScript/MongolUnicode]]<!-- 'name' for sort purposes only -->
}}</includeonly>
|