ထႅမ်းပလဵတ်ႉ:Phagspa

လုၵ်ႉတီႈ ဝီႇၶီႇၽီးတီးယႃး ဢၼ်လွတ်ႈလႅဝ်းထၢင်ႇႁၢင်ႈ ၼၼ်ႉမႃး

{{{2}}}

Documentation icon ၽိုၼ်ၵႅမ်မိုဝ်းထႅမ်းပလဵတ်ႉ[တူၺ်း] [မႄးထတ်း] [ပိုၼ်း] [ၸၢင်း]

လၢႆးၸႂ်ႉတိုဝ်း[မႄးထတ်းငဝ်ႈငႃႇ]

{{Phagspa|<h/v>|<text>}}
{{Phagspa|<h/v>|<text>|<tooltip>}}
{{Phagspa|<h/v>|<text>|<tooltip>|<size=12>}}

This applies a Unicode 'Phags-pa font to the given 'Phags-pa text if such font is available on the user's system. The fonts applied are, in the following order:

  • BabelStone Phags-pa Book — freeware font that has joining and shaping behaviour;
  • Microsoft PhagsPa — font that is shipped with Windows 7 and later and has correct joining and shaping behaviour in Windows 7 and later;
  • Noto Sans Phags Pa — freeware font that has joining and shaping behaviour.

If the first parameter is h the text will be laid out horizontally, but if it is v the text will try to be laid out from top to bottom in vertical lines running left to right. To break a long vertical line of 'Phags-pa text into left-to-right segments so it displays better within ordinary horizontal text, wrap each syllable in a separate Phagspa template, and separate each Phagspa template with a space character; additionally, you can also try to use CSS property to limit the height, see below.

ပႃႇရႃႇမီႇတႃႇ[မႄးထတ်းငဝ်ႈငႃႇ]

The first parameter should be h or v. If h the text will be laid out horizontally, but if v the text may be displayed in vertical top-to-bottom layout (results vary depending upon the user's browser, but it should work with Internet Explorer 8 in Windows Vista or later, Chrome version 17 or later, and in Firefox 41 or later. Firefox version 38.0–40.0 and Firefox 38 ESR based browsers can enabling the vertical layout through open the about:config page, and set layout.css.vertical-text.enabled as true value.).

The second parameter is the Unicode 'Phags-pa text to be displayed.

The third parameter is the transliteration or translation of the 'Phags-pa text, which will be displayed as the mouseover tooltip. This is optional, and if omitted the tooltip will be "'Phags-pa text".

The fourth parameter is the font size to be used in px units. This is optional, and if omitted the font size will be 12px.

The style parameter is the extended style to be used in the text area. This is optional.

တူဝ်ယၢင်ႇ[မႄးထတ်းငဝ်ႈငႃႇ]

  1. {{Phagspa|h|ꡏꡡꡃ ꡣꡡꡙ ꡐꡜꡞ}} provides ꡏꡡꡃ ꡣꡡꡙ ꡐꡜꡞ
  2. {{Phagspa|h|ꡏꡡꡃ ꡣꡡꡙ ꡐꡜꡞ|'mongxol tshi}} provides ꡏꡡꡃ ꡣꡡꡙ ꡐꡜꡞ
  3. {{Phagspa|h|ꡏꡡꡃ ꡣꡡꡙ ꡐꡜꡞ|'mongxol tshi|size=20}} provides ꡏꡡꡃ ꡣꡡꡙ ꡐꡜꡞ
  4. {{Phagspa|v|ꡏꡡꡃ ꡣꡡꡙ ꡐꡜꡞ}} provides ꡏꡡꡃ ꡣꡡꡙ ꡐꡜꡞ
  5. {{Phagspa|v|ꡏꡡꡃ ꡣꡡꡙ ꡐꡜꡞ|'mongxol tshi}} provides ꡏꡡꡃ ꡣꡡꡙ ꡐꡜꡞ
  6. {{Phagspa|v|ꡏꡡꡃ ꡣꡡꡙ ꡐꡜꡞ|'mongxol tshi|size=20}} provides ꡏꡡꡃ ꡣꡡꡙ ꡐꡜꡞ
  7. {{Phagspa|v|ꡏꡡꡃ}} {{Phagspa|v|ꡣꡡꡙ}} {{Phagspa|v|ꡐꡜꡞ}} provides ꡏꡡꡃ ꡣꡡꡙ ꡐꡜꡞ
  8. {{Phagspa|v|ꡏꡡꡃ ꡣꡡꡙ ꡐꡜꡞ|style=height:40px;}} provides ꡏꡡꡃ ꡣꡡꡙ ꡐꡜꡞ

တူၺ်းပႃး[မႄးထတ်းငဝ်ႈငႃႇ]