Difference between revisions of "Template:Infobox Buddhist term/doc"
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
imported>Gonnym (template name) |
||
| 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 [[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. | + | 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=== | ===Blank template=== | ||
<pre> | <pre> | ||
| − | {{ Infobox Buddhist term | + | {{Infobox Buddhist term |
| title = | | title = | ||
| en = | | en = | ||
| Line 78: | Line 78: | ||
==Examples== | ==Examples== | ||
| − | {{Buddhist term | + | {{Infobox Buddhist term |
|title=Four Noble Truths | |title=Four Noble Truths | ||
|pi=cattāri ariyasaccāni | |pi=cattāri ariyasaccāni | ||
| Line 97: | 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 113: | Line 113: | ||
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ā | ||
| Line 137: | 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ā | ||
Revision as of 19:02, 17 November 2020
| File:Edit-copy green.svg | This is a documentation subpage for Template:Infobox Buddhist term. It contains usage information, categories and other content that is not part of the original template page. |
Contents
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 | |
|---|---|
| Sanskrit | catvāri āryasatyāni |
| Pali | cattāri ariyasaccāni |
| Bengali | [চতুরার্য সত্য chôturarjô sôtyô] error: {{lang}}: text has italic markup (help) |
| Burmese | Template:My (IPA: [θiʔsà lé bá]) |
| Chinese | 四聖諦(T) / 四圣谛(S) (Pinyin: sìshèngdì) |
| Khmer | អរិយសច្ចៈទាំង៤ |
| Korean | 사성제 (RR: saseongje) |
| Indonesian | Empat 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 | |
|---|---|
| English | higher teaching, meta-teaching |
| Sanskrit | abhidharmā |
| Pali | abhidhamma |
| Bengali | [অভিধর্ম্ম ôbhidhôrmmô] error: {{lang}}: text has italic markup (help) |
| Burmese | Template:My (IPA: [əbḭdàɴma̰]) |
| Chinese | 阿毗達磨 (Pinyin: āpídámó) |
| Japanese | 阿毘達磨 |
| Khmer | អភិធម្ម (aphitam) |
| Korean | 아비달마 (RR: abidalma) |
| Sinhala | අභිධර්ම (Template:Transl) |
| Tibetan | chos mngon pa |
| Thai | อภิธรรม (apitam) |
| Vietnamese | A-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
- {{Infobox Chinese}}
- {{Buddhism}}