Template:Infobox Hindu term/doc

From IxWiki
Revision as of 10:25, 28 June 2020 by >Msasag (→‎Purpose)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Purpose

The purpose of this template, Hindu term, is to display a set of term-specific translations from languages historically associated with Hindu texts. For this template, these languages are Sanskrit, Assamese, Tamil, Balinese, Bengali, Gujarati, Hindi, Javanese, Kannada, Malayalam, Marathi, Odia, Nepali, Punjabi, and Telugu. 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 Hindu term
| title   = 
| en      = 
| sa      = 
| sa-Latn = 
| as      = 
| as-Latn = 
| ta      = 
| ta-Latn = 
| ban     = 
| ban-Latn=
| bn      = 
| bn-Latn = 
| gu      = 
| gu-Latn = 
| hi      = 
| hi-Latn = 
| jv      = 
| jv-Latn = 
| kn      = 
| kn-Latn = 
| ml      = 
| ml-Latn = 
| mr      = 
| mr-Latn =
| ne      = 
| ne-Latn = 
| or      = 
| or-Latn = 
| pa      = 
| pa-Latn = 
| te      = 
| te-Latn =
}}

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]
  • as (Assamese)
  • ta (Tamil)
  • ban (Balinese)
  • bn (Bengali)
  • gu (Gujarati)
  • hi (Hindi)
  • jv (Javanese)
  • kn (Kannada)
  • ml (Malayalam)
  • mr (Marathi)
  • ne (Nepali)
  • or (Odia)
  • pa (Punjabi)
  • te (Telugu)
  • fontsize (default=85%)
  • collapsible (default=NULL and thus disabled; set TRUE to enable)

Required parameter: Either "title" or "sa" (Sanskrit) 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 ta (Tamil).

Examples

Translations of
Karma
EnglishAction, work, deed
Sanskritकर्म
(IAST: karma)
Assameseকৰ্ম
(kormo)
Bengaliকর্ম
(kôrmô)
Hindiकर्म
(karma)
Javaneseꦏꦂꦩ
(karma)
Kannadaಕರ್ಮ
(karma)
Nepaliकर्म
(karma)
Punjabiਕਰਮ
(karama)
Tamilகர்மா
(karmā)
Teluguకర్మ
(karma)
Glossary of Hinduism

Example 1

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

{{Hindu term
| title   = Karma
| en      = Action, work, deed
| sa      = कर्म 
| sa-Latn = karma
| as      = কৰ্ম 
| as-Latn = kormo
| ta      = கர்மா 
| ta-Latn = karmā
| bn      = কর্ম
| bn-Latn = kôrmô
| hi      = कर्म
| hi-Latn = karma
| jv      = ꦏꦂꦩ
| jv-Latn = karma
| kn      = ಕರ್ಮ 
| kn-Latn = karma
| ne      = कर्म 
| ne-Latn = karma
| pa      = ਕਰਮ 
| pa-Latn = karama
| te      = కర్మ 
| te-Latn = karma
}}

In this example, no "title" parameter is specified, so the "sa" (Sanskrit) 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