Template:MongolUnicode/doc: Difference between revisions

Content deleted Content added
correct glyph
Add explanation of how to break vertical runs of Mongolian text into manageable chunks
Line 7:
*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)
 
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, and 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 as this causes problems with browsers which do not support vertical layout.
 
=== Examples ===
Line 12 ⟶ 14:
*<code><nowiki>{{MongolUnicode|ᠮᠣᠩᠭᠣᠯ ᠪᠢᠴᠢᠭ᠌|v}}</nowiki></code> produces: {{MongolUnicode|ᠮᠣᠩᠭᠣᠯ ᠪᠢᠴᠢᠭ᠌|v}}
*<code><nowiki>{{MongolUnicode|ᠮᠣᠩᠭᠣᠯ ᠪᠢᠴᠢᠭ᠌|h}}</nowiki></code> produces: {{MongolUnicode|ᠮᠣᠩᠭᠣᠯ ᠪᠢᠴᠢᠭ᠌|h}}
*<code><nowiki>{{MongolUnicode|ᠮᠣᠩᠭᠣᠯ<br/>}} {{MongolUnicode|ᠪᠢᠴᠢᠭ᠌|v}}</nowiki></code> produces: {{MongolUnicode|ᠮᠣᠩᠭᠣᠯ<br/>}} {{MongolUnicode|ᠪᠢᠴᠢᠭ᠌|v}}
 
=== Issues ===