Template:pi-hwtr/documentation

This template is intended for use only within Pali headword templates, though it might be suitable for use with other multi-script languages. It converts the transliteration as specified in the invocation of a headword template, or by its absence, to a transliteration specification as understood by the template head. It helps implement the requirement that Pali headword lines for non-Roman spellings should display a transliteration if and only if it is different from the Roman script equivalent given by the invocation of pi-sc in the following definition line. In such cases, it should normally suffice to enter the transliteration as a plus sign (+).

To this end, the template's sole, positional parameter is converted as follows:

This scheme was discussed at Selective_Forcing_and_Disabling_of_Transliteration.