Template:Bo/doc
| This is a documentation subpage for Template:Bo. It may contain usage information, categories and other content that is not part of the original template page. |
This template relies on {{bo-textonly}}; see that template's documentation for further information.
Parameters
[edit]General parameters
[edit]Values:
- t for the text in Tibetan characters
- w for the transliteration of the Tibetan text according to Wylie transliteration
- s for the phonetic romanization of the Tibetan text according to the Tibetan and Himalayan Library (THL) Simplified Phonetic Transcription
- z for the romanization in the PRC's Tibetan pinyin (Zangyu/Zangwen pinyin; ZYPY, ZWPY)
- a for the transliteration of the Tibetan text according to the American Library Association – Library of Congress (ALA-LC) romanization
- l for the pronunciation in the Standard Tibetan Lhasa dialect, given in the International Phonetic Alphabet (IPA)
Example:
'''Vimalamitra''' ({{bo|t=དྲི་མེད་བཤེས་གཉེན་|w=dri med bshes gnyen|s=Drimé Shényen|z=Chimê Xê'nyên|l=ʈʂʰìmeʔ ɕèɲẽ}})
yields:
Vimalamitra (Tibetan: དྲི་མེད་བཤེས་གཉེན་, Wylie: dri med bshes gnyen, THL: Drimé Shényen, ZWPY: Chimê Xê'nyên, Lhasa dialect: [ʈʂʰìmeʔ ɕèɲẽ])
Transliterations can also be listed separately.
Example:
'''Vimalamitra''' ({{bo|s=Drimé Shényen|z=Chimê Xê'nyên|l=ʈʂʰìmeʔ ɕèɲẽ}})
yields:
Vimalamitra (THL: Drimé Shényen, ZWPY: Chimê Xê'nyên, Lhasa dialect: [ʈʂʰìmeʔ ɕèɲẽ])
Script parameter
[edit]By default, the [[Tibetan]] link is directed to Tibetan script, but using "Tibetan" as link text. If the link text should be "Tibetan script" including the word "script", set script to "yes" or "1".
Example:
'''Vimalamitra''' ({{bo|t=དྲི་མེད་བཤེས་གཉེན་|w=dri med bshes gnyen|s=Drimé Shényen|z=Chimê Xê'nyên|l=ʈʂʰìmeʔ ɕèɲẽ|script=yes}})
yields:
Vimalamitra (Tibetan script: དྲི་མེད་བཤེས་གཉེན་, Wylie: dri med bshes gnyen, THL: Drimé Shényen, ZWPY: Chimê Xê'nyên, Lhasa dialect: [ʈʂʰìmeʔ ɕèɲẽ])
Language parameter
[edit]If you would like [[Tibetan]] link to point to Tibetan language instead (which is appropriate if you are including a conventional spelling or anything else other than Tibetan alphabet), set |lang=yes or |lang=bo. This will also automatically amend the format of the template to conform to MOS:NONENGITALIC.
Example:
'''Vimalamitra''' ({{bo|t=དྲི་མེད་བཤེས་གཉེན་|w=dri med bshes gnyen|s=Drimé Shényen|z=Chimê Xê'nyên|l=ʈʂʰìmeʔ ɕèɲẽ|lang=bo}})
yields:
Vimalamitra (Tibetan: དྲི་མེད་བཤེས་གཉེན་, Wylie: dri med bshes gnyen, THL: Drimé Shényen, ZWPY: Chimê Xê'nyên, Lhasa dialect: [ʈʂʰìmeʔ ɕèɲẽ])
Unlike {{bo-textonly}}, this template presently only supports Standard Tibetan (|lang=bo).
Labels parameter
[edit]Labels are displayed by default. Setting |labels=no will remove the labels. Only one transliteration will be displayed as there are no labels to distinguish multiple transliterations. If multiple are used, the first in the order listed at § General parameters will be used.
Example 1:
'''Vimalamitra''' ({{bo|t=དྲི་མེད་བཤེས་གཉེན་|w=dri med bshes gnyen|s=Drimé Shényen|z=Chimê Xê'nyên|l=ʈʂʰìmeʔ ɕèɲẽ|labels=no}})
yields:
Vimalamitra (དྲི་མེད་བཤེས་གཉེན་ dri med bshes gnyen, Drimé Shényen, Chimê Xê'nyên, [ʈʂʰìmeʔ ɕèɲẽ])
Example 2:
'''Vimalamitra''' ({{bo|t=དྲི་མེད་བཤེས་གཉེན་|l=ʈʂʰìmeʔ ɕèɲẽ|z=Chimê Xê'nyên|s=Drimé Shényen|lang=bo|labels=no}})
yields:
Vimalamitra (དྲི་མེད་བཤེས་གཉེན་Drimé Shényen, Chimê Xê'nyên, [ʈʂʰìmeʔ ɕèɲẽ])
Translation parameters
[edit]Literal translations can be provided using |lit=. This uses the same parameters as {{literal translation}}.
Example 1:
{{bo|t=དྲི་མེད་བཤེས་གཉེན་|lit=Vimalamitra}}
yields:
Tibetan: དྲི་མེད་བཤེས་གཉེན་, lit. 'Vimalamitra'
Example 2:
{{bo|t=དྲི་མེད་བཤེས་གཉེན་|lit=Vimalamitra|lk=yes}}
yields:
Tibetan: དྲི་མེད་བཤེས་གཉེན་, lit. 'Vimalamitra'
Alternatively, glosses or non-literal translations may be provided using |gloss= or |translation=. This uses the same parameters as {{gloss}}, and by default behaves like the |lit= parameter of {{langx}}.
Example 1:
{{bo|t=དྲི་མེད་བཤེས་གཉེན་|translation=Vimalamitra}}
yields:
Tibetan: དྲི་མེད་བཤེས་གཉེན་, 'Vimalamitra'
Example 2:
{{bo|t=དྲི་མེད་བཤེས་གཉེན་|translation=Vimalamitra|mode=def}}
yields:
Tibetan: དྲི་མེད་བཤེས་གཉེན་(Vimalamitra)
Audio parameter
[edit]When using |l=, pronunciation audio from Wikimedia Commons can also be provided as with {{IPA}}. Use |audio= to provide the name of an audio file.
Example:
{{bo|t=ཨོཾ་མ་ཎི་པདྨེ་ཧཱུྂ|l=ʔõː mɐ̀ɲì pé mɛ̀ hṹ|audio=Om Mani Peme Hung.vorb.oga}}
Tibetan: ཨོཾ་མ་ཎི་པདྨེ་ཧཱུྂ, Lhasa dialect: [ʔõː mɐ̀ɲì pé mɛ̀ hṹ] ⓘ
Note, this audio example is illustrative only and may not accurately represent the Lhasa dialect. Please verify that any audio files provided are accurate before use.
TemplateData
[edit]TemplateData for Bo
TemplateData | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Formatting for Tibetan script and Tibetan-language text
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
See also
[edit]- {{Bo-textonly}} – template without language markers, for mid-paragraph text.
- {{langx}} – can also be used to label Tibetan text but lacks formatting, eg. Standard Tibetan: དྲི་མེད་བཤེས་གཉེན་.