Template:Infobox Buddhist term/doc

From IxWiki
Revision as of 18:20, 10 August 2020 by Heku (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Purpose

The purpose of this template, Buddhist term, is to display a set of term-specific translations from languages historically associated with Buddhist texts. For this template, these languages are Sanskrit, Pali, Sinhala, Burmese, Chinese, Japanese, Khmer, Korean, Lao, Mon, Shan, Thai, Tibetan, Vietnamese, and Indonesian. Since this template is for the English-language Wikipedia, an English-language translation (if provided) is displayed at the top of the table.

Usage

Blank template

{{ Infobox Buddhist term
| title = 
| en = 
| pi = 
| sa =  
| my  = 
| my-Latn =
| zh = 
| zh-Latn =  
| ja = 
| ja-Latn = 
| km = 
| km-Latn = 
| ko = 
| ko-Latn = 
| lo =
| mnw = 
| mnw-Latn = 
| shn = 
| shn-Latn = 
| si = 
| si-Latn = 
| ta = 
| th = 
| bo = 
| bo-Latn = 
| vi = 
| id =
}}

Parameters

Parameters are:

  • title (optional template title) [if not specified, then the "pi" or "sa" parameter is used for the title]
  • en (English translation)
  • sa (Sanskrit in IAST) [if "title" and "pi" are both not provided, then this value is the defaulted title]
  • pi (Pali in IAST) [if "title" is not provided, then this value is the defaulted title]
  • si (Sinhalese)
  • si-Latn (Sinhalese transliteration)
  • bn (Bengali)
  • my (Burmese)
  • my-Latn (Burmese IPA)
  • mnw (Mon)
  • mnw-Latn (Mon IPA)
  • shn (Shan)
  • shn-Latn (Shan IPA)
  • zh (Chinese)
  • zh-Latn (pinyin)
  • ja (Japanese)
  • ja-Latn (Japanese transliteration)
  • km (Khmer)
  • ko (Korean)
  • ko-Latn (Korean transliteration: RR)
  • lo (Lao)
  • vi (Vietnamese)
  • bo (Tibetan)
  • bo-Latn (Tibetan transliteration)
  • th (Thai)
  • ta (Tamil)
  • id (Indonesian)
  • fontsize (default=85%)
  • collapsible (default=NULL and thus disabled; set TRUE to enable)

Required parameter: Either "title" or "sa" (Sanskrit) or "pi" (Pali) is a required parameter.

Display order: Above is the actual order in which provided translations are displayed regardless of the order in which the parameters are passed to this template.

Multiword values: Language-specific parameters can be passed multiword strings as demonstrated in the example below for the parameters en (English) and bo (Tibetan).

Examples

Translations of
Four Noble Truths
Sanskritcatvāri āryasatyāni
Palicattāri ariyasaccāni
Bengali[চতুরার্য সত্য
chôturarjô sôtyô] Error: {{Lang}}: text has italic markup (help)
Burmeseသစ္စာလေးပါး
(IPA: [θiʔsà lé bá])
Chinese四聖諦(T) / 四圣谛(S)
(Pinyinsìshèngdì)
Khmerអរិយសច្ចៈទាំង៤
Korean사성제
(RR: saseongje)
IndonesianEmpat Kebenaran Mulia
Glossary of Buddhism

Example 1

The following text on the left is displayed as the template on the right.

{{Buddhist term
|title=Four Noble Truths
|pi=cattāri ariyasaccāni
|sa=catvāri āryasatyāni
|bn=চতুরার্য সত্য (chôturarjô sôtyô)
|zh=四聖諦(T) / [[:zh:四圣谛|四圣谛]](S)
|zh-Latn=sìshèngdì
|ko=[[:ko:사성제|사성제]]
|ko-Latn=sa-seong-je
|my=သစ္စာလေးပါး
|my-Latn=θiʔsà lé bá
|id=Empat Kebenaran Mulia
}}

In this example, there is no "en" (English) parameter specified since the title is in English.

Translations of
abhidhamma
Englishhigher teaching,
meta-teaching
Sanskritabhidharmā
Paliabhidhamma
Bengali[অভিধর্ম্ম
ôbhidhôrmmô] Error: {{Lang}}: text has italic markup (help)
Burmeseအဘိဓမ္မာ
(IPA: [əbḭdàɴma̰])
Chinese阿毗達磨
(Pinyināpídámó)
Japanese阿毘達磨
Khmerអភិធម្ម (aphitam)
Korean아비달마
(RR: abidalma)
Sinhalaඅභිධර්ම
(abhidharma)
Tibetanchos mngon pa
Thaiอภิธรรม (apitam)
VietnameseA-tì-đạt-ma
Glossary of Buddhism

Example 2

The following text on the left is displayed as the template on the right.

{{Buddhist term
|pi=abhidhamma
|sa=abhidharmā
|si=අභිධර්ම
|si-Latn=abhidharma
|bn=অভিধর্ম্ম (ôbhidhôrmmô)
|zh=[[:zh:阿毗達磨|阿毗達磨]]
|zh-Latn=āpídámó
|ja=[[:ja:阿毘達磨|阿毘達磨]]
|km=[[:km:អភិធម្ម|អភិធម្ម]] (aphitam)
|ko=[[:ko:아비달마|아비달마]]
|ko-Latn=a-bi-dal-ma
|my=အဘိဓမ္မာ
|my-Latn=əbḭdàɴma̰
|th=[[:th:อภิธรรม|อภิธรรม]] (apitam)
|vi=[[:vi:A-tì-đạt-ma|A-tì-đạt-ma]]
|bo=chos mngon pa
|en=higher teaching,<br />meta-teaching
}}

In this example, no "title" parameter is specified, so the "pi" (Pali) parameter is used for the title. In addition, English is the last parameter passed but is the first value displayed in accordance with the enforced display order mentioned above.

See also