Difference between revisions of "Template:Infobox Buddhist term/doc"

From blackwiki
Jump to navigation Jump to search
(comments; interwikis now handled by wikidata)
imported>AquitaneHungerForce
(→‎Examples: Fixes lang error)
 
(21 intermediate revisions by 8 users not shown)
Line 2: Line 2:
 
<!-- Categories go at the bottom of this page. -->
 
<!-- Categories go at the bottom of this page. -->
 
==Purpose==
 
==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 [[Pali]], [[Sanskrit]], [[Sinhala language|Sinhala]], [[Burmese language| Burmese]], [[Chinese_language|Chinese]], [[Japanese_language|Japanese]], [[Khmer language|Khmer]], [[Korean_language|Korean]], [[Mon language|Mon]], [[Shan language|Shan]], [[Thai language|Thai]], [[Standard Tibetan|Tibetan]] and [[Vietnamese_language|Vietnamese]]. Since this template is for the English-language Wikipedia, an English-language translation (if provided) is displayed at the top of the table.
+
The purpose of this template, '''Infobox 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 language|Sinhala]], [[Burmese language| Burmese]], [[Chinese_language|Chinese]], [[Japanese_language|Japanese]], [[Khmer language|Khmer]], [[Korean_language|Korean]], [[Lao language|Lao]], [[Mon language|Mon]], [[Shan language|Shan]], [[Thai language|Thai]], [[Standard Tibetan|Tibetan]], [[Vietnamese_language|Vietnamese]], and [[Indonesian language|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==
 
==Usage==
 +
===Blank template===
 +
<pre>
 +
{{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 =
 +
}}
 +
</pre>
 +
 +
==Parameters==
 
'''Parameters''' are:
 
'''Parameters''' are:
 
*title (optional template title) [if not specified, then the "pi" or "sa" parameter is used for the title]
 
*title (optional template title) [if not specified, then the "pi" or "sa" parameter is used for the title]
 
*en (English translation)
 
*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 [[International Alphabet of Sanskrit Transliteration|IAST]]) [if "title" is not provided, then this value is the defaulted title]
 
*pi (Pali in [[International Alphabet of Sanskrit Transliteration|IAST]]) [if "title" is not provided, then this value is the defaulted title]
*sa (Sanskrit in IAST) [if "title" and "pi" are both not provided, then this value is the defaulted title]
 
 
*si (Sinhalese)
 
*si (Sinhalese)
 
*si-Latn (Sinhalese transliteration)
 
*si-Latn (Sinhalese transliteration)
Line 26: Line 60:
 
*ko (Korean)
 
*ko (Korean)
 
*ko-Latn ([[Revised Romanization of Korean|Korean transliteration: RR]])
 
*ko-Latn ([[Revised Romanization of Korean|Korean transliteration: RR]])
 +
*lo (Lao)
 
*vi (Vietnamese)
 
*vi (Vietnamese)
 
*bo (Tibetan)
 
*bo (Tibetan)
 
*bo-Latn (Tibetan transliteration)
 
*bo-Latn (Tibetan transliteration)
*km (Khmer)
 
 
*th (Thai)
 
*th (Thai)
 
*ta (Tamil)
 
*ta (Tamil)
 +
*id (Indonesian)
 
*fontsize (default=85%)
 
*fontsize (default=85%)
 
*collapsible (default=NULL and thus disabled; set TRUE to enable)
 
*collapsible (default=NULL and thus disabled; set TRUE to enable)
  
'''Required parameter:''' Either "title" or "pi" (Pali) or "sa" (Sanskrit) is a required parameter.
+
'''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.
 
'''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.
Line 41: Line 76:
 
'''Multiword values:''' Language-specific parameters can be passed multiword strings as demonstrated in the example below for the parameters en (English) and bo (Tibetan).
 
'''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==
  
{{Buddhist term
+
{{Infobox Buddhist term
 
  |title=Four Noble Truths
 
  |title=Four Noble Truths
 
  |pi=cattāri ariyasaccāni
 
  |pi=cattāri ariyasaccāni
 
  |sa=catvāri āryasatyāni
 
  |sa=catvāri āryasatyāni
  |bn={{lang|bn|চতুরার্য সত্য}}<br/>''chôturarjô sôtyô''
+
  |bn={{lang|bn|চতুরার্য সত্য}}<br/>{{lang|bn-Latn|chôturarjô sôtyô}}
 
  |zh=四聖諦(T) / [[:zh:四圣谛|四圣谛]](S)
 
  |zh=四聖諦(T) / [[:zh:四圣谛|四圣谛]](S)
 
  |zh-Latn=sìshèngdì
 
  |zh-Latn=sìshèngdì
Line 54: Line 90:
 
  |my=သစ္စာလေးပါး
 
  |my=သစ္စာလေးပါး
 
  |my-Latn=θiʔsà lé bá
 
  |my-Latn=θiʔsà lé bá
 +
|id=Empat Kebenaran Mulia
 
}}
 
}}
  
Line 60: Line 97:
 
The following text on the left is displayed as the template on the right.
 
The following text on the left is displayed as the template on the right.
  
  <nowiki>{{</nowiki>Buddhist term
+
  <nowiki>{{</nowiki>Infobox Buddhist term
 
  |title=Four Noble Truths
 
  |title=Four Noble Truths
 
  |pi=cattāri ariyasaccāni
 
  |pi=cattāri ariyasaccāni
Line 69: Line 106:
 
  |ko=<nowiki>[[:ko:사성제|사성제]]</nowiki>
 
  |ko=<nowiki>[[:ko:사성제|사성제]]</nowiki>
 
  |ko-Latn=sa-seong-je
 
  |ko-Latn=sa-seong-je
  |my=သစ္စာေလးပါး
+
  |my=သစ္စာလေးပါး
 
  |my-Latn=θiʔsà lé bá
 
  |my-Latn=θiʔsà lé bá
 +
|id=Empat Kebenaran Mulia
 
  <nowiki>}}</nowiki>
 
  <nowiki>}}</nowiki>
  
 
In this example, there is no "en" (English) parameter specified since the title is in English.
 
In this example, there is no "en" (English) parameter specified since the title is in English.
  
{{Buddhist term
+
{{Infobox Buddhist term
 
|pi=abhidhamma
 
|pi=abhidhamma
 
|sa=abhidharmā  
 
|sa=abhidharmā  
 
|si=අභිධර්ම
 
|si=අභිධර්ම
 
|si-Latn=abhidharma
 
|si-Latn=abhidharma
|bn={{lang|bn|অভিধর্ম্ম}} <br/> ''ôbhidhôrmmô''
+
|bn={{lang|bn|অভিধর্ম্ম}} <br/> {{lang|bn-Latn|ôbhidhôrmmô}}
 
|zh=[[:zh:阿毗達磨|阿毗達磨]]
 
|zh=[[:zh:阿毗達磨|阿毗達磨]]
 
|zh-Latn=āpídámó
 
|zh-Latn=āpídámó
Line 99: Line 137:
 
The following text on the left is displayed as the template on the right.
 
The following text on the left is displayed as the template on the right.
  
  <nowiki>{{</nowiki>Buddhist term
+
  <nowiki>{{</nowiki>Infobox Buddhist term
 
  |pi=abhidhamma
 
  |pi=abhidhamma
 
  |sa=abhidharmā
 
  |sa=abhidharmā
Line 125: Line 163:
 
*{{tl|Buddhism}}
 
*{{tl|Buddhism}}
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
[[Category:Buddhism infobox templates|Term]]
 
[[Category:Buddhism infobox templates|Term]]
 
[[Category:Language infobox templates|Term, Buddhist]]
 
[[Category:Language infobox templates|Term, Buddhist]]
 
[[Category:Exclude in print]]
 
[[Category:Exclude in print]]
</includeonly>
+
}}</includeonly>

Latest revision as of 10:19, 18 December 2020

Purpose

The purpose of this template, Infobox 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ô
BurmeseTemplate:My
(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.

{{Infobox 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
Template:Transl
Englishhigher teaching,
meta-teaching
Sanskritabhidharmā
Paliabhidhamma
Bengaliঅভিধর্ম্ম
ôbhidhôrmmô
BurmeseTemplate:My
(IPA: [əbḭdàɴma̰])
Chinese阿毗達磨
(Pinyināpídámó)
Japanese阿毘達磨
Khmerអភិធម្ម (aphitam)
Korean아비달마
(RR: abidalma)
Sinhalaඅභිධර්ම
(Template:Transl)
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.

{{Infobox 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