Template:Bo-textonly
Appearance
{{{1}}}
| This template uses TemplateStyles: |
Usage
This template allows the correct display of Tibetan script (with the proper fonts and suitable text size), and shows the text only. This template can be used when Tibetan script is displayed mid-paragraph, and there is no need to have links to script names and romanizations.
Parameters
General paramters
|lang=- Sets the language for<span>...</span>usinglang="...".{{Bo-textonly|དྲི་མེད་བཤེས་གཉེན་}}produces དྲི་མེད་བཤེས་གཉེན་.{{Bo-textonly|དྲི་མེད་བཤེས་གཉེན་|lang=bo}}produces དྲི་མེད་བཤེས་གཉེན་.
|font-size=- Overrides the font size for<span>...</span>usingstyle="font-size:...;". Default is1.25em.{{Bo-textonly|དྲི་མེད་བཤེས་གཉེན་|font-size=0.5em}}produces དྲི་མེད་བཤེས་གཉེན་.
|tooltip=- Sets the tooltip text for<span>...</span>usingtitle="...". Default isTibetan-script text. If|lang=bo, it is set toStandard Tibetan-language textby default. Using|tooltip=will override this even if|lang=bois used.{{Bo-textonly|དྲི་མེད་བཤེས་གཉེན་|tooltip=Vimalamitra}}produces དྲི་མེད་བཤེས་གཉེན་.{{Bo-textonly|དྲི་མེད་བཤེས་གཉེན་|lang=bo|tooltip=Vimalmitra}}produces དྲི་མེད་བཤེས་གཉེན་.
Font parameters
By default this template uses fonts suitable for the Uchen-style Tibetan script. This can be overriden using |ume= and |phagspa=.
|ume=- Set to|ume=yto use Umê script fonts{{Bo-textonly|དྲི་མེད་བཤེས་གཉེན་|ume=y}}produces དྲི་མེད་བཤེས་གཉེན་.
|phagspa=- Set to|phagspa=yto use Tibetan 'Phagspa script fonts{{Bo-textonly|དྲི་མེད་བཤེས་གཉེན་|phagspa=y}}produces དྲི་མེད་བཤེས་གཉེན་.
Note, a suitable font must be installed for Umê and 'Phagspa to display as intended.
See also
- {{Bo}} – template with labels, eg. Tibetan: དྲི་མེད་བཤེས་གཉེན་ (links to script), Tibetan: དྲི་མེད་བཤེས་གཉེན་ (links to language).
- {{Script/Tibetan}} – template used by {{Script}} for formatting Tibetan script text; lacks parameters and has some style differences.