Template:sa-sc/documentation

Documentation for Template:sa-sc. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

Usage

edit

This template is to be used on Sanskrit entries in scripts other than Devanagari.

Parameters

edit
  • |sc= - the script code. In most cases, it can be detected automatically. It does not work for Eastern Nagari, where a value of Beng for Bengali or as-Beng for Assamese should be entered manually.
  • |term= - the Devanagari script form of the entry. Only needed if the template automatically outputs the wrong Devanagari form.
  • |1= or |t= - a short English translation of the term.
  • |2= or |pos= - part of speech. Since this template is already used below a L3 header (which defines the part of speech), this parameter should only contain details like "name of a place", etc.

Examples

edit
# {{sa-sc|t=Ganges|pos=name of a river|sc=Mymr|term=गङ्गा}}

or

# {{sa-sc|Ganges|name of a river|sc=Mymr|term=गङ्गा}}

renders as:

  1. Burmese script form of गङ्गा (Ganges, name of a river)


At the entry ဂင်္ဂါ (gaṅgā), however, it is sufficient to write:

# {{sa-sc|Ganges|name of a river}}