Jump to content

සැකිල්ල:pi-alt

Wiktionary වෙතින්

Since Pali language does not have a particular script, it is usually written in the script of native languages, which Buddhism has propagated in those countries. This template is intended to display the alternative spellings of a word under the section "Alternative forms". Do not use elsewhere. The scripts are displayed in the order listed in Module:languages/data/2.

Backend for this template is Module:pi-Latn-translit, managed by function alt() in Module:pi-headword.

Parameters[සංස්කරණය]

Except for |Latn=, all parameters are optional.

|Latn=
This parameter is optional and defaults to the script of the page name if it is in the Latin script, and is otherwise required. For other scripts, if no forms are provided (see |Deva= etc.), the forms in the script are automatically generated from this one.
|Latn2=, ... |Latn8=
Additional forms for the Latin script. There should be no gaps within the sequence of alternative forms supplied.
|hl1=1
Stops the form specified by |Latn= being displayed. This is proved for the generally rare cases where most forms are derived from a hypothetical Latin form that does not occur in the expected sense.
|letter=1
Set to force special language selection rules appropriate to letters; most letters used by Pali are translingual rather than specifically Pali.
|Latnlang=
The language code for the form for |Latn=, whether explict or by default. If |letter=1 is specified, this defaults to 'mul' for Translingual, but otherwise to 'pi' for Pali.
|Latnlang2=, ... |Latnlang8=

If |Latnn= is given, the language for that form is given by |Latnlangn=. Defaults in the same way as |Latnlang=. Gaps are allowed in the sequence of values provided.

Behaviour for the non-Roman scripts is defined by parameters beginning with the script code, one of Brah, Deva, Beng, Sinh, Mymr, Thai, Lana, Laoo, Khmr and Cakm at the time of writing. Only the parameters for Devanagari are given below; the others behave the same.

|Deva=
If this is present, all the Devanagari script forms to display are specified explicitly. Exceptionally, |Deva=- suppresses the display of Devanagari script forms. In the absence of |Deva=, the Devanagari script forms will be generated automatically from |Latn= or the page name.
|Deva2=, ... |Deva8=
This option is only defined if |Deva= is supplied, in which case these forms are also displayed. There should be no gaps within the sequence of alternative forms supplied.
|Devalang=
If |Deva= is supplied, the language code for the form given by that parameter, or else the language code for all Devanagari script forms. If |letter=1 is specified, this defaults to 'mul' for translingual if the script is one of the following:
Brah, Deva, Beng, Sinh, Mymr, Lana, Laoo, Cakm, but not:
Thai, Khmr
but otherwise defaults to 'pi' for Pali. These defaults are defined by the table ltrlang in Module:pi-headword.
|Devalang2=, ... |Devalang8=

If |Devan= is given, the language for that form is given by |Devalangn=. Defaults in the same way as |Deva=. Gaps are allowed in the sequence of values provided.

Error indications[සංස්කරණය]


"https://si.wiktionary.org/w/index.php?title=සැකිල්ල:pi-alt&oldid=29652" වෙතින් සම්ප්‍රවේශනය කෙරිණි