Template:Tangut
{{{1}}}
This template uses TemplateStyles: |
Usage
change{{Tangut|<text>}} {{Tangut|<text>|<tooltip>}} {{Tangut|<text>|<tooltip>|<size=20>}}
This applies a Unicode Tangut font to the specified Tangut text if such a font is available on the user's system. The fonts applied are, in the following order:
- Tangut N4694 — Tangut font based on Jing Yongshi (景永时) and Jia Changye (贾常业)'s work (available from [1])
- Tangut Yinchuan — Tangut font originally designed by Jing Yongshi (景永时), but extended and modified by Andrew West and Michael Everson to cover all Unicode Tangut ideographs and components (available from [2])
- New Tangut Std or New Tangut — Tangut font based on characters found in Tangut dictionaries as Sea of Characters (文海), Homophones (同音), etc. (available from [3])
- Tangut TWU — Academia Sinica's remapped Tangut font (available from [4])
- TH-Tshyn-P1 — freeware font of the 字海(叶典) online Chinese character dictionary (available from [5])
- TH-Feon-B — another freeware font of the 字海(叶典) online Chinese character dictionary (available from [6])
- BabelStone Tangut Wenhai — freeware font that covers 3,061 of the 6,125 Tangut ideographs (available from [7]);
Parameters
changeThe first parameter is the Unicode Tangut text to be displayed.
The second parameter is the transliteration or translation of the Tangut text, which will be displayed as the mouseover tooltip. This is optional, and if omitted the tooltip will be "Tangut text".
The third parameter is the font size to be used in px units. This is optional, and if omitted the default font size will be used.
Examples
change{{Tangut|𗴂𗹭𘜶𗴲𗂧}}
provides 𗴂𗹭𘜶𗴲𗂧{{Tangut|𗴂𗹭𘜶𗴲𗂧|Great Xia State of the White and the Lofty}}
provides 𗴂𗹭𘜶𗴲𗂧{{Tangut|𗴂𗹭𘜶𗴲𗂧|Great Xia State of the White and the Lofty|size=24}}
provides 𗴂𗹭𘜶𗴲𗂧