Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a24d6ce31811ecd4

Jump to content

Template:Bo-textonly/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

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

[edit]

General paramters

[edit]
  • |lang= - Sets the language for <span>...</span> using lang="...".
    • {{Bo-textonly|དྲི་མེད་བཤེས་གཉེན་}} produces དྲི་མེད་བཤེས་གཉེན་.
    • {{Bo-textonly|དྲི་མེད་བཤེས་གཉེན་|lang=bo}} produces དྲི་མེད་བཤེས་གཉེན་.
  • |font-size= - Overrides the font size for <span>...</span> using style="font-size:...;". Default is 1.25em.
    • {{Bo-textonly|དྲི་མེད་བཤེས་གཉེན་|font-size=0.5em}} produces དྲི་མེད་བཤེས་གཉེན་.
  • |tooltip= - Sets the tooltip text for <span>...</span> using title="...". Default is Tibetan-script text. If |lang=bo, it is set to Standard Tibetan-language text by default. Using |tooltip= will override this even if |lang=bo is used.
    • {{Bo-textonly|དྲི་མེད་བཤེས་གཉེན་|tooltip=Vimalamitra}} produces དྲི་མེད་བཤེས་གཉེན་.
    • {{Bo-textonly|དྲི་མེད་བཤེས་གཉེན་|lang=bo|tooltip=Vimalmitra}} produces དྲི་མེད་བཤེས་གཉེན་.

Font parameters

[edit]

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=y to use Umê script fonts
    • {{Bo-textonly|དྲི་མེད་བཤེས་གཉེན་|ume=y}} produces དྲི་མེད་བཤེས་གཉེན་.
  • |phagspa= - Set to |phagspa=y to 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

[edit]
  • {{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.